Example query of alarm event history view
- Last UpdatedJul 22, 2024
- 1 minute read
The following example selects the data in the TagName, Area and Type columns for all records that have a tagname of MyTag1, an alarm state of ACK_RTN or ACK. The results are ordered by the alarm provider.
SELECT TagName, Area, Type FROM v_AlarmEventHistory
WHERE TagName=’MyTag1’
AND (AlarmState=’ACK_RTN’ OR AlarmState=’ACK’)
ORDER BY Provider