Hello,
I am fairly new to PI, and I am brand new to the forums. I had a question regarding PI Expression and datasets. I am working in PI ProcessBook.
Currently, I am working on monitoring data to comply with environmental regulations.
I have a data set that does a rolling 3 hour average of the data we need to monitor. The calculation interval is 1m.
I also have a dataset that calculates the timeLT of the same tag.
tagavg('<tag name>','*-3h','*')
TimeLT('<tag name>', '-1d','*', 1520)/60
To monitor environmental compliance, what I really need is the TimeLT of the 3 hour average.
I tried TimeLT('tagavg('<tag name>','*-3h','*')', '-1d','*', 1520)/60
It did not work. Any help on how to nest expressions or datasets would be appreciated.
Thanks