¿ªÔÆÌåÓý

Date   
Adding Table content and panels XML file to startup
Have you added an Open File to the startup? What happened? Phil G
Started by Phil G @
Very bizarre behaviour with CATS, JMRI, and LCC-Tower #cats
I set up a LCC-Tower board to use its conditionals to "simulate" a set of 6 turnouts with point sense so I could test some LCC node software. The conditionals "consume" the simulated turnout motor events and "produce" the turnout point sense events. With my two software nodes, the tests work just fine and I was able to successfully test the software. I just set up a CATS CTC panel as a test for the same virtual layout, but something strange happens. Some some unknown reason, the CATS program enters a very tight loop, generating alternating Producer/Consumer Event Reports for one of the virtual point sensor events. I have no clue why this is happening. Why in the world would JMRI be generating event reports for an external sensor device? The CATS panel is here: https://github.com/RobertPHeller/WendellDepotMusuem/blob/main/WendellDepot-CATS.xml it uses the PanelPro tables here: https://github.com/RobertPHeller/WendellDepotMusuem/blob/main/WendellDepot-JMRI.xml The Tower-LCC is hardware Rev-D, with firmware Rev-C6 (I know, probably old, but I doubt that really matters). There is nothing actually connected to the Tower-LCC. It is on my workbench with a power point and a LCC-Buffer USB connected to a Raspberry Pi 4 via USB. I am running the OpenMRN hub on the Raspberry Pi 4, which lets me connect to it from my Raspberry Pi 5 desktop machine over my LAN. The JMRI log file and Tower-LCC config are here: https://files.deepsoft.com/Other/bizare-data-LCC.zip -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller@... -- Webhosting Services
Started by Robert Heller @
Have a question about having a train pick up a specific car 8 #operationspro
Evening, I am creating a set of passenger trains (A westbound and an eastbound counterpart). I want it to leave its departure station and then at another station while making a scheduled passenger stop. I would also like to have the train set out an express car and then pick up a diner to add to the train. before departing on its way west. Then on the eastbound trip at this same station stop have the train set out the diner and pick up any head express cars. Then after this work is completed, the train would continue Eastbound to it's destination terminal. I would like to have this do this each time I run the train. Thank you
Started by Trackwalker09@... @ · Most recent @
Error while chaining transits
Steve, I'm making good progress. Now I can chain two transits, one in CW and the reverse one in CCW. But I still notice an error from time to time (not all the time) : 07:29:54,933 jmri.jmrit.dispatcher.ActiveTrain ERROR - Attempt to remove an unallocated Section T2 (IY:AUTO:0019) [Auto Allocator ] Do you have any idea? JeanLouisDelestre@... De: "Jean-Louis Free via groups.io" <jeanlouisdelestre@...> ?: [email protected] Envoy¨¦: Vendredi 18 Avril 2025 17:08:02 Objet: Re: [jmriusers] Chaining transits with a different locomotive #dispatcher Steve, I don't think so. My layout is quite simple : JeanLouisDelestre@... De: "Steve_G via groups.io" <RailRodder22@...> ?: [email protected] Envoy¨¦: Vendredi 18 Avril 2025 14:48:43 Objet: Re: [jmriusers] Chaining transits with a different locomotive #dispatcher Jean We've only had occasional showers. Maybe tomorrow. Do you have 2 blocks per crossing or one? Steve G. -- --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.9.5 on Windows DCC EX on Arduino Mega Java version 17.1.12 -- --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.9.5 on Windows DCC EX on Arduino Mega Java version 17.1.12
Started by Jean-Louis Free @
Operations adds Days to my Estimated Arrival Time 2 #operationspro
Howdy all. I downloaded and installed JMRI 5.11.5 on my Windows 11 laptop, with Java 17.0.12. Now, I ran the paperwork for next month and several trains are printed in SwitchLists as arriving one, two or four days late (but at the correct time). One for example in Atlanta Yard for Train 91 says "Train originates at Etowah Yard ETA: 4:02:25 PM" when it should just be 2:25pm. Another one in Copperhill Yard for Train 92 says "Train originates at Atlanta ETA: 1:02:47 PM" instead of 2:47. For Copperhill, Train 48 says "Train originates at Murphy ETA: 2:01:20 PM". Did not have this issue last month on 5.11.4 but I did not try to undo the install for fear of data corruption. If there is a setting I have overlooked, please let me know. Phil
Started by Phil in gorgeous Young Harris @ · Most recent @
Using the same car(s) in two trains in the same Op session 9 #operationspro
I want to send a train of loaded coal hoppers from staging to a classification yard. Then, move those cars on a yard local to various industries. I want the yard local to pick up empty coal hoppers at those same industries and bring them back to the classification yard. Finally, send those empty coal hoppers on a third train from the classification yard back to the staging yard. All in the same operating session. I tried it this past week at an operating session by building the first train, printing the manifest, and then moving and terminating the train. Then I built the yard local and repeated the same build/print/move/terminate process. Then I built the third train and printed that manifest. I put the three manifest copies in the stack of manifests used for the session, in the proper sequence. I also printed the switch lists after each build to give to the two yard masters. It's a lot to do and can be confusing to the yard masters. Is their a more elegant way to accomplish all this through Operation Settings, or thr Cars or Locations tables? John P.
Started by John Poray @ · Most recent @
JMRI to Arduino FastClock w/o CMRI 2
Yes, a JMRI to Arduino fastclock without CMRI is possible. I wanted an Arduino FastClock to control the light on/off times for my many building. Yes I know JMRI has ¡°Lights¡±, but I wanted the challenge of using an Arduino. By adding some code to get JMRI fast time, ¡°jmri.InstanceManager.getDefault(jmri.Timebase).getTime()¡± to Bob Jacobs ¡°SerialPortData.py¡± (thanks Bob) I was able to send serial data out of the port of my choice. I then wrote a sketch for the Arduino to receive that serial data and print out the fast time. Thank you Geoff Bunza, if I hadn¡¯t implement your projects, SMA28 JMRI Sensor Channels ¨C Direct Arduino to JMRI Communications and SMA29 JMRI Turnout Channels ¨C Direct JMRI to Arduino Communications I wouldn¡¯t have had the inspiration to develop the FastClock. While debugging the sketch I found it difficult to upload new code to my Arduino because the serial port was in use by JMRI sending the serial data. If you had a fully developed sketch and didn¡¯t require any changes or wish to see the Arduino IDE Serial Monitor, one Arduino would be fine. But I needed both conditions, so I implemented another Arduino just to receive the JMRI serial data and send it to the slave Arduino via the RX pin. Then I used a second Arduino to decipher the serial data and send it out to a 20x4 LCD (to be used @ my control panel) and a Adifruit 1.2¡± 4 digit 7 segment display(to be used as a wall clock). Would anybody be interested in my circuit diagram, script and sketches?
Started by tabear @ · Most recent @
Signal Lights in DCC-EX on Arduino not Appearing in PanelPro 2
I'm having trouble gettings some signal lights to show up in PanelPro. I have an Arduino Mega running DCC-EX and some basic three signal lights from Amazon like these. I've had some success using VIRTUAL_TURNOUT in DCC-EX to get my Kato solenoid turnouts to show up PanelPro's Turnouts Table, and I can control them remotely to my heart's desire. The signal lights are being stubborn. I can use SIGNAL to create the right object in DCC-EX, and I can then logically control them in the DCC-EX code I push. In the callback functions I define for the virtual turnouts I can automatically trigger signal changes. SIGNAL by itself doesn't create any kind of ID for referencing. I thought that VIRTUAL_SIGNAL, like VIRTUAL_TURNOUT, would be my answer. But all the code variations I try claim to compile and load correctly but never does it show up in PanelPro. Due to this JMRI documentation I expected to see the ID show up in the Turnouts Table. My DCC-EX code ended up looking like: SIGNAL(26, 27, 28) VIRTUAL_SIGNAL(300) DONE ONRED(300) RED(26) DONE ONAMBER(300) AMBER(26) DONE ONGREEN(300) GREEN(300) DONE Any feedback or diagnostic advice is welcome. I don't know if this is a DCC-EX problem or a JMRI problem at this point.
Started by falkc@... @ · Most recent @
Traversing Blocks too quick or too slow - Dispatcher vs Warrants
I know with Warrants, it can take action if an autotrain is not traversing blocks at the appropriate duration (described in the doco as...) Warrant dynamic speed profiling, measurements are made over straight level track, but also upgrade, down grade, curved gently or severely, running light or pulling 30+ cars. The track speeds are not going to be all the same for a given throttle setting When merging, new values are averaged with the old, with the intention of a composite speed profile that reflects average use. Does Dispatcher have such functionality or an equivalent? -- H.O. Australia (Layout in Progress) Digikeijs DR5000 LocoNet JMRI v5.10 DecoderPro/Warrants/CPE/SML/LogixNG Java: OpenLogic jre-17.0.12.7 Windows 10
Started by Nags @
Stoppng train documentation 4 #dispatcher
Hi Steve, Is there any reference documentation or a clinics explaining the principle of train stoppjng under dispatcher using SML? Thanks. -- --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.9.5 on Windows DCC EX on Arduino Mega Java version 17.1.12
Started by Jean-Louis Free @ · Most recent @
Layout Editor - How many times does it take to get it right? 6 #layouteditor
I have to imagine this question has been asked a few times but my searching for 'start' or 'scale' is providing results covering other topics. I have taken the tutorial to create a loop with a passing siding. Then I created a snipit of the layout that is just the main with a passing siding and related CPL signals and sensors. It looks like this: ____________ _______/____________\_______ It is encouraging to see the blocks change color when a train enters a block. However, it is easy to draw up such samples/demos when you have a large slate to play with. My next step is to draw up the entire layout. It is roughly 1500 sq, double deck with a third deck as mega staging, and we want to use CATS in panel pro. So my question is: how many times do you have to draw/redraw the layout to have it scaled properly on the screen? Is it trial an error or is it possible to draw it have it scaled out to maximize the available slate? Bill Carl
Started by "Bill Carl @ · Most recent @
Locomotive disappears from the list in dispatcher 3 #dispatcher
Hi, When I use the dispatcher, it sometimes happens that when I terminate a train, the locomotive is no longer available in the list to start a new transit. I have to restart JRMI to make the locomotive available again. Any idea? --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.9.5 on Windows DCC EX on Arduino Mega Java version 17.1.12
Started by Jean-Louis Free @ · Most recent @
Chaining transits with a different locomotive 32 #dispatcher
Hi, Still continuing to test chaining of transits. It look like if you chain a new tansit using "load traininfo¡± but with a different locomotive, dispatcher doesn't use the new locomotive but continue to run the new transit with the previous locomotive. Any idea? JeanLouisDelestre@... De: "Ken Heywood via groups.io" <kheywood@...> ?: [email protected] Envoy¨¦: Dimanche 23 Mars 2025 07:57:36 Objet: Re: [jmriusers] Dispatcher question - chaining transits #dispatcher I use transit actions ¡°load traininfo¡± and then ¡°terminate¡± at the end of a transit. This is especially useful when your train has a reversing move. -- Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu Blog: Cape Cod Railroad (HO) ¨C Newbie of an Oldie Youtube: Ken's Channel -- --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.9.5 on Windows DCC EX on Arduino Mega Java version 17.1.12
Started by Jean-Louis Free @ · Most recent @
Starting JMRI issue 6 #mac-os
I have downloaded JMRI to my Mac. I was able to start both DecoderPro and PanelPro. I created a new "Active Profile" in PanelPro and it did bring up the preferences page. I selected "no decoder" or something like that. Saved the profile. Quit PanelPro. Now when I attempt to start PanelPro all I get is the small panel that allows me to bring up the Help page or to Quit PanelPro. I get no further. What have I done wrong? How do I fix it?
Started by Don Erikstrup @ · Most recent @
Visual Studio Code 5
Hi folks, I am in the very early days of exploring Jython and thought that using my "go to" tool which is Visual Studio Code would make things easier. To a degree is has, as I am getting nice colour coding etc. However, I am also seeing some missing bits, for example here: The wavy lines are because "masts" and "sensors" are not being recognised. I kind of understand why - because they are "built in" JMRI features. So the question, is there any way that I can include a reference [or similar] so that Visual Studio's engine can understand that they are valid keywords? Even better, of course, would be the next level - type sensors, hit the dot and get a list of possibilities. The code works just fine, so it's a shame that Visual Studio Code doesn't understand it! Any ideas (or alternative ideas) very welcome. Thanks, Nick
Started by nicklocke @ · Most recent @
LogixNG class based show/hide and enable/disable for Senor icons requires web page refresh 2 #layouteditor #logixng
I'm using Class based control of layout editor panel icons. In particular show/hide but have also tried enable/disable. e.g. 1: LogixNG: DisableYardRoutes 2: ConditionalNG: EF-L2 ::: Startup 3: ! A 4: Many 5: ! A1 6: If Then Else. Execute on change 7: ? If 8: Sensor TD-EF-L2-Stop is Inactive 9: ! Then 10: Set icon/label by class "DisableableEFL2Sensor" on panel "Exeter Yard Control" to "Hide" 11: ! Else 12: Set icon/label by class "DisableableEFL2Sensor" on panel "Exeter Yard Control" to "Show" 13: ! A2 Whilst the function seem to operate successfully my problem is with display refresh. On the 'native' JMRI panel refresh is delayed until the mouse is moved into panel window. On web browser the situation is worse in that the panel needs a refresh (F5) before the updates take effect. I was hoping to use the method for dynamic control of sensor icon visibility (or to disable sensor), but the web issue especially make me wonder if I'll have to think of another method. I was hoping to use the method to display available options for controlling train movements into and out of fiddle yards. I'm using jmri 5.11.5 with java 21.0.6 under Ubuntu 24.04.2 LTS Thanks Andy
Started by Andy Brown @ · Most recent @
Stopping sensors and speed profile. 5 #dispatcher
Hi, When you use stopping sensors to stop a train at the right position, is the speed profile used to ramp down the locomotive? Is it used in any case when entering the section? Regards. --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.9.5 on Windows DCC EX on Arduino Mega Java version 17.1.12
Started by Jean-Louis Free @ · Most recent @
Windows 11 Questions 9 #windows
Hi: I'm currently running JMRI Version 5.4 on a Windows 10 PC. I keep getting the upgrade prompts and keep avoiding it. If I upgrade to Win 11, are there any risks? I'm using an NCE Power Pro system, connected via the serial port through a Trip-Lite Keyspan USB serial adapter (other adapters did not work). I'm most concerned that the adapter driver will not transfer to Win 11, and then I'm screwed. (I cannot find a Win 11 driver online). Also, will everything else with the JMRI software work once I upgrade to Win 11? Or will I need to uninstall and reinstall JMRI? Lastly, what are the security risks if I just stay with Win 10? If I don't browse the web, am I safe? Or is simply being connected to the internet create a risk? Thank you, Perry
Started by Perry Stephen @ · Most recent @
Can you execute a script or a logixNG from a Layout Editor built panel? 4
I will try to pose the above question as briefly as possible but for a mature lapsed academic that may be a challenge... Our club's new layout we will have an eight track staging yard. From past experience we found the noise of multiple sound equipped DCC engines annoying. Our solution is to use some RR-Cirkits RB4 relay boards populating an RR-Cirkits TowerLCC card and JMRI sensors to toggle track power on (sensor ACTIVE) and off (sensor INACTIVE). Operators at the layout will have tablets running Engine Driver and will have access to all of the panels available at dispatch. We would like the panel for the staging yard to have a mechanism to toggle track power on or off... think local control of staging yard track power. For example we have had great success using block detection to make sure a train exiting a reverse loop has the exit turnout set correctly.... exit block detected... LCC sends the eventID to set the turnout to the correct position... very quick no need for central computer interaction. The panels we built for the previous layout were spot on... animated and informative. Like all things digital there is a slew of JMRI tools to make this happen... internal sensors...jython scripts... logixNG... The dispatch station has three screens and one could be dedicated to all manner of control devices (on/off toggles). The operators have a tablet and only one screen. The dispatch solution would require flipping back and forth between screens. Not necessarily optimal. Simple question... Can you add a SPST switch to a layout editor built panel? Dan Kubasrych ARHS
Started by Daniel Kubarych @ · Most recent @
Passenger Car Blocking Order 7 #operationspro
I have several passenger trains that perform switching at a station along the route. These passenger trains have a mix of coaches, sleepers, diners, baggage, express reefers and express box cars. To help my crews assemble these cars in the correct order when adding and removing cars, I've added the blocking order to the care type. I thought this would be available to print on manifests and switchlists so the crew would see them and get the cars in the correct order, but I don't see the option to add them to the manifest/switchlist. Is there a way to add this to the either? I'm not sure what purpose this field serves if it's not printed so that crews can take action. Thanks Dennis Coglianese
Started by Dennis Coglianese @ · Most recent @
Current Image
Image Name
Sat 8:39am