New Alarm Function
The New Alarm
function will add a new alarm to the Historian archive. It will take the inputs shown in the following table.
Input | Description |
---|---|
Source | Specifies the source for the alarm. |
Condition | Specifies the alarm's condition. |
Tag Name | Specifies the tag name for the alarm. Note: If you want the new alarm to be associated with the tag passed in, ensure you have first added the tag to Historian. |
Timestamp | Specifies a timestamp for the alarm. |
SubCondition | Specifies a sub-condition for the alarm. |
Event Category | Specifies an event category for the alarm. |
Message | Specifies a message for the alarm. |
Severity | Specifies a severity for the alarm. |
Note: If the archive already contains an Open alarm for this tag/condition, its quality will be set to BAD before the new alarm is added. To avoid this, return the existing alarm to normal through the Return to Normal method before adding a new alarm.