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

AlarmGetDelay

Gets the delay setting for the alarm the cursor is currently positioned over.

Syntax

AlarmGetDelay(Type)

Type:

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)

Return Value

The alarm delay if successful, otherwise -1 is returned. Use IsError() to retrieve extended error information.

Related Functions

AlarmNotifyVarChange, AlarmSetDelayRec, AlarmGetDelayRec

See Also

Alarm Functions