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

FindEq Two Events

$
0
0

Hello,

 

I've attached a picture that may help.  In my system, there is one temperature that is not available in PI.  Therefore, I take samples throughout the week (time is random).  Every other calculation is automated, except for the one manually operated temperature.  The process is fed by two valves that open and close at different times (not consistent).  The picure I've attached is an example from the last day of the valve opens and closures.  I want PI to find when they are both closed so I know when the system was last cleaned.

 

Is there a way to input two events into findeq?

 

Currently, the following is an expression I use in a different process with only one supply valve.

 

PIExpVal("findeq('<tag name>','*','*-48h',""closed"")",'time stamp,0,"server"))

 

 

It may not be possible to include two tags in the same findeq, but is there another way to do it?

 

 

 

 

Attached Images

  • valve pic.png

Viewing all articles
Browse latest Browse all 1120

Trending Articles