Alarm Conditions
Alarm Conditions are special extensions that relate to alarm data. The alarm conditions are of the CAlarm class and so, like aggregates, provide access to additional Fields and Methods. However, alarm conditions are only used to store alarm related data and provide access to alarm related methods. The methods for alarm conditions only apply to the alarm conditions, not the entire class.
As alarm conditions are of the CAlarm class, they provide access to the fields and methods of the CAlarm class. Many of the fields relate to alarm data and are read-only, but there are two notable exceptions:
- Acknowledged—Determines whether the alarm has been acknowledged. OPC applications can be used to write a True value to this field. When a True value is written to this field, ClearSCADA sets the alarm condition to acknowledged.
- Disabled—Determines whether the alarm condition is enabled or disabled. OPC applications can be used to write a True value or False value to this field. When a True value is written to this field, ClearSCADA sets the alarm condition to enabled. When a False value is written to this field, ClearSCADA sets the alarm condition to disabled.
The methods for alarm conditions are related to alarm controls, such as Acknowledge Alarm, Remove Alarm, and so on.
You can use the ClearSCADA Database Schema to access information about the Alarm Conditions for each class (see Class Information).