Tag-Triggered Script

Hi all,

In Ignition, is there a way to trigger a script by the change of tag value? We can do scripting for component, can we do that for tag too?

If we use “tag editor”, we could click on the “tag events” icon to open “tag event scripts”. We can see event such as “Value Events/Value Changed” there which can be enabled or disabled and its script shown in the text area of the “tag event scripts”. However, I notice that we cannot change the content of the script.

Is there a way to change the content of the script? Or, if not, is there any other way we can do to trigger a script based on tag value changed?

Thanks! :smiley:

I found the video in one of the lessons already.

The event handler can be done in the gateway event script. So, I am closing this post.