Description: This subroutine will acknowledge an alarm.
Format: Acknowledge(AlarmName[, EventTime, Operator]);
Parameters: AlarmName is the name of the alarm (not the alarm object value that was passed to the Register (Alarm Manager) subroutine) that will be acknowledged
EventTime is the time stamp to use when adding this event to the alarm lists. This is typically CurrentTime(); additionally, if invalid or not defined, the default is CurrentTime().
Operator is the name of the operator who acknowledged the alarm. If invalid, the currently logged in user (according to the Security Manager) will be used. If the Security Manger user is empty, then the Config.ini [LABELS] section variable, "LoggedOffLabel" will be used.
Comments: The Acknowledge subroutine always returns "0".
This subroutine's primary responsibility is to send RPC messages to other workstations. DoAcknowledge does the actual work of acknowledging. When an acknowledgement is done, the only field that will change is status. To change any other field, a custom DoAcknowledge that is aware of the structure of alarms within the application must be written.