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

PI Expression - convert PI data value

$
0
0

Hi,

 

I have a PI tag which sometimes has the following compressed data:

on

shutdown

on

shutdown

on

off

shutdown

off

shutdown

 

I need a expression to convert all shutdown values to the previous value and calcuate the running hours for the value "on" or "off".

Is it possible to use PI expression to achieve this?

 

Thanks a lot.


Viewing all articles
Browse latest Browse all 1120

Trending Articles