¿ªÔÆÌåÓý

Locked Inconsistent state of turnouts #turnouts


 

Hi,
?
At startup I run a route setting all my turnout to closed, but I can see in the turnout table that two of them are still in an inconsistant state :
?
?
?
Any idea?
?
--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Jean Louis,

Your turnouts have been defined with BSTURNOUT feedback. ?You need to make sure that the DCC-EX command station is sending the feedback message to JMRI.

Dave Sand


----- Original message -----
From: Jean-Louis Free <jeanlouisdelestre@...>
Subject: [jmriusers] Inconsistent state of turnouts
Date: Wednesday, October 23, 2024 8:30 AM

Hi,
?
At startup I run a route setting all my turnout to closed, but I can see in the turnout table that two of them are still in an inconsistant state :
?

?
?
Any idea?
?
--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Jean-Louis,
Add a command to your EXRAIL route to report the status.
PARSE("<s>")
?
You can test this within JMRI, using the Send DCC++ Command window.
send a lower case s
?
Use the JMRI DCC++ Traffic Monitor (with show raw data checkbox) to see replies, such as
09:10:59.416: [s]
?. . .
09:10:59.535: [H 1 0] ?
09:10:59.554: [H 2 0] ?
09:10:59.573: [H 3 0] ?
?
. . .
As JMRI already sends the <s> at startup, further discussion may be needed to resolve the question of why the information is not initially received.
Perhaps further discussion should be in the # jmri channel on the DCC-EX discord server.
?
Regards,
?
Ash__


 

Ash,

That is not a route initiated by DCC EX but by JRMI.

Do I have to run a route in DCC EX ?
?
JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Mercredi 23 Octobre 2024 16:49:30
Objet: Re: [jmriusers] Inconsistent state of turnouts

Jean-Louis,
Add a command to your EXRAIL route to report the status.
PARSE("<s>")
?
You can test this within JMRI, using the Send DCC++ Command window.
send a lower case s
?
Use the JMRI DCC++ Traffic Monitor (with show raw data checkbox) to see replies, such as
09:10:59.416: [s]
?. . .
09:10:59.535: [H 1 0] ?
09:10:59.554: [H 2 0] ?
09:10:59.573: [H 3 0] ?
?
. . .
As JMRI already sends the <s> at startup, further discussion may be needed to resolve the question of why the information is not initially received.
Perhaps further discussion should be in the # jmri channel on the DCC-EX discord server.
?
Regards,
?
Ash__


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Jean-Louis,
?
To capture a log file with additional detail of commands sent/received, you may want to enable DEBUG in the default.lcf.xml file in the
C:\USERS\username\JMRI directory
.. if the file does not already exist, copy the one from C:\Program Files (x86)\JMRI?
?
Once JMRI is started and you see the inconsistent status, upload the
C:\USERS\username\JMRI\log\session.log file to problems being worked on
?
Note that the messages.log file can grow very large if this DEBUG is left enabled.
?
Regards,
Ash__
?


 

Ash__

Here we go :



Despite the route command "All closed"? one turnout is indicated as Inconsistent.

As asked, I uploaded the file on /g/jmriusers/files/ProblemsBeingWorkedOn

Thanks for your help.

JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Mercredi 23 Octobre 2024 22:59:32
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
?
To capture a log file with additional detail of commands sent/received, you may want to enable DEBUG in the default.lcf.xml file in the
C:\USERS\username\JMRI directory
.. if the file does not already exist, copy the one from C:\Program Files (x86)\JMRI?
?
Once JMRI is started and you see the inconsistent status, upload the
C:\USERS\username\JMRI\log\session.log file to problems being worked on
?
Note that the messages.log file can grow very large if this DEBUG is left enabled.
?
Regards,
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Ash__,

Here is part of the the default.lcf.xml file :

??????? <!-- libraries used by BiDiB support -->
??????? <Logger name="RX" level="WARN"/>
??????? <Logger name="TX" level="WARN"/>
??????? <Logger name="RAW" level="WARN"/>

