Project Save effects on tag change events and project library function execution

Hi All,

Running an 8.0.13 gateway with a project with a fair number of script functions defined under a project library. These scripts are being called from gateway tag change events. What we perceive to be happening is that when one of the scripts under that library is edited and we do a save in designer it is causing glitches in other scripts and causing ignition to miss tag change events or fail out of a currently running script. Is this plausible? Would it be worth it to give a call and open a ticket for assistance?

Thanks,

Frank

Perfectly plausible and effectively unavoidable for tag events. A robust solution uses the ‘initialChange’ flag to examine the current state vs what’s been recorded by past calls to determine if something needs to be recorded late.

To be most robust, use top-level objects in your script module(s) to carry critical state, initializing those during initial import. That leverages jython’s import lock to ensure no race conditions.