Create an alarm grid that displays color-coded and selectable alarm events.
Tip: You can use a preconfigured alarm grid instead of creating it from scratch. For more information, select
Template Libraries and select .
-
Create a panel for the alarm grid and controls:
-
In Project view, right-click MainWindow (type) and select .
-
Hover-over the panel, select
, and enter AlarmGridPanel.
-
Create and configure a data grid for alarms:
-
In Project view, right-click AlarmGridPanel and select .
-
Hover-over the data grid, select
, and enter AlarmsGrid.
-
In Properties, create a dynamic link between the Model property and .
Tip: You can select the @Attribute values from the Attribute drop-down menu at the bottom of the dialog.
For more information about dynamic links, see Create dynamic links.
-
Expand Model and create a dynamic link between ItemKind and
-
Set Sort order to Descending.
-
Create four alarm grid text columns:
-
Next to Columns, select
and select Text column.
-
Rename the columns by hovering-over each column, selecting
, and entering:
-
TimestampColumn
-
NameColumn
-
SourceVariableColumn
-
MessageColumn
-
SeverityColumn
-
Create three alarm grid image columns:
-
Next to Columns, select
and select Text column.
-
Rename the columns by hovering-over a column, selecting
and entering:
-
ActiveColumn
-
AcknowledgedColumn
-
ConfirmedColumn