??????? <!-- Examples of changing priority of specific categories (classes, packages): -->
??????? <!-- Remove the comment symbols before and after the class, then relaunch JMRI to activate. -->
??????? <!-- Valid Level names are OFF, FATAL, ERROR, WARN, INFO, DEBUG and TRACE. -->

??????? <!-- <Logger name="jmri" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrit.beantable.LogixTableAction" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrit.display" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrit.display.IndicatorTrackPaths" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrit.progsupport" level="TRACE"/> -->
??????? <!-- <Logger name="jmri.jmrit.symbolicprog.tabbedframe" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrit.symbolicprog.DecVariableValue" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrix" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrix.nce.NceTrafficController" level="WARN"/> -->

??????? <!-- <Logger name="jmri.jmrit.display.layoutEditor" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrit.display.layoutEditor.LayoutBlock" level="DEBUG"/> -->
??????? <!-- <Logger name="jmri.jmrit.operations" level="DEBUG"/> -->
??????? <Logger name="jrmi.jrmix.dccpp" level="DEBUG"/>
?????? ?
??? </Loggers>
</Configuration>


Situated in C:\Users\JeanL\JMRI

Is that correct ?



JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Mercredi 23 Octobre 2024 22:59:32
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
?
To capture a log file with additional detail of commands sent/received, you may want to enable DEBUG in the default.lcf.xml file in the
C:\USERS\username\JMRI directory
.. if the file does not already exist, copy the one from C:\Program Files (x86)\JMRI?
?
Once JMRI is started and you see the inconsistent status, upload the
C:\USERS\username\JMRI\log\session.log file to problems being worked on
?
Note that the messages.log file can grow very large if this DEBUG is left enabled.
?
Regards,
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

On 10/27/2024 11:29 AM, Jean-Louis Free wrote:

??????? <Logger name="jrmi.jrmix.dccpp" level="DEBUG"/>
Nope - typo. Probably more like:

<Logger name="jmri.jmrix.dccpp" level="DEBUG"/>

Regards,
Billybob


 

Bollybob,

The first > is not part of the file.? My bad typo.



JeanLouisDelestre@...


De: "billybob experimenter via groups.io" <jawhugrps@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Dimanche 27 Octobre 2024 17:20:44
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts


On 10/27/2024 11:29 AM, Jean-Louis Free wrote:

> ???????? <Logger name="jrmi.jrmix.dccpp" level="DEBUG"/>

Nope - typo. ?Probably more like:

?? ? ? ? ? <Logger name="jmri.jmrix.dccpp" level="DEBUG"/>

Regards,
Billybob









--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Jean-Louis,
?
I did not see a problem with your edit.
I have uploaded my default.lcf.xml file into this folder --?
?
You can also use this folder to upload your session.log file.
?
Regards,
Ash__
?


 

Ash__,

The problem occured this morning on turnout 2 (T2) DCC EX VPin 201. I have uploaded the file according to your needs.




Thanks for your help.

JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Dimanche 27 Octobre 2024 19:20:05
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
?
I did not see a problem with your edit.
I have uploaded my default.lcf.xml file into this folder --?
?
You can also use this folder to upload your session.log file.
?
Regards,
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Ash__

Another example where the three turnouts are inconsistent.? I also uploaded the file with a V2 in its name.? Thanks.




JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Mercredi 23 Octobre 2024 22:59:32
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
?
To capture a log file with additional detail of commands sent/received, you may want to enable DEBUG in the default.lcf.xml file in the
C:\USERS\username\JMRI directory
.. if the file does not already exist, copy the one from C:\Program Files (x86)\JMRI?
?
Once JMRI is started and you see the inconsistent status, upload the
C:\USERS\username\JMRI\log\session.log file to problems being worked on
?
Note that the messages.log file can grow very large if this DEBUG is left enabled.
?
Regards,
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Jean Louis,

