AttributeError: 'com.inductiveautomation.ignition.common.script.Imm' object has no attribute 'invokeLater'

Bleh, I wish the training team hadn’t written those docs advocating the use of invokeLater as a convenient way to introduce a delay. That’s really not what it’s for.

Jython’s Timer seems fine, but it’s conceptually no different than just using invokeAsync and then sleeping as the first thing you do for the amount of delay you desire. Both end up using a dedicated Thread.

2 Likes