Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
DCC++ Arduino booster does not ack Raspberry Pi message
New to the group and first post!
I have a DCC++ system with a Raspberry Pi / JMRI command station with a Arduino UNO booster with a Pololu motor shield with no analog current sensing feedback. It has worked well during its creation during the last few weeks. I now get an error message "Timeout on reply to message .... in serial.SerialDCCppPacketizer"? I tried deleting the DCC++ connection and re-creating it, but still get the error message and the On / Off command button says Unknown. The Arduino seems to be doing its thing with the motor driver generating a DCC signal and the Arduino light blinks each time a new error message is displayed in the "Display Message Log". If the Arduino is receiving a message, then something must be missing that is required to send an acknowledgement back to the Pi. Any ideas as to what this could be? Thank You Terry Veldhuizen |
Locked
Parsing Error
I had not used the panel pro program in a while. I have continued to run decoder pro and have run a couple of updates. I now have 4.14 on Windows 7. Tonight I tried to open the attached panel pro XML file and it is showing parsing error. I looked with an editor and could not see the duplicate listing for "Sidney East C" Any help would be welcome. My next step is rebuild the panel. I have uploaded the XML to the CTC folder.
Thanks |
Locked
Re: Failed to delete old index file [initialize decoder index] problem
Doron and others,
On 3 Jun 2019, at 1:14 PM, Dave Heap via Groups.Io <dgheap@...> wrote:I apologise, that wasn't well worded. I should have said "My personal opinion is that it's inappropriate to use a preference:decoders folder in an IDE ...". Others may differ... Dave in Australia |
Locked
Re: Storing roster (and other) files under different customized names
¿ªÔÆÌåÓýJoern, But there is an equivalent of Save As! ?From the foster, right click and Duplicate..... Mick has hit the nail right on the head. There is a "Save As..." equivalent called "Duplicate" but you need to do it before customising. As a JMRI developer specialising in DecoderPro (and the main author of the LokSound definitions), "Duplicate" is very much my friend. (We won't talk about how many entries I have in my roster, nor how infrequently I clean it up..) Dave in Australia |
Locked
Re: Failed to delete old index file [initialize decoder index] problem
¿ªÔÆÌåÓýDoron, On 2 Jun 2019, at 9:09 PM, Doron Berezovitz <doronberezovitz1@...> wrote: I run for long time JMRI different versions ??under Netbeans ?IDE ?.today for some reason i got this error ??and ?after some time the ?process freeze and stop working and output an error ?popup window ???I attached the log file ?and the error ?window ?in "problems being worked on / doron problem " I've looked at the logs and suggest the following: - It appears that you may have an "Update Decoder Index" in the Startup Items. If so remove it. That's a bad idea, irrespective of whether you are running under an IDE or using a distributed version. You always need a restart after doing "Update Decoder Index" and that will be impossible if it's in Startup Items. - The "Update Decoder Index" command is only for end-users with custom definitions in the preference:decoders folder and puts a custom decoderIndex.xml in the same place. Even for end-users, there are potential problems with this. It's quite inappropriate to use a preference:decoders folder in an IDE (explained below). Suggest you "Open User Files Location", delete any decoderIndex.xml file and rename any "decoders" folder. - When working in a development environment (IDE or command line), put any custom/modified decoder files in the xml/decoders hierarchy your local JMRI checkout. - Every time you add a new file to the "xml/decoders" level or modify anything within the?<decoder>...</decoder> section of a decoder file, you need to run the ?"remakedecoderindex" within your IDE (or?"ant remakedecoderindex" from the command line) before running DecoderPro or PanelPro. This correctly puts a fresh "decoderIndex.xml" in?"xml/decoders". Dave in Australia |
Locked
Re: Tips for splitting my Loconet in two
Rodney,
I am a longtime user of CATS, and really appreciate this software solution you've created! I have a CATS-specific question, related to this topic. I am doing something similar to what Gary is doing.? I have started having problems with missed turnout commands on my DCS 240 and have divided my layout into two loconets - one connected via USB to the DCS 240 for the throttles, block detectors, boosters etc. and then a standalone loconet created using the RR-CirKits SSB-Gateway connected to another USB port via a LocoBuffer USB rev 0. When I set up the second loconet in JMRI, JMRI assigned a "L2" prefix to the turnouts (as opposed to the default LT). ? So here is my CATS-related question: I can throw the turnouts from JMRI by going to the "Tables" view and under Turnouts and Loconet 2 I can close or throw turnouts. In CATS there is only a choice of "ML" or "LT".? Should I go in to the "devices" screen in CATS designer and add the "L2" prefix so I can set the turnouts to that?? Or do I just stick w/ LT and JMRI will sent turnout commands to the right loconet? Thank you for your help and also for a great program! Sincerely, Steve Davis KCS 3rd Sub |
Locked
Re: Getting started with PanelPro
Haltz,
toggle quoted message
Show quoted text
Page 23 of 60 of the second part of the tutorial shows the Logix IX03. Clicking on the edit button there will allow you to reopen and examine or change the conditionals. Bob Bucklew ----- Original Message -----
From: haltz@... To: "jmriusers" <[email protected]> Sent: Sunday, June 2, 2019 7:37:16 AM Subject: [jmriusers] Getting started with PanelPro Hello. I am just beginning here and am trying to work through? the excellent June 2012 3-part tutorials by R. Bucklew ( ) I am getting lost in tutorial 2, where the Logix are being set up. It looks like you create an entry for the logix table and add conditions and actions etc to the entry (Tutorial Part 2, pages 17-23), then add the entry to the Logix Table. One basic question I have is: once the entry is in the Logix Table, I can't find a way to look at the associated conditionals again. That's a basic conundrum. Then I have some questions about the details on those pages 17-23, but I think I can work through them if only I had a way of going back to look at the conditionals etc. Thanks. |
Locked
Re: Using this forum
¿ªÔÆÌåÓýThe nice thing about seeing all the messages that I found is if you are having a problem with JMRI somebody may have found a solution to it and you are able to solve it before you ask the same question.
|
Locked
Re: IR Block Occupancy Sensors - Entrance and Exit
Thankyou for the feed back and I may well switch to track current sensing for block occupancy as the IR sensors haven't cost a great deal and can be used for other applications on the setup.? However before I do that? I was wondering if there is any merit in my current thoughts and how easy could it be scaled up?
Two sensors are at the start of Block A,? ?pseudo sensor PS1? and IR sensor S1, ?the Block occupancy is set by PS1. The loco passes S1 which via scripting sets PS1 ACTIVE and thus Block A occupied and even though S1 goes INACTIVE as the loco passes it, ?PS1 is still Active because of the script until the loco passes the exit sensor S2 at the end of Block A at which point the script is triggered making PS1 INACTIVE and thus Block A unoccupied, this way the block a stays occupied until the exit sensor is triggered,? it could even be possible to cater for the fact as the loco passes S2 it will go from INACTIVE to ACTIVE back to INACTIVE but it only sets PS1 to INACTIVE when S2 finally goes INACTIVE. |
Locked
Re: question
Bob: Thanks for anonymizing but I'm happy to confess that the quote you gave is mine and I obviously haven't communicated my suggestion adequately. I'll try again...
1. With the roster window newly open (ie nothing selected), a single click on any cell ("cell" being the intersection of a row and a column) selects and highlights a?decoder entry (end result is a highlighted row that is the object of the next action) 2. With the roster window newly open, a double-click on any cell opens the decoder entry (end result is an open decoder window with all its tabs etc) 3. With roster window newly open, a right-click on a cell with editable text opens that cell in text editing mode, a right-click on any other cell gives same result as 1. 4. After 1, a single-click or double-click on any cell in the highlighted row gives the same result as 2 (probably best to convert physical double-click to logical single-click so that the second click does not act on any field in the decoder window that opens) 4. After 1, a right-click on a cell is exactly the same as 3. I think that covers all the possibilities and is consistent with the behaviour of most other apps. As you point out there are 3 options - select decoder, open decoder, edit text in decoder. Using 3 corresponding actions - click, double-click, right-click - the user interface idiosyncrosies will be reduced because at present only 2 actions are available - click and double-click. Jan |
Locked
Re: DS51K1 turnout decoder - detection
Rizwan: Further to Nigel's message. I note that the turnout switch is in the halfway position which should be impossible because the spring and magnet design of the actuator cause it to snap between fully open and fully closed. When you were testing it, was it upside down as in the picture? If so, the point rails may have been unable to move properly because they were dragging on the benchtop. If not, the wiring may have impeded the switch operation when you put the turnout right-side up and compressed it, as Mick points out.
I also note that the decoder scorching was caused by something inside the decoder melting through the plastic sleeve. Assuming your DCC system is OK that can only have happened by wiring it up wrongly at some point. The incorrect connection may have blown something which resulted in the decider short circuiting the DCC system when it is was reconnected correctly. For example, the output of the decoder is probably an H-bridge arrangement of transistors and if one transistor fails to turn off (due to damage caused by incorrect wiring) then the H-bridge will be a short circuit when one of the other transistors fires. While the picture doesn't show everything, the wiring to the actuating coil and the coil itself looks OK so I would expect a new decoder is all you need. A short inside the decoder would explain DCC tripping off. Jan |
Locked
Re: Storing roster (and other) files under different customized names
Joern: Think of the JMRI Roster panel as the index of files for decoders. Just like on a computer file management system, you can add, delete, copy (duplicate) and rename decoder entries. So as Mick says, "save as" is just duplicating an entry and the duplicating process requires you to enter a new unique name for the new decoder entry. A single physical decoder can be entered as many times as you want different sets of CVs for it. When you have chosen the one you want to keep you can delete the rest. You can even group the decoders, for example, into "final" and "draft" and display only the "final" if you want to keep all the draft versions but not clutter up the roster panel.
Jan |
Locked
Using this forum
If I post a message, does an answer automatically go to my email? Right now all entries are showing up in my email. Any way to ONLY get answers to my posts to go to my email? Thanks.?
|
Locked
Re: Storing roster (and other) files under different customized names
But there is an equivalent of Save As! ?From the foster, right click and Duplicate..... |
Locked
Re: Storing roster (and other) files under different customized names
If you have saved it in the roster, then you can write that to the decoder without any concern about the filename. Open that roster entry and write it to the decoder. I always manage my decoders through the roster and not from the files themselves.? Maybe I dont understand your needs.? Tom Wilson Colorado Springs, CO On Sun, Jun 2, 2019, 9:52 AM Dr. Joern Behnke <joern.behnke@...> wrote: Bob? |
Locked
Re: Storing roster (and other) files under different customized names
Dr. Joern Behnke
Bob?
Why has there been a lot of trouble taken to _hide_ filenames from people? Can't understand that. I tried to explain in my original post, that if I have different programming states of which I like one particularly, then I should be able to rewrite that one to the decoder. But I can't tell from the files which one that was. All I have is the current state and the one before. Everything else is lost for good! Did you ever program an ESU decoder? Then you know what i'm talking about. I'm sorry if my english isn't good enough to explain myself in a better way. Regards Joern |
Locked
Re: Getting started with PanelPro
Yes, you nailed my issue. Thanks very much, Peter. I don't know why I didn't try this. Now I will probably have more questions about how to populate the details of each Logix entry. Will try to work them out till I'm stuck. Thanks again
|