Since the JMRI turnout state depends on the BSTURNOUT feedback mechanism, you need to confirm that the command station is actually sending the BSTURNOUT feedback message for every turnout change at the layout.

Dave Sand


----- Original message -----
From: Jean-Louis Free <jeanlouisdelestre@...>
Subject: Re: [jmriusers] Inconsistent state of turnouts #turnouts
Date: Monday, October 28, 2024 8:48 AM

Ash__

Another example where the three turnouts are inconsistent.? I also uploaded the file with a V2 in its name.? Thanks.






JeanLouisDelestre@...



De: "Ash__" <mcc9345@...>
·¡²Ô±¹´Ç²â¨¦: Mercredi 23 Octobre 2024 22:59:32
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
?
To capture a log file with additional detail of commands sent/received, you may want to enable DEBUG in the default.lcf.xml file in the
C:\USERS\username\JMRI directory
.. if the file does not already exist, copy the one from C:\Program Files (x86)\JMRI?

?
Once JMRI is started and you see the inconsistent status, upload the
C:\USERS\username\JMRI\log\session.log file to problems being worked on
?
Note that the messages.log file can grow very large if this DEBUG is left enabled.
?
Regards,
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Thanks you Dave.

I will let Ash__ have a look at the log file first.

JeanLouisDelestre@...


De: "Dave Sand" <ds@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Lundi 28 Octobre 2024 15:44:39
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean Louis,

Since the JMRI turnout state depends on the BSTURNOUT feedback mechanism, you need to confirm that the command station is actually sending the BSTURNOUT feedback message for every turnout change at the layout.

Dave Sand


----- Original message -----
From: Jean-Louis Free <jeanlouisdelestre@...>
Subject: Re: [jmriusers] Inconsistent state of turnouts #turnouts
Date: Monday, October 28, 2024 8:48 AM

Ash__

Another example where the three turnouts are inconsistent.? I also uploaded the file with a V2 in its name.? Thanks.






JeanLouisDelestre@...



De: "Ash__" <mcc9345@...>
·¡²Ô±¹´Ç²â¨¦: Mercredi 23 Octobre 2024 22:59:32
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
?
To capture a log file with additional detail of commands sent/received, you may want to enable DEBUG in the default.lcf.xml file in the
C:\USERS\username\JMRI directory
.. if the file does not already exist, copy the one from C:\Program Files (x86)\JMRI?

?
Once JMRI is started and you see the inconsistent status, upload the
C:\USERS\username\JMRI\log\session.log file to problems being worked on
?
Note that the messages.log file can grow very large if this DEBUG is left enabled.
?
Regards,
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?



