Cicode Programming Reference > Cicode Function Categories > Alarm Functions Introduction > AlarmSetDelayRec

AlarmSetDelayRec

Changes the delay setting for an alarm (that is Delay, High High Delay, Deviation Delay, etc.) by the alarm record number. You can only call this function on an alarms server for local alarms, or on a redundant server if one has been configured. However, a client can call this function remotely by using the MsgPRC() function.

Syntax

AlarmSetDelayRec(Record, Type, Value)

Record:

The alarm record number, returned from any of the following alarm functions:

Type:

The type of delay:

0 - Delay (digital alarm/advanced alarm)

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)

Value:

The new value for the delay. Enter a blank value " " to remove the delay setting.

Related Functions

AlarmGetDelay, AlarmNotifyVarChange, AlarmGetDelayRec

See Also

Alarm Functions