PLC to Ignition Interactions

There are pros and cons. (Numerous discussions here on those.) But it is almost always preferable to system.util.invokeAsynchronous(). Starting new threads is a performance killer, and can run wild if you aren't careful.

Discussions like these (and more, if you tweak the search terms):

https://forum.inductiveautomation.com/search?q=gateway%20tag%20change%20event%20valueChange%20thread%20pool%20order%3Alatest

If you have a particular need for valueChange scripting, but also need to not block other tag events, study this topic and all of its links:

2 Likes