Select the alarms to display
- Last UpdatedApr 23, 2025
- 2 minute read
The Alarm Viewer control can show summaries of active alarms or listings of historical alarms.
Set general alarm query properties
-
Right-click the Alarm Viewer control and then select Properties. The AlarmViewerCtrl Properties dialog box appears.
-
Select the General tab.
-
Select the Perform Query on Startup check box to automatically update the Alarm Viewer control using default query properties when the application starts.
-
Select the Show Message check box to show a default message when there are no alarms. In the text box, type the message to show.
-
Select Apply.
Configure the query default
-
Right-click the Alarm Viewer control and then select Properties. The AlarmViewerCtrl Properties dialog box appears.
-
Select the Query tab.

-
In the From Priority box, type the minimum alarm priority value (1 to 999).
-
In the To Priority box, type the maximum alarm priority value (1 to 999).
-
Select the Query Type arrow and select either Historical or Summary as the default run-time alarm display.
The default type of display can be changed during run time by running a QuickScript containing a query function. For example, if the script includes the ApplyQuery() method with its Type parameter set to “Summary,” then the grid shows a summary of current alarms. Conversely, if the same grid has an ApplyQuery() method run against it with the Type parameter set to "Historical", it shows historical alarms. The QueryType property reflects the current state of the alarm display.
-
In the Alarm Query box, type a valid alarm query. For example, type \InTouch!$System to query for all alarms that belong to the default $System alarm group.
-
Select OK.