Event/Alarm timestamp

Discussion about Code Builder Builder and Winlog language support.
rubik
Posts: 5
Joined: Wed Mar 30, 2016 11:56 am

Event/Alarm timestamp

Postby rubik » Sun Apr 14, 2019 5:51 am

How do I retrieve the start & end timestamp of an active event/alarm ?

User avatar
admin
Site Admin
Posts: 336
Joined: Tue Nov 17, 2009 1:18 pm

Re: Event/Alarm timestamp

Postby admin » Mon Apr 15, 2019 8:43 am

Hi, currently is not possible. What do you have to do?

rubik
Posts: 5
Joined: Wed Mar 30, 2016 11:56 am

Re: Event/Alarm timestamp

Postby rubik » Mon Apr 15, 2019 1:01 pm

Hi admin,

I want to track the elaspe time between 3 same events. I would like to know if my pump is running too often. Each time my pump runs, i send an event.

User avatar
admin
Site Admin
Posts: 336
Joined: Tue Nov 17, 2009 1:18 pm

Re: Event/Alarm timestamp

Postby admin » Mon Apr 15, 2019 1:51 pm

Hi, directly by event is not possible. You need to create a history using the code and the functions "GetEvnGateValue", you can also save data to file using functions "FileOpen", "FileWriteLn", ....

Regards


Return to “Code - Code Builder”

Who is online

Users browsing this forum: No registered users and 1 guest