NewAlarm

NewAlarm triggers a procedure or script when a new alarm is received or when an existing alarm has a state change.

Field Description
Event ActiveX Event provides the NewAlarm expression.
ActiveX Event NewAlarm is included in the drop-down list.
Action Contains a drop-down list of existing procedures and scripts. Use either of the following.
Procedure Create or use an existing procedure.
Script Create or use an existing script.
Parameter Can be used if the event invokes a script directly or through a procedure. The default code begins as follows. Private cimOleObj As AMVOCXLib.IAmvOcx Sub OnNewAlarm(NewAlarms As Boolean, AlarmCount As Long, AlarmDate As String) Where parameters are:
NewAlarms True if a new alarm was received.
AlarmCount Number of alarms being displayed.
AlarmDate Time stamp of the alarm update or new alarm.