.AlarmPri Dotfield
- Last UpdatedJul 18, 2024
- 1 minute read
Returns the priority (1-999) for the tag associated with a selected alarm. The alarm must be selected from the Distributed Alarm Display object in summary mode.
Category
Alarms
Usage
[ErrorNumber=]GetPropertyM("ObjectName.AlarmPri", TagName);
Parameters
ObjectName
Name of the Distributed Alarm Display object. For example, AlmObj_1.
TagName
Any message tag.
Data Type
String (read-only)
Example
If used in a Touch Pushbutton QuickScript, this statement returns the alarm priority to the almPrilvl tag.
GetPropertyM("AlmObj_1.AlarmPri",almPrilvl);
Where AlmObj_1 is the name of the Distributed Alarm Display object and almPrilvl is a memory message tag containing the priority level of the tag associated with the selected alarm.
See Also
GetPropertyM(), .AlarmAccess, .AlarmClass, .AlarmComment, .AlarmDate, .AlarmLimit, .AlarmName, .AlarmOprName, .AlarmOprNode, .AlarmProv, .AlarmState, .AlarmTime, .AlarmType, .AlarmValue