Applies To:
  • CitectSCADA 5.xx

Summary:
I have assigned priorities to my alarm categories, but alarms do not display in order of priority on the alarm page.

What do I have to do?

 

Solution:
To display alarms on an alarm page by priority, use the Cicode function AlarmSetInfo(). This can be called as a page entry event, in the page properties.

For Example, use the following Cicode to display all alarms on the page in order of their priority ( 0 being first and 255 last )

AlarmSetInfo(-1,8,1);

by default, alarms are of category 0 ( zero ) which is the highest priority. Also note the parameter :

[Alarm]LastAlarmDisplayMode

controls whether alarms are displayed by category or priority, only for the function DisplayLastAlarm(). The alarm template in the include project uses AlarmDsp() and so this parameter does not apply.

 

Keywords:
 

Attachments