I would like to open a popup window on an OPC tag event change in the Gateway Event Scripts - Tag Change window.
Any help would be greatly appreciated, thank you!
I would like to open a popup window on an OPC tag event change in the Gateway Event Scripts - Tag Change window.
Any help would be greatly appreciated, thank you!
You can’t; tags, gateway event scripts, and tag change scripts all exist in the gateway scope. There’s no client to open a window on.
Yeah, I figured it out, thank you though!
What did you to to implement this? I am trying to do the same thing. Open a popup once a tag is changed.
This is a topic from 2018, so presumably you are interested in Vision. (Perspective didn't exist yet then.) Nowadays, you should tag a new topic accordingly.
In Vision, you can make a client tag change event script in the appropriate project. That script can open a popup window.
In Perspective, there are a couple approaches, depending on how widely you want the popup to interrupt. The simplest and most local would be to bind the tag to a view custom parameter and have a change event open the popup.