IsShelved

(Alarm Manager module)

Description: Will indicate if an alarm is shelved. It can be used either as a subroutine or as a called function.
Returns: Boolean
Usage: Script or steady state.
Function Groups: Alarm
Related to: GetAlarmStatus | IsActive | IsDisabled | IsUnacked
Format: \AlarmManager.IsShelved(AlarmName);
Parameters:  
AlarmName
Required.

Unique name for the alarm. Typically the unique ID, which can be obtained using GetAlarmName.
If there are multiple built-in alarms in a tag, the convention is to concatenate the UniqueID with a separator and a unique integer or string per alarm. For example, Concat(Root\UniqueID, \AlarmSeparatorString, 0).

Comments: The IsShelved subroutine returns a 1 if the alarm is active and returns a 0 otherwise.

Example:

Within a custom tag...

  ShelvedStatus = \AlarmManager.IsShelved(\GetAlarmName(\Root, "Low"));