--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Jean-Louis,
Thanks for the log files.? The debug info below is from the first file.
?
You wrote "At startup I run a route setting all my turnout to closed"
?
I had not noticed the difference in the images you attached.? (not the log shown here)
One shows turnouts 201, 202 are marked inconsistent; the other has turnout 200 marked inconsistent.
Perhaps the inconsistent turnout is reported following your route, if status is reported closed at startup.??
?
The session.log shows that DCC-EX reported turnout status from the <s> and <T> commands.
2024-10-28T06:32:58,524 ? ?DEBUG - Adding 'T' to send queue [main]
2024-10-28T06:33:00,732 ? ?DEBUG - Received: 'H 200 1' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,743 ? ?DEBUG - Received: 'H 201 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,748 ? ?DEBUG - Received: 'H 202 1' [serial.SerialDCCppPacketizer Receive thread]
?
Since 201 was already closed, no reply was received from DCC-EX
2024-10-28T06:33:04,554 ? ?INFO ?- Setting route "All closed" at startup. [main]
2024-10-28T06:33:06,547 ? ?DEBUG - Sending Message: 'T 200 0' [Turnout T1 setCommandedStateAtInterval]
2024-10-28T06:33:06,795 ? ?DEBUG - Sending Message: 'T 201 0' [Turnout T2 setCommandedStateAtInterval]
2024-10-28T06:33:07,058 ? ?DEBUG - Sending Message: 'T 202 0' [Turnout T3 setCommandedStateAtInterval]
2024-10-28T06:33:07,109 ? ?DEBUG - Received: 'H 200 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:07,305 ? ?DEBUG - Received: 'H 202 0' [serial.SerialDCCppPacketizer Receive thread]
?
To obtain the turnouts status, you might send the <T> command to DCC-EX.
You can test this from the Send DCC++ Commands window.
If it works, you can use the SendDCCppMessages.py file to send it following your route.
C:\Program Files (x86)\JMRI\jython\DCC-EX\SendDCCppMessages.py
?
Let me know if the <T> command will resolve the issue, and I will report this on the DCC-EX discord channel.
Perhaps there should be a reply, regardless of existing status.
?
------------------------------------
Perhaps someone can advise on this ERROR message, as seen in your log file
?
managers.JmriUserPreferencesManager ? ERROR - setClassDescription(jmri.jmrit.dispatcher.OptionsMenu) failed in newInstance [AWT-EventQueue-0]
java.lang.NoSuchMethodException: jmri.jmrit.dispatcher.OptionsMenu.<init>()
? ? at java.lang.Class.getConstructor0(Unknown Source) ~[?:?]
? ? at java.lang.Class.getDeclaredConstructor(Unknown Source) ~[?:?]
? . . .
?
Regards,
?
Ash__
?


 

OK, I will.

Thanks.


JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Lundi 28 Octobre 2024 18:32:00
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
Thanks for the log files.? The debug info below is from the first file.
?
You wrote "At startup I run a route setting all my turnout to closed"
?
I had not noticed the difference in the images you attached.? (not the log shown here)
One shows turnouts 201, 202 are marked inconsistent; the other has turnout 200 marked inconsistent.
Perhaps the inconsistent turnout is reported following your route, if status is reported closed at startup.??
?
The session.log shows that DCC-EX reported turnout status from the <s> and <T> commands.
2024-10-28T06:32:58,524 ? ?DEBUG - Adding 'T' to send queue [main]
2024-10-28T06:33:00,732 ? ?DEBUG - Received: 'H 200 1' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,743 ? ?DEBUG - Received: 'H 201 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,748 ? ?DEBUG - Received: 'H 202 1' [serial.SerialDCCppPacketizer Receive thread]
?
Since 201 was already closed, no reply was received from DCC-EX
2024-10-28T06:33:04,554 ? ?INFO ?- Setting route "All closed" at startup. [main]
2024-10-28T06:33:06,547 ? ?DEBUG - Sending Message: 'T 200 0' [Turnout T1 setCommandedStateAtInterval]
2024-10-28T06:33:06,795 ? ?DEBUG - Sending Message: 'T 201 0' [Turnout T2 setCommandedStateAtInterval]
2024-10-28T06:33:07,058 ? ?DEBUG - Sending Message: 'T 202 0' [Turnout T3 setCommandedStateAtInterval]
2024-10-28T06:33:07,109 ? ?DEBUG - Received: 'H 200 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:07,305 ? ?DEBUG - Received: 'H 202 0' [serial.SerialDCCppPacketizer Receive thread]
?
To obtain the turnouts status, you might send the <T> command to DCC-EX.
You can test this from the Send DCC++ Commands window.
If it works, you can use the SendDCCppMessages.py file to send it following your route.
C:\Program Files (x86)\JMRI\jython\DCC-EX\SendDCCppMessages.py
?
Let me know if the <T> command will resolve the issue, and I will report this on the DCC-EX discord channel.
Perhaps there should be a reply, regardless of existing status.
?
------------------------------------
Perhaps someone can advise on this ERROR message, as seen in your log file
?
managers.JmriUserPreferencesManager ? ERROR - setClassDescription(jmri.jmrit.dispatcher.OptionsMenu) failed in newInstance [AWT-EventQueue-0]
java.lang.NoSuchMethodException: jmri.jmrit.dispatcher.OptionsMenu.<init>()
? ? at java.lang.Class.getConstructor0(Unknown Source) ~[?:?]
? ? at java.lang.Class.getDeclaredConstructor(Unknown Source) ~[?:?]
? . . .
?
Regards,
?
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Ash__,

