¿ªÔÆÌåÓý

Locked Re: Dispatcher Auto Active Train Fails to Pause


 

Hi Paul
There is good news, there is nothing wrong with the panel that causes this and I
have isolated the problem. There is a property in the Signal System that
AutoTrains does not process correctly and causes the pause to be ignored. I just
need to find the best way to handle it without breaking anything else.
Steve G.

---------- Original Message ----------
From: paul@...
Date: July 14, 2018 at 1:34 PM


I've just got around to a bit more investigation on this, mainly to see if I
could identify why it seems difficult to recreate the problem or identify some
other environmental issue. ?I've produced a greatly simplified layout panel on
the basis that if the problem disappeared then I could introduce features step
by step, however it's still there. ?To provide a quick recap, it occurs when

1) pause is specified on a section in a transit which comprises a single block
and which is marked as being safe in the transit?and,
2) on the Activate New Train panel 'all cars have resistance wheels' is
specified in conjunction with the Allocation Method being 'to Safe Sec'.

The train slows to 25% on section entry but its speed is not set to 0 and the
status in the dispatcher panel doesn't changed to paused. ?The train moves to
the end of the transit at the reduced speed and when it reaches the end it is
terminated as expected but a java exception occurs:

18:25:27.963 (138223) ERROR [pause train C170-19] AutoActiveTrain.java:1537 ?-
InterruptedException while waiting when paused
? ? java.lang.InterruptedException: sleep interrupted
? ?at java.lang.Thread.sleep(Native Method)
? ?at
jmri.jmrit.dispatcher.AutoActiveTrain$PauseTrain.run(AutoActiveTrain.java:1532)
? ?at java.lang.Thread.run(Thread.java:748)
?
I've uploaded the simplified panel, dispatcher options file and the train
description file in the hope that this will hope with spotting what's gone
wrong with my usage.
/g/jmriusers/files/ProblemsBeingWorkedOn/PauseTest.zip

Thanks in advance

Paul


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