Topic 1.1.1 – Overview
About Events
You can use the
Historian Server event subsystem to detect events and associate actions when
they are detected. At a basic level, anything that can be determined by
examining stored data can be used as an event. The event subsystem can be
configured to periodically check to see if an event occurred. This is called
event detection.
Event Subsystem
The event subsystem performs the
following basic functions:- Detects when events occur by comparing sets of criteria
against historical data in the database
- Optionally logs event
records to a dedicated SQL server table (EventHistory)
- Optionally triggers a
configured action each time an event occurs
The event
subsystem does not support Daylight Savings Time changes. The replication
subsystem, however, does handle Daylight Savings Time changes, and you can use
replication to generate data summaries according to a schedule.
The event
subsystem is not designed to transfer data to and from the database continually
and should not be used in this manner. The only exception is for summary
actions; the event subsystem can continually process data aggregates so that
they are available for reporting purposes.
The event subsystem is not a real-time system;
rather, it operates
on historical data. For real- time
alarming, use an application such as InTouch
or Application Server. The event subsystem is intended to initiate
actions based upon historical event detection. An alarm system presupposes an immediate
message response is propagated for all configured alarms at the time the respective
conditions are met. In this sense, the historian event subsystem is not an alarm system.
The event subsystem queues up
detected events and processes them accordingly based upon preconfigured priorities.
The following table describes the
components of the event subsystem:
Component |
Description |
Configuration Editor |
Part of the ArchestrA System Management Console. Used to set up event definitions and possible actions. |
Runtime database |
Stores event definition information and all data generated by the event subsystem, such as records of event detections, data summaries, and data snapshots |
Event System Service (aahEventSvc.exe) |
Internal process that coordinates the event detection and action functions. This process runs as a Windows service. Using the System Management Console, you can configure the event service to automatically start and stop at the same time as Historian Server. The event service is responsible for: l Reading event definition information from the Runtime database l Creating event detectors and actions, including allocating the necessary processing threads and establishing database connections l Initiating the event detection cycle |
SQL variables |
Available for use in event queries |
You use the System Management Console to configure the event subsystem.