Gets the delay setting for an alarm via the alarm record number.
When the Alarm Server is not in the calling process, this function will become blocking and cannot be called from a foreground task. In this case, the return value will be undefined and a Cicode hardware alarm will be raised.
AlarmGetDelayRec(Record, Type [, ClusterName] )
The alarm record number, returned from any of the following alarm functions:
The type of delay:
0 - Delay (digital alarm/advancedalarm)
1 - High high delay (analog alarm)
2 - High delay (analog alarm)
3 - Low delay (analog alarm)
4 - Low low delay (analog alarm)
5 - Deviation delay (analog alarm)
Specifies the name of the cluster in which the Alarm Server resides. This is optional if you have one cluster or are resolving the alarm server via the current cluster context. The argument is enclosed in quotation marks "".
The alarm delay if successful, otherwise -1 is returned. Use IsError() to retrieve extended error information.
AlarmNotifyVarChange, AlarmSetDelayRec, AlarmGetDelay