Display Status of Single Alarm

You can display the status of a single alarm on a screen. Filters can be set to show active/inactive, cleared/uncleard, or acknowledged/unacknowledged alarms.


Tags have multiple properties related to the current state of configured alarms on the tag. It's possible to bind a property on a component to one of these tag properties. This way components can respond to the state of an alarm on a tag

Example

1) In the Designer, create a new Text Field component on an empty window

2) Create a tag named 'Alarm' with a datatype of Int4, and configure with an alarm to become active on a value of 1

3) Once the tag has been created, click on the '+' icon next to the tag in the tag browser

images/download/attachments/1704250/DisplayStatusofSingleAlarm1.PNG

This will expand the tag and show all of the tag properties, including the AlertActive property

4) With the Text Field component selected, drag and drop the AlertActive property fromt the tag to the Visible property on the Text Field component. This will create a binding directly to that tag property.

5) You'll find that the component will appear when an alarm is active, and become hidden once all alarms on the tag are cleared.