Is there any difference in the way that a tag change script is run/triggered if you place it in the “Gateway Event Scripts > Tag Change Script” versus a “Tag Event Script > Value Changed”? Other than the fact that a gateway event script can be triggered by multiple tags.
I want to know in general the difference, but also which may be more efficient.
For my specific purpose, I am collecting different datasets from a SQL server, but I do not have permission to make any changes to the server (read-only). I need to capture timestamps when these values change in this server. I have a UDT with 6 Query Tags collecting the datasets and will insert timestamps into a database on a different server that I am able to write to. Ideally, I wouldn’t use Ignition and would communicate directly with the servers, but I have absolutely no access to the originating server other than through Ignition.
I have thought of using a transaction group for this, but I have to do scripting in order to get the correct inserted values. Now, I am looking at either triggering the value changed scripts in the gateway event scripts or in a tag event script.