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.

InputDescription
SourceSpecifies the source for the alarm.
ConditionSpecifies the alarm's condition.
Tag NameSpecifies 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.
TimestampSpecifies a timestamp for the alarm.
SubConditionSpecifies a sub-condition for the alarm.
Event CategorySpecifies an event category for the alarm.
MessageSpecifies a message for the alarm.
SeveritySpecifies 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.