I set this script to run on startup in the preferences file and it does
just what I want, however the turnouts change state too quick for me. Is
there a way to set a delay?
toggle quoted message
Show quoted text
On 2/6/2018 9:49 PM, cpcrr@... [jmriusers] wrote:
Ken, There is a script TurnoutStatePersistence.py in the Jython library which saves the state of the turnouts at shutdown. The script may need to be tweaked to meet your needs, but it is good starting point.
I prefer to rely on the actual state of the layout devices at startup to get the layout up to a known status. Stall motor controlled turnouts power up to a known position, then maybe need to be commanded to move to the shutdown position.
We design our control systems for layouts with stall motors to come up with the stall motors defaulted to the mainline route. This means that some stall motors need to have their input voltage polarity wiring flipped. We do this to allow running trains on the layout without any control system running and is useful for ops resets and running track cleaning trains.
Chuck Catania
MRCS
---In jmriusers@..., <boomer17@...> wrote :
When I open my panel I would like to all the turnout icons to display the state they were in when JMRI was shut down. They now display as unknown. Is there a way to do this?
Thanks, Ken
------------------------------------
Posted by: cpcrr@...
------------------------------------
------------------------------------
Yahoo Groups Links