Create an alarm grid

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 Widgets > Alarm Grid.
  1. Create a panel for the alarm grid and controls:
    1. In Project view, right-click MainWindow (type) and select New > Containers > Panel.
    2. Hover-over the panel, select Edit, and enter AlarmGridPanel.
  2. Create and configure a data grid for alarms:
    1. In Project view, right-click AlarmGridPanel and select New > Data controls > Data grid.
    2. Hover-over the data grid, select Edit, and enter AlarmsGrid.
    3. In Properties, create a dynamic link between the Model property and Retained alarms > Localized alarms > en-US > @NodeId.
      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.

    4. Expand Model and create a dynamic link between ItemKind and Types > EventTypes > BaseEventTypes > ConditionType > AcknowledgeableConditionType > AlarmConditionType

      For more information about dynamic links, see Create dynamic links.

    5. Set Sort order to Descending.
  3. Create four alarm grid text columns:
    1. Next to Columns, select Add and select Text column.
    2. Rename the columns by hovering-over each column, selecting Edit, and entering:
      • TimestampColumn

      • NameColumn

      • SourceVariableColumn

      • MessageColumn

      • SeverityColumn

  4. Create three alarm grid image columns:
    1. Next to Columns, select Add and select Text column.
    2. Rename the columns by hovering-over a column, selecting Edit and entering:
      • ActiveColumn

      • AcknowledgedColumn

      • ConfirmedColumn