Currently I am trying to output the alarm time also on the Alarm Preview. It was working as of September 27, but suddenly stopped working September 28. I was wondering if the functions were deprecated and there is something new? How can I obtain the time of an alarm object?
Things to note, all the all the other alarm attributes are correct. Both, old and new events still output 1/1/0001 00:00:00 as the time. I converted the DateTime to string by (“” + alarm.StartTime).
Any help is appreciated. Thank you in advanced.
The time shown in the Smart Client Alarm List is the Alarm.EventHeader.Timestamp (corresponding to AnalyticsEvent.EventHeader.Timestamp)
For more information on what you see in the Alarm List please see the TriggerAlarmFromExternal-ConceptSolution.pdf document, the chapter: “The correlation between Smart Client Alarm List and the Analytics Events tags.”
It is possible for you to fill the AnalyticsEvent.StartTime when submitting Analytics Events, and then using a modified Smart Client Alarm Preview plugin you can also show the value.