¿ªÔÆÌåÓý

Locked Re: NCE USB Help


 

¿ªÔÆÌåÓý

Luke,

On 13 Sep 2019, at 4:09 AM, luketheeminer via Groups.Io <luketheeminer@...> wrote:

Re installed the drivers like you said and tried the new version?

a few different errors.?

Here is my log at 19200 baud rate

...

2019-09-12 14:05:04,307 util.prefs? ? ? ? ? ? ? ? ? ? ? ? ? ? WARN? - Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. [AWT-EventQueue-0]

I thought we'd squashed this one. As far as I know, it's not a show-stopper. Matthew Harris may like to comment...

2019-09-12 14:05:06,355 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

2019-09-12 14:05:06,456 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]

2019-09-12 14:05:16,458 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on the reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

2019-09-12 14:05:16,558 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]

2019-09-12 14:05:26,559 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: AA consecutive timeouts = 2 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

2019-09-12 14:05:26,659 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]

2019-09-12 14:05:36,659 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: AA consecutive timeouts = 3 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

2019-09-12 14:05:36,759 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]

log4j:ERROR Failed to flush writer,

java.lang.NullPointerException

at javax.swing.text.DefaultHighlighter.changeHighlight(Unknown Source)

at javax.swing.text.DefaultCaret$Handler.insertUpdate(Unknown Source)

at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)

at javax.swing.text.AbstractDocument.handleInsertString(Unknown Source)

at javax.swing.text.AbstractDocument.insertString(Unknown Source)

at javax.swing.text.PlainDocument.insertString(Unknown Source)

at javax.swing.JTextArea.append(Unknown Source)

at apps.SystemConsole.updateTextArea(SystemConsole.java:362)

at apps.SystemConsole.access$3(SystemConsole.java:351)

at apps.SystemConsole$1.write(SystemConsole.java:382)

at java.io.PrintStream.write(Unknown Source)

at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)

at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)

at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)

at sun.nio.cs.StreamEncoder.flush(Unknown Source)

at java.io.OutputStreamWriter.flush(Unknown Source)

at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:59)

at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:324)

at org.apache.log4j.WriterAppender.append(WriterAppender.java:162)

at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)

at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)

at org.apache.log4j.Category.callAppenders(Category.java:206)

at org.apache.log4j.Category.forcedLog(Category.java:391)

at org.apache.log4j.Category.log(Category.java:856)

at org.slf4j.impl.Log4jLoggerAdapter.warn(Log4jLoggerAdapter.java:401)

at jmri.jmrix.nce.NceConnectionStatus.nceEpromPoll(NceConnectionStatus.java:150)

at jmri.jmrix.nce.NceTrafficController.pollMessage(NceTrafficController.java:430)

at jmri.jmrix.AbstractMRTrafficController.transmitLoop(AbstractMRTrafficController.java:469)

at jmri.jmrix.AbstractMRTrafficController$1.run(AbstractMRTrafficController.java:770)

at java.lang.Thread.run(Unknown Source)


I'd suspect this is a one-off, but don't know why. Is it reproducible??

2019-09-12 14:05:46,775 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: AA consecutive timeouts = 4 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

2019e-09-12 14:05:46,875 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]


And here is my log at 9600 baud rate
2019-09-12 14:07:07,310 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2019-09-12 14:07:07,322 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\Heavy\JMRI\log\messages.log [main]
2019-09-12 14:07:07,323 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\Heavy\JMRI\log\session.log [main]
2019-09-12 14:07:07,335 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.17.4+Rbf0d1af starts under Java 1.8.0_45 on Windows 8.1 amd64 v6.3 at Thu Sep 12 14:07:07 EDT 2019 [main]
2019-09-12 14:07:07,555 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile My_JMRI_Railroad.3f4675c3 [main]
2019-09-12 14:07:07,853 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using jmri-kYhD5Lo3uvljafAGMxHvlr-3f4675c3 as the JMRI storage identity for profile id 3f4675c3 [AWT-EventQueue-0]
2019-09-12 14:07:07,973 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2019-09-12 14:07:08,361 usbdriver.UsbDriverAdapter? ? ? ? ? ? INFO? - NCE USB COM10? port opened at 9600 baud [main]
2019-09-12 14:07:08,668 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2019-09-12 14:07:08,668 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is C:\Users\Heavy\JMRI\My_JMRI_Railroad.jmri\ [main]
2019-09-12 14:07:08,668 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is C:\Users\Heavy\JMRI\My_JMRI_Railroad.jmri\ [main]
2019-09-12 14:07:08,669 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\Heavy\JMRI\ [main]
2019-09-12 14:07:08,669 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\Heavy\ [main]
2019-09-12 14:07:08,669 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
2019-09-12 14:07:18,498 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-09-12 14:07:18,598 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]
2019-09-12 14:07:28,599 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-09-12 14:07:28,700 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-09-12 14:07:38,702 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: AA consecutive timeouts = 2 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-09-12 14:07:38,802 nce.NceConnectionStatus? ? ? ? ? ? ? ?WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]


?
Device manager it is the drivers are working properly the usb cable its self works great.
Did not notice any led activity.

I think it's time we try a non-JMRI test of this. I'll get back to you later on this one.

Although it seems the small black tower on the usb side gets warm

I'm not sure what a "small black tower on the usb side" is. It's not unusual for things to get warm. If something is too hot for sustained finger contact, that's a problem.

Dave in Australia

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