Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
Ken,
On 25 Nov 2019, at 2:44 PM, Ken Cameron <kcameron@...> wrote:The original USB V7 documentation showed 7.3.7 for ALLSYS. The revised USB V7 documentation shows 7.3.7 for PowerCab. The revised USB V7 documentation shows 7.3.1 for SB5 (19,200). The revised USB V7 documentation no longer shows ALLSYS. Dave in Australia |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
I've found better results with the 7.3.7 (all jumpers on) setting.
Effectively it says the USB will attempt to pass all commands to the command station. All the other settings have combinations of restrictions that match different versions of different command station. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.org www.syracusemodelrr.org |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
¿ªÔÆÌåÓýDan,
Correct, but there's further qualification needed regarding firmware versions: If your Power Cab firmware (second screen at startup of your Power Cab, after the "Pro Cab V1.3" message) is: - "V1.28C" the only valid addresses for extra cabs are 3 & (unofficially) 4. - "V1.65" the only valid addresses for extra throttles ?are 3, 4 and 5. Non-throttle devices such as the NCE USB, Mini Panel or AIU can also use addresses 8, 9 & 10. However if you have ever done a System Reset, you will have lost all the extra addresses and be back to the V1.28C restrictions. - "V1.65B" the only valid addresses for extra throttles ?are 3, 4 and 5. Non-throttle devices such as the NCE USB, Mini Panel or AIU can also use addresses 8, 9 & 10. Similar ?comments apply to the SB3/5 with the range 2-5 for V1.28 and 2-7 for V1.65B. Dave in Australia |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
¿ªÔÆÌåÓýDan, Here's a link to a table that shows how to properly configure the jumpers for the USB.? I believe you should set up your jumpers so you get a 7.3.1 response, not a 7.3.7 that's showing in your console text. You are quite correct, as I had posted in an earlier message on this thread, which shows exactly what jumper and JMRI settings to use. It appears Russ may not have seen it: Dave in Australia |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
Here's a link to a table that shows how to properly configure the jumpers for the USB.? I believe you should set up your jumpers so you get a 7.3.1 response, not a 7.3.7 that's showing in your console text.
Dan |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
Found this on the NCE site with regards to AIUs:
Valid cab addresses (for cabs in) a Powercab system are 2,3,4, or 5. Total of 4 actual cabs. 6 and 7 are unused. 8,9 and 10 can be used for other cab devices (AIU,USB) only. ?Valid cab addresses (for cabs) in an SB5 system are 2,3,4,5, 6 and 7. Total of 6 actual cabs. ?8,9 and 10 can be used for other cab devices (AIU,USB) only. ?If the AIU cab address is higher than 10 it will not work due to the limits of the command stations. |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
In your system console text, it shows that there is a response to the command to poll the AIU, a "30" which means command not supported.? I believe you need to have your AIUs in a lower address range for it to work in your setup.? So I think your very close to getting it working.
Dan |
Locked
Re: Signaling feedback to Panels
Bob,
toggle quoted message
Show quoted text
As I remember it, the issue with the SE8c, LDT, etc. devices was that they use turnout commands in a way that requires remembering the last sent message information rather than the last state of each turnout's information. I.e. there is no way to look at the turnout table entries and deduce the aspect because the granularity is wrong. (the number of turnouts used does not match the number of aspects displayed) In the case of a DCC signal mast the last mast command always matches the current aspect. (same for an OpenLCB/LCC aspect command) As for the alleged lack of sufficient mast aspects in the NMRA extended accessory message range of 32 that someone mentioned, I would like to hear about the rule set that requires more than 32 aspects. (I'm not holding my breath) Granted there are way more than 32 aspect names in the world, but not found in the same rule book, so we probably don't need to expend a lot of electrons worrying about that issue. Dick :) On 11/24/2019 2:32 PM, Bob Jacobsen wrote:
If you wanted to have signal logic in only one place (perhaps a good idea for a model railroad, but not what the prototype does in most CTC cases), then having Held be one of the set of aspects might work sometimes. JMRI could display the ¡°Held¡± state on its panels, which is the default behavior. There¡¯s an option to display the underlying aspect, which wouldn¡¯t be available, but I¡¯m not sure how often that¡¯s used. I don¡¯t know how CTC would work in this case as JMRI wouldn¡¯t be able to tell ¡°Held-but-otherwise-Clear¡± from ¡°Held-but-otherwise-Approach¡±, for example, but that¡¯s a problem for the logic which would (have to be) fully outside JMRI. |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
Russel,
Since the log shows the line: 2019-11-24 17:07:42,699 nce.NceConnectionStatus INFO - NCE EPROM revision = 7.3.7 [AWT-EventQueue-0] We know you are talking to the USB ok. Now it would seem you have it looking for a AIU device at cab 6 address. The log shows no response for it. Same for a device using cab 5 address. Do you have other AIU boards addressed? Do they work? One thing I don't recall you mentioning is the firmware version in the SB5. Depending on that, address issues might exist. Also, what is the cab id for the USB board you are using? That will give another clue. I recall 1.65B had a problem with falling back to the smaller range equal to the 1.28 firmware is a command station reset had ever been performed. So if you check that, it could be important. In the meantime you could test the AIU at cab id 2, 3, 4 as a test, using whatever isn't being used by the USB. For that test, a throttle isn't needed. That can confirm the boards are using. Of hand, I'm guessing a problem with the address dip switches could be the likely issue. Try using the command "NCE->Show Cabs" it will confirm what cab ids are in use. Hit the refresh once or twice just to make sure. This is the best way to see if you have an address issue with the boards. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.org www.syracusemodelrr.org |
Locked
Re: Help with JMRI and nce usb,sb5,aiu01,bd20 (On the Verge of Chucking out my SBS)
Ken, Spoke to soon - I am not getting the following System Console readout: 2019-11-24 17:07:38,280 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- * JMRI log ** [main] 2019-11-24 17:07:38,322 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is appended to file: C:\Users\wilki\JMRI\log\messages.log [main] 2019-11-24 17:07:38,330 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is stored in file: C:\Users\wilki\JMRI\log\session.log [main] 2019-11-24 17:07:38,350 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 4.16+R6f9aced starts under Java 1.8.0_191 on Windows 10 x86 v10.0 at Sun Nov 24 17:07:38 MST 2019 [main] 2019-11-24 17:07:39,131 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile Minturn__Leadville.3ec3124a [main] 2019-11-24 17:07:40,847 node.NodeIdentity ? ? ? ? ? ? ? ? ? ? INFO ?- Using 52ab71e0-0a5b-11e9-8000-00051bd280dd as the JMRI storage identity for profile id 3ec3124a [AWT-EventQueue-0] 2019-11-24 17:07:41,347 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "NCE" [main] 2019-11-24 17:07:42,581 usbdriver.UsbDriverAdapter ? ? ? ? ? ?INFO ?- NCE USB COM3 port opened at 19200 baud [main] 2019-11-24 17:07:42,699 nce.NceConnectionStatus ? ? ? ? ? ? ? INFO ?- NCE EPROM revision = 7.3.7 [AWT-EventQueue-0] 2019-11-24 17:07:43,764 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path program: is C:\Program Files (x86)\JMRI\ [main] 2019-11-24 17:07:43,764 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path preference: is C:\Users\wilki\JMRI\Minturn__Leadville.jmri\ [main] 2019-11-24 17:07:43,779 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path profile: is C:\Users\wilki\JMRI\Minturn__Leadville.jmri\ [main] 2019-11-24 17:07:43,779 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path settings: is C:\Users\wilki\JMRI\ [main] 2019-11-24 17:07:43,779 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path home: is C:\Users\wilki\ [main] 2019-11-24 17:07:43,779 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main] 2019-11-24 17:07:45,047 PanelPro.PanelPro ? ? ? ? ? ? ? ? ? ? INFO ?- Main initialization done [main] 2019-11-24 17:08:53,446 nce.NceSensorManager ? ? ? ? ? ? ? ? ?WARN ?- timeout awaiting poll response for AIU 6 [NCE Sensor Poll] 2019-11-24 17:08:53,446 jmrix.AbstractMRTrafficController ? ? WARN ?- Timeout on reply to message: 9B 06 consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread] 2019-11-24 17:08:53,663 jmrix.AbstractMRTrafficController ? ? WARN ?- timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread] 2019-11-24 17:09:33,479 nce.NceSensorManager ? ? ? ? ? ? ? ? ?WARN ?- timeout awaiting poll response for AIU 6 [NCE Sensor Poll] 2019-11-24 17:09:33,479 jmrix.AbstractMRTrafficController ? ? WARN ?- Timeout on reply to message: 9B 06 consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread] 2019-11-24 17:09:33,697 jmrix.AbstractMRTrafficController ? ? WARN ?- timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread] 2019-11-24 17:10:13,496 nce.NceSensorManager ? ? ? ? ? ? ? ? ?WARN ?- timeout awaiting poll response for AIU 5 [NCE Sensor Poll] 2019-11-24 17:10:13,496 jmrix.AbstractMRTrafficController ? ? WARN ?- Timeout on reply to message: 9B 05 consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread] 2019-11-24 17:10:13,531 jmrix.AbstractMRTrafficController ? ? WARN ?- timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread] 2019-11-24 17:10:18,930 audio.JoalAudioFactory ? ? ? ? ? ? ? ?INFO ?- Initialised JOAL using OpenAL: vendor - OpenAL Community version - 1.1 ALSOFT 1.15.1 [Listed Table Generation] 2019-11-24 17:10:53,499 nce.NceSensorManager ? ? ? ? ? ? ? ? ?WARN ?- timeout awaiting poll response for AIU 6 [NCE Sensor Poll] 2019-11-24 17:10:53,499 jmrix.AbstractMRTrafficController ? ? WARN ?- Timeout on reply to message: 9B 06 consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread] 2019-11-24 17:10:53,704 jmrix.AbstractMRTrafficController ? ? WARN ?- timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread] 2019-11-24 17:11:33,501 nce.NceSensorManager ? ? ? ? ? ? ? ? ?WARN ?- timeout awaiting poll response for AIU 5 [NCE Sensor Poll] 2019-11-24 17:11:33,501 jmrix.AbstractMRTrafficController ? ? WARN ?- Timeout on reply to message: 9B 05 consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread] 2019-11-24 17:11:33,706 jmrix.AbstractMRTrafficController ? ? WARN ?- timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread] On Thu, Nov 21, 2019 at 6:43 PM Ken Cameron <kcameron@...> wrote: I would suggest that you use all four jumpers on and change your baud rate |
Locked
Re: Read type from decoder
Paul,
On 25 Nov 2019, at 10:13 AM, Paul Champlin <paul.champlin@...> wrote:If you get "Found mfg 123 (Masoth Electronic, GMBH) version 123; no such decoder defined.", and/or all CVs return a value of 123 and long address 15,227 it is 100% certain that the configuration is not set up to communicate with the decoder and that one of two possibilities have happened: 1) Preferences->Defaults has Service Programmer (and possibly other items) set to Internal. 2) Preferences->Connections has System Connection set to Simulator. Possibility (1) is the most likely for older JMRI versions. It would most likely have occurred due to a previous failure to open a connection. If there is no alternative to Internal, you currently have a problem with the connection to your DCC system and you need to resolve the connection problem before proceeding. If an alternative is available select that, restart JMRI and try again. If you have JMRI 4.16 or later, possibility (1) is less likely to occur. Dave in Australia |
Locked
Read type from decoder
What am I doing wrong? In an attempt to build my Roster, when I ¡°create new loco¡± and select ?¡°Read type from decoder¡± all I get on multiple locos is ¡°Found mfg 123 (Massoth Elektronik, GmbH) version 123; no such decoder defined¡±
Thoughts? thanks Paul |
Locked
Re: Signaling feedback to Panels
At least in some systems, ¡°dark¡± is a valid appearance, at least for parts of a mast.
So JMRI uses the lit vs unlit language to try to separate ¡°the signals lamps are not powered due to e.g. approach lighting¡±; ¡°dark¡± is used to mean ¡°this signals appearance includes this lamp not showing any light¡± On Nov 24, 2019, at 2:27 PM, Ken Cameron <kcameron@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Signaling feedback to Panels
It should be mentioned that when a signal is dark, it would still have an
aspect, like stop or clear, it just would not be lighting the output. This is needed because other signals next to it would base their aspects on the aspect of this signal. If the concept of signal logic is integrated inside the signal, it being dark should hide what state it would show should it become lit. Held is kind of different, while it isn't really an aspect, it causes a specific aspect regardless of the signal logic. Typical case is stop (or danger) even when the logic would otherwise has computed clear. I think this is why Bob J was pointing out that simply knowing the appearance (displayed aspect) does not let you know about these other features. So depending on what is known or not about the signal determines if you can accurately represent it externally to that signal. Granted for some people, it will need the extra details to be considered right. Others will not require that high of an accuracy about the signal. I think this ambiguity is part of why JMRI doesn't do some things others might consider simple. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.org www.syracusemodelrr.org |
Locked
Re: Signaling feedback to Panels
Bob J.,
Without JMRI Java code changes, differentiating something like "held, but would be clear if not held" from other "held" aspects would indeed be impossible to differentiate via watching the DCC Extended Stationary Decoder (or equivalent) traffic on the communication media. With code changes, and signal system definition changes, one could include "Held-but-would-be-clear", "Held-but-would-be-Approach", etc. as unique aspects with unique DCC Extended Accessory Decoder aspect numbers, in the signal system definition. That would likely cause follow-on problems, though, especially for any code that monitors signal aspect information to determine how to run a train. At least in the common prototype "approach-lit" signal circuits I have seen, the "aspect" information is always calculated, and is always reported to the signal(s) protecting movements in the approach to the signal, regardless of its lit/dark state. Whether or not a given signal is lit is not reported to the signals in the approach to the signal. JMRI models this at the mast level, but it does not model this behavior as part of DCC Extended Stationary Decoder (or equivalent) aspects. One could spend a LOT of effort trying to model these kinds of behavior as part of the JMRI signal system definition, the DCC Extended Stationary Decoder traffic, and the Extended Stationary Decoder configuration. And face all of the issues of "too few aspects" available in the DCC packet, and the coding issues associated with all of the other JMRI features that rely on signal aspects for proper movement of trains and calculation of signals. Such a JMRI coding effort seems like too much effort for dubious gain. Regards, Billybob |
Locked
Re: speed matching
¿ªÔÆÌåÓýMy reply comments are interspersed below. ? Also,? have you used the DecoderPro ¡°New Loco¡± button to identify the decoder or did you select it from a list.? (I¡¯m presuming you are using DecoderPro since you are asking on the Jmriusers forum.)? Identifying the exact make and model decoder often goes a long way in providing help. ? I don¡¯t think you will find the E-Z Command decoders very satisfying.? I consider them an ¡®entry level¡¯ decoder; you desire to control speeds is above entry level. ? Ross ? From: [email protected] <[email protected]> On Behalf Of
george.pendergraft
Sent: Sunday, November 24, 2019 3:22 PM To: [email protected] Subject: Re: [jmriusers] speed matching ? Hi Ross, ?
?
? ? And as I said before using the speed table did nothing to change the speed slow or fast. I even set the table to go all out 255, but have found since that the decoder will not allow that. ?
?
?
?
? ? Thanks |
Locked
Re: Scripting, Jython and importing selfwritten functions - crash and burn
Hi Dave. I never thought of that. Thank for your advice. One last?question (maybe). The function file? JMRI loads that and keeps it in memory it seems. Changes made in that file will not show up in the main script. Is there a way to force the reload of the function file without having to close down JMRI itself? DC s?n. 24. nov. 2019 kl. 18:36 skrev Dave Sand <ds@...>:
|
Locked
Re: speed matching
George, Did you let DecoderPro determine the decoder type via " Read type from decoder"?
If the DecoderPro definition says speed table is an option but your testing shows different, then the definition file could be erroneous. What are the values of CV7 and CV8 ?? Maybe we need to correct the definition.? Only the Bachmann 36-550 has the speed table option. Marc |
Locked
Possible Bug? DCC++ Base Station Configuration
Possibly not a bug because the solution is sort of expected, It may just be me but it took me 3 days to discover this.
JMRI 4.17.6 and older Windows 10 Cannot read from or write to the DCC++ eeprom if using one DCC++ connection with other(s) disabled. Acces returns when disabled connections are deleted. Cheers Steve ? -- Steve 009 in UK |