JMRI won't pickup cars with trains
8
#operationspro
I can't get jmri to pick up cars with my train. first time user. Java 17 version 5.1 Screen shots Craig Drenkow 1306 Parkview Dr. Norfolk, NE 68701 402-649-5498
|
Xnet Message queue not being send to layout
15
#lenz
#xpressnet
Hi there, I am experiencing an issue with JMRI, I am using the latest 5.10 production release. I experienced similar issue with the previous version. I am using a Lenz LVZ100 command station with a serial interface on a raspberry pi. Everything works as expected, but after a while, the queue for a DCC address stops being treated. I mainly run my trains through custom jython scripts. The only workaround I found is to restart JMRI. When this happens any JMRI tool is useless for a specific address (withrottle, jmri throttle, web throttle...), but that address can still be controlled with handheld command outside JMRI. I enabled trace log level and here is what I get. In this example address 2 is stuck while address 9 works fine at the same time. Not processing queue : 18:31:08,106 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.09 Current step mode is: 28 SS [Speeder : TGV V150 (DCC 2)] 18:31:08,107 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV V150 (DCC 2)] 18:31:08,608 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.0 Current step mode is: 28 SS [Speeder : TGV V150 (DCC 2)] 18:31:08,608 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV V150 (DCC 2)] Processing queue (same session) : 18:31:33,841 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.03 Current step mode is: 28 SS [Speeder : TGV Poste (DCC 9)] 18:31:33,842 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV Poste (DCC 9)] 18:31:33,842 jmri.jmrix.lenz.XNetThrottle DEBUG - sending message to traffic controller [Speeder : TGV Poste (DCC 9)] 18:31:34,083 jmri.jmrix.lenz.XNetThrottle DEBUG - Throttle 9 - received message 01 04 05 [AWT-EventQueue-0] 18:31:34,085 jmri.jmrix.lenz.XNetThrottle DEBUG - Status Timer Stopped [AWT-EventQueue-0] 18:31:34,085 jmri.jmrix.lenz.XNetThrottle DEBUG - message queue empty [AWT-EventQueue-0] 18:31:34,343 jmri.jmrix.lenz.XNetThrottle DEBUG - set Speed to: 0.06 Current step mode is: 28 SS [Speeder : TGV Poste (DCC 9)] 18:31:34,343 jmri.jmrix.lenz.XNetThrottle DEBUG - adding message to message queue [Speeder : TGV Poste (DCC 9)] 18:31:34,343 jmri.jmrix.lenz.XNetThrottle DEBUG - sending message to traffic controller [Speeder : TGV Poste (DCC 9)] 18:31:34,626 jmri.jmrix.lenz.XNetThrottle DEBUG - Throttle 9 - received message 01 04 05 [AWT-EventQueue-0] 18:31:34,627 jmri.jmrix.lenz.XNetThrottle DEBUG - Status Timer Stopped [AWT-EventQueue-0] 18:31:34,627 jmri.jmrix.lenz.XNetThrottle DEBUG - message queue empty [AWT-EventQueue-0] Any ideas greatly appreciated. Adrien
|
Coding with Packet Analyzer
8
Anyone up for a job? How much would you charge to make me code? To parse the data coming from the packet analyzer and update the locomotive roster with new running time. Maybe make some stats out of the data coming back....
|
LogixNG best way with multiple sensors
12
#logixng
Hi, I am looking for some best practice advice / guidance here. I am configuring a prototypical (UK Entrance Exit) panel with lots of fussy things that need to happen when the physical buttons are pushed. It will be about twenty buttons, already configured in JMRI as sensors and already in a sensor group so only one button will be active at any one time. I have a requirement which initially sounds simple - whenever a button is pressed, I want to go and do some processing which needs to know which button triggered the process. Approach number one - twenty ConditionalNGs one for each button. When a ConditionalNG fires, it sets a [global] variable to note which button (ie which ConditionalNG) was pressed and then calls a common module to do the processing. The module can then look at the variable to see which button caused things to happen. I think I can make that work, but twenty almost identical ConditionalNGs feels a bit clumsy and error prone. Approach number two - a single ConditionalNG which is set to react to any of the sensors going active (presumably an "or"). Again, it would need to identify which sensor caused the trigger and save the detail to a variable before calling a module to do the processing. That feels like it would be neater, but I haven't found a way to let a ConditionalNG know which specific sensor triggered it. Approach number three - the obvious and much better approach which has completed eluded me so far! Any thoughts or suggestions very welcome. Some background of what will go on in the later processing (more for interest than anything). Each button can be either an Entrance to a route, and Exit, or both. The first button to be pressed has to be an entrance (exit buttons will be ignored). The light in the entrance button will then start to flash. The next button to be pressed should then be an exit button. If there is no valid route from entrance to exit, the flashing entrance button light will go dark and the process starts again. If there is a valid route, then the light will go steady and the route will start to set (probably using standard JMRI routes to do that)......... Maybe that explains why I am looking for any one of the 20 buttons to trigger the same process (where the logic will be), but that I do need to know which button was pressed. Hopefully, the question makes some sense! Thanks, Nick.
|
DCC EX Semaphore or servo signals
Hi, Do you know if I can use servo signals defined in DCC EX (mechanical signals contoled by a servo) in JRMI ? Thanks. -- --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.9.5 on Windows DCC EX on Arduino Mega Java version 17.1.12
|
Multiple RFID tags in one block
8
#rfid
I must admit I am having a hard time grasping all the options available for RFID, reporters and block tracking. Is there a way to handle more than one RFID tag in a block? If I had RFID tags on all units, and RFID readers on all block borders, I would have a train of tags moving around. A double reader could indicate the direction of travel. On my 1:8 scale garden railroad this is quite feasible. A Cbus node with an arduino nano and 2 cheap readers on every block border could do the job. A tag should be in only 1 block - when a it enters a block it should be removed from any previous block. Block occupancy is based on at least 1 tag in the block, to be shown on the panel. But how can I do this in JMRI? Regards, Torgrim
|
Layout Editor displaying block contents
2
#blockvalues
I¡¯ve got what seems like a beginner¡¯s Layout Editor question, but I¡¯ve never run across this before: How best to display block contents on a Layout Editor Panel? There seem to be (at least) two methods in use: A) Place a Block Contents Label on the panel B) Attach a Memory to the Block via the Edit Block window, then place a Memory Icon on the panel Solution (A) seems the most straightforward to me. It¡¯s the one recommended in the documentation. But I¡¯ve been given some panels to work on that use (B). Is there a reason to prefer one approach or the other? Is something else recommended now? Thanks in advance. Bob ¡ª Bob Jacobsen rgj1927@...
|
Dispatcher Q
Hello Members Im back again trying out JMRI,but have encountered same problems as Other Attempts. I have made a simple layout plan,7 blocks no turnouts.(for testing) Each block has detection,the first and last IR stopping sensors,all appear to be acknowledged by JMRI I can make a simple 7 block continuous transit,asking jmri to run a train till the Stopping sensor then Terminate This i can execute,no problem.I can return the train manually then re do,works,but after this things go awry. Questions 1.When i choose Stopping sensors in Sections,it Doesnt (appear) to save them.When i go into edit they are not there. Is this a Bug? 2.The most common problem i have is that if i run the same transit more than once,eventually the train will stay in the First block,waiting for the next Block to get allocated,but never does. Once this happens,no transits will ever work. I have to restart NCE and JMRI,then it (may)work. I spent many hours reading Posts here,and ive seen these problems ,but never seen a fix(for me anyway) I will upload a file called JMRI to Look in the uploads Any comments most welcome Regards Brett
|
Trying to load JMRI 5, and JAVA 11
2
#java
but get LaunchJMRI - 0.1.31.0 Java not found in jre, default or Registry try installing or using mklink jre {path to java version 11 very much a beginner. Thanks Graeme
|
Announcing version 3.00 of Model Railroad Switch List And Manifest Formatter
6
#MRSLAMFormatter
#operationspro
I¡¯m pleased to announce that version 3.00 of Model Railroad Switch List And Manifest Formatter is now available for download from the website. New in this version of MR SLAM Formatter is the ability to automatically resize data fields to fit within the printable area of the column and/or page, and then to line wrap the text, as necessary, to fit within the borders. If you use JMRI Operations Pro to create manifests and switch lists for your model railroad empire, then you should check out MR SLAM Formatter. It is a companion program to Operations Pro and provides unparalleled capabilities to format your manifests and switch lists. The program is free, easy to use, and, like JMRI, runs under Java. Please watch this YouTube video that demonstrates this new program feature. [ If you are leery of clicking on links, go to YouTube and search form "mrslamf" to find the video.] Then visit the website to download the program - https://mrslamf.com/. The website contains numerous example documents and there are several videos available that demonstrate various features of the program. The program also comes with a complete user¡¯s manual that describes all of the program¡¯s features. MR SLAM Formatter has been downloaded hundreds of times by users around the globe. Give it a try.
|
Invisible pop ups
7
I have a regular problem with pop-ups from JMRI not being visible, which then renders JMRI unusable until restarted. This is on a raspberry pi originally built using the image provided. Access is via VNC. I have version: PanelPro version 5.10+Rca461bd266 starts under Java 17.0.14 on Linux aarch64 v6.6.74+rpt-rpi-2712 at Mon Apr 21 08:52:21 BST 2025 [main] The display is wayland, and the hardware is an 8g Rasberry PI 5 (but I also saw this on my old rasberry pi 4) The behaviour appears to be random, I just had it when trying to write this by going to "Help -> About PanelPro" but on restart it's fine. I see it most when editing LogixNG when it's popping up a warning that I need to complete editing a logixng before exiting that edit. Any ideas? Thank you Chris
|
JMRI route selection track colors
2
Is there a way to have a selected route show up as a different color on the track layout screen?
|
Principles for signal decoders (LocoNet/LCC)
5
Greetings! I am still in the design stage for my layout, and am looking into the signaling options. As I understand it, the central computer only tells a signal decoder to show an allowing aspect or not, and it its up to the decoder to determine which aspect is applicable, using status messages it has heard over the LocoNet/LCC. A signal decoder also can broadcast its new state whenever it changes aspect. I have three questions: 1. Can the central computer instruct the decoder *which* aspect to display or is it only a binary go/stop order? If yes: how many different aspects can be ordered? 2. When a decoder broadcasts its new state, does it specify *which* allowing aspect it is showing, or is it only a binary go/stop? If yes: how many different aspects can be communicated? 3. In many signaling systems, a signal can give a proceed aspect for a train movement or a shunt movement. How does the central tell the decoder which of these to use? (In the signaling system I am modelling, shunting is governed by separate lights, which may be intergated into the main signal or be part of a separate dwarf/shunt signal.) Thanks in advance
|
DCC-EX CSB1 run trains and control kato turnouts?
2
#dcc-ex
Can a single CSB1 run trains and control turnouts? I would like to power the turnouts from a 2nd motor shield piggy-backing on top of the first. My guess is to designate the turnouts in the arduino my layout.h file. i am new to DCC, so any help would be great ~gary
|
Question with regards to using schedules
3
#operationspro
I was wondering on the layout that I operate on we have several customers that all receive loads of coal and ship out empties. I am thinking that I can just create a schedule (call it coal) that will allow me to have my fleet of hoppers run in cycle of coming in from staging loaded getting routed to the industries and then the empties going back off line to be reloaded. Currently I have set up custom loads of LD coal and MTY coal but I am having the issues that when the car gets empty they end up getting routed whichever way the computer decides to do. which create an issue of the cars not getting back to the proper staging location to get reloaded. I have also set it to where the car is empty to return it to said staging area (in this Case Omaha to interchange with the UP). I also get a message saying that car may not return to destination due to load (E) for some reason I can change it to say MTY coal. Thank you Ashley
|
Add custom items to mqtt topic
5
#mqtt
When a point/turnout is changed in JMRI connected to the layout using MQTT it publishes a message whose topic is of the form ../turnouts/ T101 I have a number of arduino nodes controlling points and would like something like ../turnouts/node2/T101. so the node can subscribe only to topics that are relevant. I have worked out how to add and persist custom properties to the turnout object but how do I change the published MQTT topic to reflect these.
|
New install trouble
4
So after being away for a few weeks, I¡¯m back down in the basement with my new install on a new laptop. Everything seems to be set, but I cannot identify a locomotive under either identify or-new Loco by decoder type read. I constantly get a 301 stopping due to error no locomotive detectived message. I¡¯m using NCE system and I can still run trains. When I click on identify or through the new Loco tab the status light on my powerhouse blinks rapidly for several minutes and then the error message appears. I was scrolling through older messages and thought that maybe I had a com port ID problem, but since the LED on my powerhouse flashes, would that be ruled out? I have my system hooked up to the laptop through a USB port, which goes through an adapter cable, all of this was working When I replaced the laptop.Suggestions of which way I need to look for an issue appreciated. Thanks, Bruce and Mt. Airy, Maryland
|
Cannot get power to new Throttle
3
#sprog
Good afternoon, I need help. I have JMRI 5.10 on my laptop. I am running Windows 11 and have Java 17. Sprog ll is my interface. I wanted to test a loco on the programming track, however, I cannot get the power button to go from pale green to green. In fact it does not respond at all. I have reinstalled Decoder Pro and still no joy. Am I doing something wrong? Regards, Dennis Dennis G Edgar Lead Auditor 133839 email: dennisedgar7@... mobile: 083 6470569
|
Use Logic Rail Clock to Drive Logix NG
4
#logixng
I have a logic rail fast clock connected to my PC via an LCC bus. I would like to use the time on the Logic Rail to drive a logix NG. The Logic Rail is set as a master. As a test I wanted the Logix to execute a command at 5 minutes. I set it up as follows but it is not working I would really appreciate any help in getting this to work. have proven out the voice monkey part of the equation by using the pressing of a sensor as a trigger. I have also used JMRI fast clock to trip it but then I have no easy way to display the JMRI fast clock time around the layout. For those curious - I am using Voice Monkey to then send a command via Alexa to dim room lights connected to Alexa enabled dimmers I am just getting my feet wet with Logix so could really use the help! Thanks in advance
|
Copying CVs from one loco to another
8
Is there a way to copy the CVs from one loco in a roster to another? All my locos have ZIMO decoders and at least the initial setting for ABC should be the same, so when I introduce a new loco I'd like to just copy an existing locos settings. Is there a way? Or a template so that the default for new locos is ABC, stopping distance X, etc... I have a similar situation for sound. Two locos, identical chips both with sound. I want to copy the sound settings from one to the other. Can I? Or do I have to write them all down and do it by hand? Thanks Chris
|