How to read the timestamp of a datapoint in Ctrl?

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
svhsvh
Posts: 2
Joined: Tue Sep 19, 2023 3:04 pm

How to read the timestamp of a datapoint in Ctrl?

Post by svhsvh »

Hi,

I want to read the timestamp of a specific datapoint in control script.
How can I do this?
In the documentation I found a lot of attributes to read with dpget, but I can't seem to find the timestamp of the last write to a datapoint.

Thanks in advance,
Stef

buec
Posts: 27
Joined: Tue Dec 07, 2010 3:09 pm

Re: How to read the timestamp of a datapoint in Ctrl?

Post by buec »

You can read the timestamp from the _online.._stime attribute.

svhsvh
Posts: 2
Joined: Tue Sep 19, 2023 3:04 pm

Re: How to read the timestamp of a datapoint in Ctrl?

Post by svhsvh »

Thank you very much for the answer, works perfectly.
I could not find the _stime attribute in the documentation:
https://www.winccoa.com/documentation/W ... dpGet.html

Post Reply
3 posts • Page 1 of 1