¿ªÔÆÌåÓý

Locked mast signal problem #dispatcher #signalmasts


 

Hi guys? ?
I try to learn how to use mast signals in my? LE layout? ? .I build a small layout? from? 4 blocks? ?. For some reason with no success? when i try to run the dispatcher? .I uploaded? ?the files? to "ProgramsBeingWorkedon\doron? mast signal? problem "
I use ver? 4.15?
Thanks for help? ?Doron?


 

Hi Doron
Iv uploaded a fixed version. Your basic problem was that you had block joins on corners. It doesnt hardly ever work, especially right angles. Try and set up the block boundaries so the block boundries are horizontal or verticle. After I fixed that, deleted all the signal mast logic and went into each mast and did a "discover". Works.
Steve G.


 

Thanks for try to help . download your file? and? try to run it . Maybe I miss some thing? in understanding? ?but I got the same error? "Found 8 errors when checking/setting direction Sensors in signal? logic? for this Transit. Check Console log for details."? when I press "Create " button? ?in "activate new? train? " frame?
Since I? ? ?have some knowledge in software I? tried to? run the JMRI under? NB environment? ,?
1) the error is defined as error 36 in "DispatcherBundle.properties"
2) in DipatcherFrame.java method?createActiveTrain?
?
? ? " if (getSignalType() == SIGNALHEAD) {
? ? ? ? ? ? ? ? numErrors = t.checkSignals(_LE);
? ? ? ? ? ? ? ? if (numErrors == 0) {
? ? ? ? ? ? ? ? ? ? t.initializeBlockingSensors();
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? if (numErrors != 0) {
? ? ? ? ? ? ? ? ? ? if (showErrorMessages) {
? ? ? ? ? ? ? ? ? ? ? ? JOptionPane.showMessageDialog(frame, java.text.MessageFormat.format(Bundle.getMessage(
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "Error36"), new Object[]{("" + numErrors)}),
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Bundle.getMessage("ErrorTitle"), JOptionPane.ERROR_MESSAGE);
? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? ? ? return null;
? ? ? ? ? ? ? ? }
? ? ? ? ? ? } "
?there i see the problem?
? ?I did not? dive deeper? because i am not sure i go to the right path?

Do i have to do something other then try to use your? xml file so it will work?
?