Example alarm queries
- Last UpdatedAug 21, 2024
- 1 minute read
Alarm queries follow this syntax for the local node:
\Provider!AlarmGroup
For example:
\InTouch!$System
Use the following query syntax for remote nodes:
\\NodeName\Provider!AlarmGroup
For example, on a node called MyNode1:
\\MyNode1\InTouch!$System
Use the following syntax for querying alarms from a Galaxy with the Register using "Galaxy_<Galaxy name>" instead of "Galaxy" checkbox selected. This syntax gets alarms from a specific alarm name of an object in a specific area on a specific computer. The alarm name may be an attribute name or an alarm primitive name. Galaxy names are displayed in the alarm window’s Provider column.
\\NodeName\Galaxy_GalaxyName!AreaName!ObjectName.AlarmName
The following syntax gets all alarms from a specific area:
\Galaxy_GalaxyName!AreaName
The following syntax gets alarms from two areas:
\Galaxy_GalaxyName!Area1 \Galaxy_GalaxyName!Area2
The following syntax gets all alarms in the specified Area from the Platform on the specified computer node (by default):
\\NodeName\Galaxy_GalaxyName!AreaName
You can also use single wildcard to match alarm names within a specified area. The following syntax gets all alarms from all objects starting with the characters "Tank" in the "AreaName" area:
\Galaxy_GalaxyName!AreaName!Tank*
The following syntax gets all alarms named "Hi" from all objects in the "AreaName" area:
\Galaxy_GalaxyName!AreaName!*.Hi
Note: If you are querying the alarms from Galaxy instead of InTouch, then the number of characters allowed for the Group Name is 128.