Question:
How can I record as alarms the commands executed by E3 users? For instance, when a user is logged onto the application and clicks the button for activating the engines, an alarm must be recorded with this information.
Solution:
To do so, for each desired button/object, you must use the Alarm Server’s LogTrackingEvent method to record the inteded events.
Sample script to be used in a button’s Click event:
Application.GetObject(“AlarmServer1”).LogTrackingEvent “Clicked on Button 1”,Application.User, “Operation”, 2, ,”Button1″, , , array(1, 2, “a”, “b”)