Context: I have a script which fires on value (or quality) change that searches a dictionary of integers and looks up an associated engineering unit (and writes to .EngUnit). The ignition edge instance pulls the integer in over OPC UA.
Problem: In the development phase of the project (using trials), I expect that resetting the trial causes a re-connection to the OPC UA Server, to update the Quality of the tag, however, re-connection often does not trigger the script. When I apply the same script with no update, the script executes as expected.
Is there a better way to execute this type of script where either a value change or quality change, is expected to fire the script?