I am new to Ignition. I have been unable to find an example to help. I have created a Gateway Tag Change Script, this script has 5 tags defined for the change event. In the body of the script I want to compare the tags. Is there an method for referencing the tags defined to trigger the change event?
system.tag.read("[default]PathToYourTag").value
https://docs.inductiveautomation.com/display/DOC79/system.tag.read?src=sidebar
I am familiar with the system.tag.read function. I was hoping for a response that would expose a function to return the tag paths defined in the script change triggers. Do I need to maintain the same tag path list in the script and walk through it?
You can’t get the whole list, but you can get the tagPath
that triggered the script to execute out of the event
object.
Got it, I wanted to make sure I wasn’t missing a feature known to experienced users. Thanks, Kevin.