Configure an alarm log
An alarm log displays the date and time alarms occurred in your system as well as the state of each alarm.
Viewing the alarm log at runtime requires a database, a configured logger, and the
Alarm Grid
or Alarm History Grid
widget. The Alarm log grid
widget displays the alarm event log. The Alarm Event Log grid
displays data for each alarm event and alarm state. Each row in the grid depicts a change of state for an alarm event.- In the main toolbar, selectTemplate LibrariesMisc.
- UnderComponents, drag theAlarms Events Loggerobject into theLoggersfolder ofProject view.AlarmsEventerLogger#appears.
- InTemplate Libraries, selectClose.
- InProject view, drag the desired database object to the value of the loggerDatabaseproperty. The database is associated with the logger.
- SelectTemplate LibrariesWidgets.
- DragAlarm GridorAlarm History Grid with filterwidget into the folder inProject view.The new widget appears.
- FromProject view, drag the logger intoPropertiesinAlarmsEventLogger.Data that the log records at runtime will now be visible.
- (optional) To customize the graphical appearance of the widget, customize the data grid, date and time, button, and text color on the widget.
Provide Feedback