On Thu, Aug 30, 2018, 14:12 Dave Short <dave@...> wrote:
I run a layout using a Digitrax DCS51 as controller, and JMRI to run my automation.
I would like to generate Turnout Feedback messages from Logix, and the only way I can find to do it is to run a script from an Action. The script will generate the appropriate Loconet packet.
Is it possible to pass arguments to a script in this way, or will I have to have two scripts for each turnout, one for Closed and the other for Thrown?
Is there a single line Jython command which will send a turnout feedback? The example given (dcc.sendPacket(...)) generates a Send Immediate packet, which is not what I want.