Quantcast
Channel: OSIsoft Users Community
Viewing all articles
Browse latest Browse all 1120

Hours since tag's last value change

$
0
0

Good afternoon,

 

I am creating a PI display have has the current value for several dozen tags. Each of these tags may take on any value, and changes values at unknown intervals. Between changes the value remains exactly the same. I am trying to create a pi calc (or any other method that works) that shows the hours since that tag changed values (Any value to any OTHER value).

 

Is this a relatively simple problem? I tried extensively to search for a solution without success.

 

THANK YOU in advance

 

Example
 

Tag 1

Time      Value

12:00        1.32

12:01         1.32

12:02         1.32

12:03          1.32

....

....

....

13:00        8.87

 

Results: value was the same from 1200 - 1300, so if you looked at this at 1400 (one hour after change) you would get "1" as the result in "hours since last change"


Viewing all articles
Browse latest Browse all 1120

Trending Articles