Create an event logger

Create a logger that monitors the current temperature.

  1. In Project view, right-click Loggers and select New > Event logger.
  2. Configure events:
    1. In Properties, next to Event configurations, select Add.
    2. Set Listen subtree to False.
    3. Set the Event type to AlarmConditionType.
    4. In Properties, double-click EventLogger1
    5. In the central pane, select these variables:
      • BaseEventType > Message.
      • BaseEventType > Severity.
      • BaseEventType > Time.
      • BaseEventType > ConditionType > AcknowledgeableConditionType > AckedState > Id.
      • BaseEventType > ConditionType > AcknowledgeableConditionType > ConfirmedState > Id.
      • BaseEventType > ConditionType > AcknowledgeableConditionType > AlarmConditionType > ActiveState > Id.
    6. In the central pane, select Apply.
  3. Create a dynamic link between Database and ProjectName > DataStores > EmbeddedDatabase1.

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