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

VBA trigger msgbox on tag value, with deadband

$
0
0

I think this has been discussed before, but I've searched all morning and still can't find an answer.

 

I want to trigger a msgbox when a tag value exceeds 1100.  That part I can do.  After the user clicks "OK", I don't want the msgbox to appear again until after the tag value has dropped below 1050 and then exceeds 1100 again (in effect, a deadband).  I'm thinking that if I use the dataupdate as the trigger for the msgbox, it will appear every time the tag updates, which would be every so many seconds.  Any help is appreciated!


Viewing all articles
Browse latest Browse all 1120

Trending Articles



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