AnsweredAssumed Answered

Is it possible to retrieve only the time a status point changed using datalink?

Question asked by CarlosArocho Champion on Mar 9, 2016

We monitor equipment in a PI tag, we only need to know when the state has changed over a period of time. Can I retrieve this type of data in Datalink?

Thanks,

Carlos

 

 

OK, I got an answer from Tech Support - those folks are awesome -

You can do this using a PE as follows:

IF 'tagname' <> PrevVal('tagname','*') THEN 1 ELSE 0

This returns only the timestamps when the device state changed.

 

Thanks,

Carlos

Outcomes