Using the Running Total Alarm Counters

iFIX provides a way for you to detect each time a new alarm is generated. This information is helpful during a counter transition where one alarm is deleted and another is generated at the same time. When this happens, the alarm count stays the same, making it difficult to detect that a new alarm was generated.

Usually, alarm counters increment when an alarm is generated and decrement when the alarm is acknowledged and returned to normal. The running total counter, however, starts at zero when iFIX starts or when you load a database, and increments each time an alarm is generated for that area or node, or when a new alarm occurs that increments the unacknowledged counters.

The following table lists the area and node running total alarm counters.

Area and Node Running Total Alarm Counters 

To display...

Use these alarm counters...

a running total of alarms in area "area."

"area".A_AREA_RUNNINGTOT or

"area".F_AREA_RUNNINGTOT

a running total of alarms for node "node."

ALARMCOUNTERS.A_RUNNINGTOT or

ALARMCOUNTERS.F_RUNNINGTOT

Example

This example shows how to use the alarm counters in the Area and Node Running Total Alarm Counters table to display a running total of alarms for a node or area.

To display a running total of alarms for...

Use this syntax ...

area "Line1"

Line1.A_AREA_RUNNINGTOT

node "B"

B.ALARMCOUNTERS.A_RUNNINGTOT

See Also