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

Complex Filter Expression in PI Datalink

$
0
0

Greetings OSI Forums,

 

I have to combined a couple PI tags and filters into one Filter Expression.

 

''Some Tag' = "Closed"

''Some Tag' > .5

 

I need to combine these into one filter tag for datalink.  Since I am a C# programmer, I tried the obvious

 

''Some Tag' = "Closed" && 'Some Tag' > .5  and ''Some Tag' = "Closed" & 'Some Tag' > .5(no go)

 

Then

 

''Some Tag' = "Closed" and 'Some Tag' > .5 (no go)

 

Is there a way to make a multi tag filter expression where I have multiple conditions on individual tags?

 

Thanks Everyone.

 


Viewing all articles
Browse latest Browse all 1120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>