JMRI users /g/jmriusers Discussion group for people using the JMRI® model railroad software suite. The JMRI suite provides several useful tools such as: DecoderPro® to simplify configuring complicated DCC decoders by providing screens on which you can select the various options and values you want. PanelProâ„� makes it easier to control panels, set up signalling, configure operations and control your layout. SoundProâ„� generates sound tracks for your railroad layout through use of your PC's sound card. OperationsProâ„� for computer generated train switch lists. For more information on any of the above and a lot more, please visit https://www.jmri.org Report an issue, Submit a patch, or Request an enhancement at https://github.com/JMRI/JMRI/issues JMRI is an informal open-source software that runs entirely on volunteer labour. An impressive list of people who have worked on JMRI is available at https://www.jmri.org/help/en/Acknowledgements.shtml. Like many open-source applications, there is a cost involved in maintaining the project. Donations are accepted and may be made through PayPal by visiting the Projects Donation page which is located at https://www.jmri.org/donations.shtml. This group is the place to discuss any aspect of JMRI. If you have questions about how to do things, suggestions, or even complaints, post them here. This group is partially moderated. For more information, please see our Guidelines. Sun, 14 Apr 2002 22:15:57 -0700 Re: LogixNG POM /g/jmriusers/message/242381 <div>Got it working.</div> <div>Thanks again Daniel!</div> vinny.derobertis@... (Vinny DeRobertis) Thu, 22 May 2025 19:18:11 -0700 JMRI and the decoder Panels /g/jmriusers/message/242380 <div>Hi,</div> <div>A very long time ago (6yr or so) I was able to use JMRI and the panels to read the MACROs of  the Clubs layout to allow me to change if needed, one at a time, not having to REDO the MACRO, best thing since sliced bread.</div> <div> </div> <div>WAY back then, it was just a matter of plugging in the USB Cable to the CONTROL PANEL on the layout, the other end to the computer, starting JMRI and get the PANELs and the macros to show SOMEHOW :)</div> <div> </div> <div>For one reason of another the above method was FORGOTTEN about, sad to say wanting to do something again, the MEMORY is not so good.</div> <div> </div> <div>More later perhaps</div> <div>Graeme</div> <div> </div> graemedavidwilson@... (Graeme Wilson) Thu, 22 May 2025 19:14:02 -0700 Re: How do I import openpyxl? /g/jmriusers/message/242379 <html><head><meta http-equiv="Content-Type"/><meta name="Generator"/></head><body lang="EN-US"><div class="WordSection1"><p class="MsoNormal">Nick,</p><p class="MsoNormal"> </p><p class="MsoNormal">Why not use the built in Operations to hold the car inventory? That would be a onetime export to CSV and import to JMRI. Then your script could query that database.</p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="">-Ken Cameron, Member JMRI Dev Team</span></p><p class="MsoNormal"><span style=""><a href="http://www.jmri.org/" rel="nofollow noopener" target="_blank">www.jmri.org</a></span></p><p class="MsoNormal"><span style=""><a href="http://www.fingerlakeslivesteamers.org/" rel="nofollow noopener" target="_blank">www.fingerlakeslivesteamers.org</a></span></p><p class="MsoNormal"><span style=""><a href="http://www.cnymod.com/" rel="nofollow noopener" target="_blank">www.cnymod.com</a> </span></p><p class="MsoNormal"> </p><p class="MsoNormal"> </p></div> kcameron@... (Ken Cameron) Thu, 22 May 2025 19:00:39 -0700 Re: I think I have JMRI 5 and JAVA 11 loaded on my Win 11 computer /g/jmriusers/message/242378 <div>Hi Steve,</div> <div>THANKS for your reply,</div> <div>My computer details are showing me that the USB cable is connection to my COM 3, I go through all the DECODER PANEL settings an wait for a few section, only to have shown in RED.</div> <div>I will have to wait till I get back to the CLUB and some ELECTRONIC EXPERTS there may be able to help me</div> <div> </div> <div>Thanks Graeme</div> graemedavidwilson@... (Graeme Wilson) Thu, 22 May 2025 18:45:51 -0700 Re: Roster Missing /g/jmriusers/message/242377 <div>Dan,</div><div><br/></div><div>It appears that when DecoderPro stops unexpectedly under certain conditions, the roster index file (roster.xml) is lost.  The roster entries in the &#34;roster directory&#34; are not affected.</div><div><br/></div><div>The unknown at this point is whether this is a general JMRI issue or an OS specific issue.</div><div><br/></div><div>Dave Sand</div><div><br/></div><div><br/></div><div><br/></div> ds@... (Dave Sand) Thu, 22 May 2025 18:39:52 -0700 Re: How do I import openpyxl? /g/jmriusers/message/242376 <div>My car spreadsheet (600+ records) has the following fields: carID, type sub-type, road, number, length, color, built, manufacturer,  weight, wheels, resistance wheel (Y/N), couplers, coupler screw (Y/N), weathered )(Y/N), date last checked, load (if any), comment; and new fields I added for the barcode reader code: destination pointer, destination 1, destination 2, ....destination n (typically 4 to 8 destinations). I primarily use this spreadsheet to keep track of my cars and what I need to do to them.</div> <div>-</div> <div>My layout centers on the Enola freight yard in Harrisburg, Pa. Trains arrive from various cities (staging), cars pass over one of two humps, eastbound or westbound, and are routed to new trains which depart to destination cities (staging).</div> <div>-</div> <div>I read the carID as the car passes over one of the two humps with a bar code reader. The program gets the car length and next destination from the car spreadsheet. I find the next destination by incrementing the pointer each time the car returns to the hump for classification. That way the car will cycle between 4 to 8 destinations, eastbound and westbound.</div> <div>-</div> <div>In a second spreadsheet, given the destination, the program finds the next train (of about 20 scheduled trains) bound for the destination and its assigned track. The assigned track is updated in the trains spreadsheet by the departure yard master during the operating session. The available track length is decremented by the car length and then the new available track length is written back to the spreadsheet. When no room on the track is left, the program routes the car to an overflow track. </div> <div>-</div> <div>In jmri, when the track is entered the program adds the commands for the turnouts involved to a turnout.list. Since more than one car is rolling down the hump at a time, turnouts can&#39;t be thrown until previous cars have passed over it. When a car passes over a turnout, photocells activate a sensor and Logix runs a script which clears the top command in the turnout.list and throws the turnout to the next position in the list.</div> <div>-</div> <div>I haven&#39;t had a chance to study the csv examples yet. But, if I run the program outside of jmri to find the track number, I really only need to pass that track number into jmri which may not be that hard using a csv file as an intermediary. Then I can run the rest of the script in jmri to enter the new turnout commands into turnout.list and eventually throw the turnouts and control panel lights. </div> <div>-</div> <div>Hope this wasn&#39;t to much information. If you are interested, I&#39;ve uploaded the program into files as Nick Brownsberger&#39;s hump control program.</div> <div>Nick</div> nbrownsbe@... (Nick Brownsberger) Thu, 22 May 2025 18:39:44 -0700 Re: Roster Missing /g/jmriusers/message/242375 <div>PERFECT!</div> <div>Thanks Dave!</div> DannyDont@... (Dan Foltz) Thu, 22 May 2025 18:02:08 -0700 Re: Roster Missing /g/jmriusers/message/242374 <div>Dan,</div><div><br/></div><div>Try rebuilding the roster.  Actions -&gt; Recreate Roster Index.</div><div><br/></div><div>Dave Sand</div><div><br/></div><div><br/></div> ds@... (Dave Sand) Thu, 22 May 2025 15:49:15 -0700 Re: Roster Missing /g/jmriusers/message/242373 <div>If I can add on this this topic.</div> <div>I believe the same thing happened to me just a couple of hours ago. I could not close the JMRI screen so rather than use Task Manger to kill it, I restarted the computer. It indicated that Decoder Pro was stopping the Restart but I went ahead anyway.</div> <div> </div> <div>I then started Decoder Pro after the computer restart and could not find any of my locos in the roster. Not being all that familiar with Decoder Pro I went ahead and programed the engine that was on the Programming track. Now I have only that engine in my Roster. </div> <div> </div> <div>Is there anything that I can do to find the lost roster? I did look at the .BAK file but it too had only the one engine. Is there any place where JMRI might have done a backup of this file? I would think that the .BAK is about it. But hopefully someone can shed some light on my darkened day.</div> <div> </div> <div> </div> <div>Thanks for any help anyone might provide,</div> <div> </div> <div>Dan Foltz</div> <div> </div> <div> </div> <div> </div> <div>THanks for any ideas or help. </div> DannyDont@... (Dan Foltz) Thu, 22 May 2025 15:43:05 -0700 Re: LogixNG POM /g/jmriusers/message/242372 <div>Ok that gives me something to chew on. Thank you Daniel!</div> vinny.derobertis@... (Vinny DeRobertis) Thu, 22 May 2025 15:38:26 -0700 Re: LogixNG POM /g/jmriusers/message/242371 <html><head><meta http-equiv="Content-Type"/> </head><body> <p>Vinny,</p> <p>It seems that you want to have a memory with the current volume. And then a ConditionalNG that copies the value of the memory to a local variable. You then does the addition/subtraction and store the new value in the memory. And then you do the POM.</p> <p>Note that memories usually uses strings, not numbers, so you might need to convert the string to a number.<br/> </p> <p>Daniel</p> <p><br/> </p> <div class="moz-cite-prefix">On 2025-05-23 00:12, Vinny DeRobertis via groups.io wrote:<br/> </div> jmri@... (danielb987) Thu, 22 May 2025 15:35:37 -0700 Re: DCC-EX Voltage/current meter /g/jmriusers/message/242370 <html><head><meta http-equiv="Content-Type"/> </head><body> <p>Daniel</p> <p>&gt; I tried to research more about the &lt;c&gt; and &lt;JI&gt; commands you mention - it seems to be part of the language used between JMRI and DCC-EX over USB, have I got that rightâ€�?</p> <p>Yes.</p> <p>&gt; Is the use of the &lt;JI&gt; command between JMRI and DCC-EX (running on an uno) therefore dependant on a JMRI update before it can work? <br/> </p> <p>Yes.</p> <p>Daniel</p> <p><br/> </p> <div class="moz-cite-prefix">On 2025-05-23 00:18, Daniel Mcmillan via groups.io wrote:<br/> </div> jmri@... (danielb987) Thu, 22 May 2025 15:29:15 -0700 Re: DCC-EX Voltage/current meter /g/jmriusers/message/242369 <div>Thanks Ash.</div> <div> </div> <div>I tried to research more about the &lt;c&gt; and &lt;JI&gt; commands you mention - it seems to be part of the language used between JMRI and DCC-EX over USB, have I got that rightâ€�?</div> <div> </div> <div>Is the use of the &lt;JI&gt; command between JMRI and DCC-EX (running on an uno) therefore dependant on a JMRI update before it can work? <br/><br/></div> <div>There was a setup menu of sorts under the current monitor submenu, but I didn’t get a ‘none availableâ€� message, just a little blank square pop up, which I assume was supposed to be that message. Makes sense, since I’m running DCC-EX on an Uno, as you say. <br/><br/></div> <div>I’ll take a look at Discord (never used it before) and see if I can pick the brains of the DCC-EX guys.</div> danielcmcmillan@... (Daniel Mcmillan) Thu, 22 May 2025 15:18:14 -0700 Re: LogixNG POM /g/jmriusers/message/242368 <div>I added Vinny to the symbol table.</div> <div>now the error is gone but it&#39;s not doing what I expect.</div> <div>I am writing to cv63 which is master volume. I have an ng for up and one for down. I want to increase or decrease cv63 by the # in IM1.</div> vinny.derobertis@... (Vinny DeRobertis) Thu, 22 May 2025 15:12:54 -0700 File /ProblemsBeingWorkedOn/2025-05-19T061811,413 util.Log4JUti.txt updated /g/jmriusers/message/242367 <p></p><p>The following items have been updated in the Files area of the [email protected] group.</p> <ul> <li> <a href="/g/jmriusers/files/ProblemsBeingWorkedOn/2025-05-19T061811,413%20util.Log4JUti.txt" rel="nofollow noopener" target="_blank"> /ProblemsBeingWorkedOn/2025-05-19T061811,413 util.Log4JUti.txt </a> </li> </ul> <p><b>By:</b> rprdds24@...</p> <p><b>Description:</b><br/> Startup Gets Stuck message I uninstalled and reinstalled Java 17 : 64 bit using the link - thanks. I then restarted my laptop and ran DecoderPro. The only response was the JMRI Monopoly splash screen and the DecoderPro icon on the taskbar. So, I ran InstallTest and got the three screens shown in the attached photos. Any ideas on why JMRI won&#39;t open? -- Richard Richter</p><p></p> <p></p> @... Thu, 22 May 2025 15:02:21 -0700 Added Folder /ProblemsBeingWorkedOn/Startup Gets Stuck /g/jmriusers/message/242366 <p>rprdds24@... added folder <strong>/ProblemsBeingWorkedOn/Startup Gets Stuck</strong> </p><p><b>Description:</b><br/> Here I am again. I uninstalled and reinstalled Java 17 : 64 bit using the link - thanks. I then restarted my laptop and ran DecoderPro. The only response was the JMRI Monopoly splash screen and the DecoderPro icon on the taskbar. So, I ran InstallTest and got the three screens shown in the attached photos. Any ideas on why JMRI won&#39;t open? -- Richard Richter </p><p></p> <p></p> @... Thu, 22 May 2025 14:58:02 -0700 Re: How do I import openpyxl? /g/jmriusers/message/242365 <div><p dir="ltr">Would it help to ditch the excel file and store the car information in the roster instead?</p><p dir="ltr">You&#39;d need to have 600 (necessarily long) dummy addresses to use. Having the cars  in a separate roster group would keep them from getting tangled with your actual locos.</p> <p dir="ltr">If your car data can be massaged to fit in an entry in the roster I think you&#39;d be good to go, since you&#39;d no longer need an excel interface at all.</p> <p dir="ltr">Wouter</p> <br/></div> vandoornw@... (whmvd) Thu, 22 May 2025 14:38:57 -0700 Re: LogixNG POM /g/jmriusers/message/242364 <div>Attached error.</div> vinny.derobertis@... (Vinny DeRobertis) Thu, 22 May 2025 14:20:18 -0700 Re: How do I import openpyxl? /g/jmriusers/message/242363 <html><head><meta http-equiv="Content-Type"/> </head><body> You can manage Excel files as .csv as well as .xls - just choose the format when you save the file <div><br/> </div> <div>Phil G<br id="lineBreakAtBeginningOfSignature"/> <div dir="ltr"></div> <div dir="ltr"><br/> </div></div> phil@... (Phil G) Thu, 22 May 2025 13:55:22 -0700 Re: How do I import openpyxl? /g/jmriusers/message/242362 <blockquote>On May 22, 2025, at 4:43 PM, Nick Brownsberger via groups.io &lt;nbrownsbe@...&gt; wrote:<br /> I&#39;m looking at using csv files, but manipulating a 600 record csv file sounds daunting. Or, I could instantiate a class of 600 cars in the Jython program which I was trying to avoid. I&#39;m also rethinking my strategy as well.</blockquote>Could you say a bit more about what problems you’re thinking of for the CSV file?<br /><br />Excel is quite happy writing and reading CSV files from its standard spreadsheets.<br /><br />Bob<br /><br />â€�<br />Bob Jacobsen<br />rgj1927@... rgj1927@... (Bob Jacobsen) Thu, 22 May 2025 13:47:09 -0700