Applies To:
  • CitectSCADA 5.5x, 6.xx
  • CitectHMI 5.5x, 6.xx

Summary:
I would like to use the CSV_Alarm.ci for my redundant pair of Alarm Servers.  How can I achieve this?
 

Solution:
The miSoundPriority variable within the CSV_Alarm.ci is used to determine which alarm sound is to be played by setting the priority of the sound. The default is -1 if no sound is to be played.
Adding an additional function to set this value can be done to achieve redundancy. An example code would be:

FUNCTION
SetSoundPriority(
INT iPriority)

miSoundPriority = iPriority;
END

//You would THEN need TO set the following in the “Alarm Categories” field in Project Editor FOR your alarm defined with priority 1:

ON Action: SetSoundPriority(1);
OFF Action: SetSoundPriority(-
1);
ACK Action: SetSoundPriority(-
1);

Additional things to note:
This function should be defined within the same file as the CSV_Alarm.ci because the miSoundPriority is a module variable.
You still need to use [Alarm]Soundn in your Citect.ini to set the sound to play

 

Keywords:
CSV, Audible Alarm, CSV_alarm.ci  

Attachments