Applies To: |
|
Summary: |
How can I determine the Type of an Alarm from anywhere in Cicode? All I can see is the function AlarmSumType, but I want to find the type of an Alarm that isnt in the Summary list at the time. |
Solution: |
For v6.10 and below, the Cicode function
below which will return the Alarm Type (as an INT) when given the
name of an alarm. INT FUNCTION GetAlmType(STRING TagName, INT ProcAnFormat = 0)
INT
iType, iRecordIdentifier, iResult; In V7 , you can simply
do the following:
sAlarmType
=
AlarmGetDsp(iANAlarm,
"ALARMTYPE") ; // to get alarm type as string |
Keywords: |
Alarm Type Name Cicode |
Related Links
Attachments