¿ªÔÆÌåÓý

Locked Re: jynstrument error for USB throttle in 4.17.6 #scripting


 

Allen,

Try changing line 15 of the script to:

`tw = jmri.InstanceManager.getDefault(jmri.jmrit.throttle.ThrottleFrameManager.class).createThrottleWindow()`

This is due to the `.instance()` method being removed after 4.16 due to having been deprecated for quite some time.

Please let me know if this works as I'll then get this updated for the next release.

Best regards,

Matt H

Join [email protected] to automatically receive all group messages.