How to extract external timestamp from SimpleEventDetector ?
Is it possible to get time stamp for signals that are connected to SimpleEventDetector ( or similar) ?
I need to send external time that is generated in modul ( DI831) via comunication to other station, but i can not extract external time from modul (DI831) nor from block ( SimpleEventDetector) . External time can be in any type of data.
Voted best answer
Instead of sending your alarms to a local printer you can choose to only redirect the
alarm to the application.
The function block PrintEvents in AlarmEventLib contain two parameters; the first parameter EventItem catch the values (Source Name, Condition name, Time stamp, Severity etc.) and the second parameter EventItemText format these values as if they was send to a printer and bring it to the application as well.
Hence, these values can then be sent and processed by your local code.
However, sending an alarm only to the application requires that you do not connect the Channel parameter (leaving the Parameter field empty).