It looks OK.

I tried twice, the fisrt attempt there was one turnout inconsistent, but after running the <T> command everything was OK on the layout.?

The second time all three tirnouts were inconsistent ,but OK after running? the <T> command.

I'll try to see if the initial status has some importance or not.

Will keep you informed.


JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Lundi 28 Octobre 2024 18:32:00
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
Thanks for the log files.? The debug info below is from the first file.
?
You wrote "At startup I run a route setting all my turnout to closed"
?
I had not noticed the difference in the images you attached.? (not the log shown here)
One shows turnouts 201, 202 are marked inconsistent; the other has turnout 200 marked inconsistent.
Perhaps the inconsistent turnout is reported following your route, if status is reported closed at startup.??
?
The session.log shows that DCC-EX reported turnout status from the <s> and <T> commands.
2024-10-28T06:32:58,524 ? ?DEBUG - Adding 'T' to send queue [main]
2024-10-28T06:33:00,732 ? ?DEBUG - Received: 'H 200 1' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,743 ? ?DEBUG - Received: 'H 201 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,748 ? ?DEBUG - Received: 'H 202 1' [serial.SerialDCCppPacketizer Receive thread]
?
Since 201 was already closed, no reply was received from DCC-EX
2024-10-28T06:33:04,554 ? ?INFO ?- Setting route "All closed" at startup. [main]
2024-10-28T06:33:06,547 ? ?DEBUG - Sending Message: 'T 200 0' [Turnout T1 setCommandedStateAtInterval]
2024-10-28T06:33:06,795 ? ?DEBUG - Sending Message: 'T 201 0' [Turnout T2 setCommandedStateAtInterval]
2024-10-28T06:33:07,058 ? ?DEBUG - Sending Message: 'T 202 0' [Turnout T3 setCommandedStateAtInterval]
2024-10-28T06:33:07,109 ? ?DEBUG - Received: 'H 200 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:07,305 ? ?DEBUG - Received: 'H 202 0' [serial.SerialDCCppPacketizer Receive thread]
?
To obtain the turnouts status, you might send the <T> command to DCC-EX.
You can test this from the Send DCC++ Commands window.
If it works, you can use the SendDCCppMessages.py file to send it following your route.
C:\Program Files (x86)\JMRI\jython\DCC-EX\SendDCCppMessages.py
?
Let me know if the <T> command will resolve the issue, and I will report this on the DCC-EX discord channel.
Perhaps there should be a reply, regardless of existing status.
?
------------------------------------
Perhaps someone can advise on this ERROR message, as seen in your log file
?
managers.JmriUserPreferencesManager ? ERROR - setClassDescription(jmri.jmrit.dispatcher.OptionsMenu) failed in newInstance [AWT-EventQueue-0]
java.lang.NoSuchMethodException: jmri.jmrit.dispatcher.OptionsMenu.<init>()
? ? at java.lang.Class.getConstructor0(Unknown Source) ~[?:?]
? ? at java.lang.Class.getDeclaredConstructor(Unknown Source) ~[?:?]
? . . .
?
Regards,
?
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Ash__,

I'm not really an expert in Python.

I found the soucre file, but I have no idea how to modify it to send the <T> command.

Can you help?

JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Lundi 28 Octobre 2024 18:32:00
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
Thanks for the log files.? The debug info below is from the first file.
?
You wrote "At startup I run a route setting all my turnout to closed"
?
I had not noticed the difference in the images you attached.? (not the log shown here)
One shows turnouts 201, 202 are marked inconsistent; the other has turnout 200 marked inconsistent.
Perhaps the inconsistent turnout is reported following your route, if status is reported closed at startup.??
?
The session.log shows that DCC-EX reported turnout status from the <s> and <T> commands.
2024-10-28T06:32:58,524 ? ?DEBUG - Adding 'T' to send queue [main]
2024-10-28T06:33:00,732 ? ?DEBUG - Received: 'H 200 1' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,743 ? ?DEBUG - Received: 'H 201 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:00,748 ? ?DEBUG - Received: 'H 202 1' [serial.SerialDCCppPacketizer Receive thread]
?
Since 201 was already closed, no reply was received from DCC-EX
2024-10-28T06:33:04,554 ? ?INFO ?- Setting route "All closed" at startup. [main]
2024-10-28T06:33:06,547 ? ?DEBUG - Sending Message: 'T 200 0' [Turnout T1 setCommandedStateAtInterval]
2024-10-28T06:33:06,795 ? ?DEBUG - Sending Message: 'T 201 0' [Turnout T2 setCommandedStateAtInterval]
2024-10-28T06:33:07,058 ? ?DEBUG - Sending Message: 'T 202 0' [Turnout T3 setCommandedStateAtInterval]
2024-10-28T06:33:07,109 ? ?DEBUG - Received: 'H 200 0' [serial.SerialDCCppPacketizer Receive thread]
2024-10-28T06:33:07,305 ? ?DEBUG - Received: 'H 202 0' [serial.SerialDCCppPacketizer Receive thread]
?
To obtain the turnouts status, you might send the <T> command to DCC-EX.
You can test this from the Send DCC++ Commands window.
If it works, you can use the SendDCCppMessages.py file to send it following your route.
C:\Program Files (x86)\JMRI\jython\DCC-EX\SendDCCppMessages.py
?
Let me know if the <T> command will resolve the issue, and I will report this on the DCC-EX discord channel.
Perhaps there should be a reply, regardless of existing status.
?
------------------------------------
Perhaps someone can advise on this ERROR message, as seen in your log file
?
managers.JmriUserPreferencesManager ? ERROR - setClassDescription(jmri.jmrit.dispatcher.OptionsMenu) failed in newInstance [AWT-EventQueue-0]
java.lang.NoSuchMethodException: jmri.jmrit.dispatcher.OptionsMenu.<init>()
? ? at java.lang.Class.getConstructor0(Unknown Source) ~[?:?]
? ? at java.lang.Class.getDeclaredConstructor(Unknown Source) ~[?:?]
? . . .
?
Regards,
?
Ash__
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


 

Jean-Louis,
Before making changes, test sending the <T> command to see if it will work.
?
upper case T can be sent from the Send DCC++ Command screen in JMRI.
?
Please advise if it works.
?
--------------------------------------------------
How to use the SendDCCppMessages.py file
--------------------------------------------------
With a single DCC-EX connection, the defaults should work.
Comment # in front of the DCC-EX 'send' commands which you do not want.
Save the file in your C:\Users\username\JMRI directory.
JMRI - File - Preferences - Startup:? Add a line to run script, and select the file you saved?
?


 

Ash__,

Yes it works, but I dont't know how to modify the specified python file.?

Can you help ?

Thanks.

JeanLouisDelestre@...


De: "Ash__" <mcc9345@...>
?: [email protected]
·¡²Ô±¹´Ç²â¨¦: Mardi 29 Octobre 2024 16:43:43
Objet: Re: [jmriusers] Inconsistent state of turnouts #turnouts

Jean-Louis,
Before making changes, test sending the <T> command to see if it will work.
?
upper case T can be sent from the Send DCC++ Command screen in JMRI.
?
Please advise if it works.
?
--------------------------------------------------
How to use the SendDCCppMessages.py file
--------------------------------------------------
With a single DCC-EX connection, the defaults should work.
Comment # in front of the DCC-EX 'send' commands which you do not want.
Save the file in your C:\Users\username\JMRI directory.
JMRI - File - Preferences - Startup:? Add a line to run script, and select the file you saved?
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.8 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?