SPEED used by train in automation
18
can anyone tell me how the speed of a train traveling in automation is determined as it entered each section when using sml virtual signals on a layout panel. there is the speed set in block tables, there is the speed definitions and their speeds and there is the max speed set when creating a train. what is their relationship to each other. in preference /warrents page what is %script mean, what is %throttle mean? tony
|
LogixNG - Sanity check and guidance
8
Hi folks, First of all, just to say that I am finding LogixNG pretty amazing. A bit of a learning curve but, so far, it has handled everything that I have dreamed up without the need to start writing Jython code. I do just want to share what I have been doing to make sure that I am on the right track. I also have one specific question....... I have a LogixNG which is set to run at startup: It has several Conditional NGs within it: I can see that they run sequentially - is my assumption that each one will finish before the next one starts correct? I think I can see that when one of the NGs talks to MERG CBUS, it does so asynchronously. In other words, the execution of the NGs carries on whilst CBUS "catches up". For example in the Sensors Conditional NG..... ....somewhere in the background A1 causes a whole load of status requests to be sent to CBUS. I have tried to make the NG hang around for a bit with the operation at A2. I am not sure whether that is supposed to work as I am expecting? Assuming it does, then am I right that the Sensors Conditional NG will tell some other part of JMRI to send all of the status requests and will then wait ten seconds before the next Conditional NG (Points) runs? If not, then a pointer would be appreciated as to if/how I can "slow down" progression through the Conditional NGs. Better still, and I suspect the answer is "no", is there any way in a Conditional NG to say something like "wait until there are no more messages [from JMRI] being sent to CBUS"? That would be a lot neater than using an arbitrary time delay. Thanks for reading, and any advice would be very welcome. Cheers, Nick
|
JMRI script; Digitrax DCS52 resetting speed to 0 while JMRI script running
6
Hi, I have only recently started using JMRI, a steep learning curve, and scripting using modified JMRI example scripts. I am running JMRI version 4.26, Jarva 1.8.0_40 on a Win 11 PC. The layout is controlled using Loconet: DCS52 and CAN via MERG. I hope that this list is the appropriate place for my query. Using the BackandForth.py (modified) I have managed to get a loco to go back & forth several times. The problem I have is that the loco randomly stops. Using the Loconet Monitor I found that the DCS52 sends ¡°Set speed of loco in slot 9 to 0¡± at intervals, which causes the loco to stop mid script. Is there some way to stop these DSC52 commands? Or am I not taking proper control in the script. I have attached a copy of the script. Any help or suggestions would be appreciated. Regards, Tim
|
Command Line Options...
6
I know that I am probably one of the very few people who use the command line (maybe the only person?), but it is just tiresome to have to manually go through the File menu to load files (into PanelPro, CATS, etc.). What is involved to make it possible to add CLI options to do this on the command line? Also having to always deal with selecting the profile when starting LccPro, etc. is also anoying -- is there a CLI option for that? -- 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
|
[cats-users] Command Line Options...
3
OK, it seems you have to somehow "know" the magic hex identifier tacked onto the profile name in order for the -p option to work (this means digging into the profiles.xml file to find it). Arg... Firefox does something simular: prefixes profile names with a unique id string, BUT the firefox -P option does not expect the user to know this unique id string, instead it using a matching process. -- 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
|
JMRI (5.11.2+R741bb1427e) UI geometry weirdnesses.
I should start out stating I am using Linux with a very "old school" window manager setup (FVWM in MWM mode). I like to have multiple windows on the screen positioned *and* sized to fit often side-by-side and sometimes one over the other. (I know that this is probably different from what other people do.) Some of JMRI windows have odd problems with internal geometry management, with some elements being displayed wrong or badly sometimes. Most of the problems is with LCC windows, partitularly with the CDI editor cutting off the botton of CDI sections when the CDI editor is sized to be somewhat narrow and parts of the OpenLCB "send frame" window losing some of its buttons, again when either short and/or narrow. Making these windows large -- eg full width and/or full height tends to cure these issues. I do have another thing that is a bit of a annoyance: can there be some way to alter the OpenLCB "send frame" window to get rid of or hide some of the stuff on it. Yes, it is a useful debugging tool, but it is like a Swiss Army knife with ALL of the tools extended all at once all of the time. This makes using it awkward and combersome to use one tool. All of the other tools are "in the way". -- 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
|
Adding Table content and panels XML file to startup
Have you added an Open File to the startup? What happened? 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
|
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
|
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
|
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
|
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.
|
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?
|
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.
|
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
|
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
|
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
|
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
|
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?
|
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
|