¿ªÔÆÌåÓý

Date   
Locked Sticky ADMIN: Use of the groups "Files" area #admin
This is a place for temp files, other than administrative files. Either they are to be added to the next release, added to the Documents or will have a short life span. Groups.io has free subscription storage limit of 1 GB! The following are counted towards the storage limits for the group: - Files - Photos - Images in databases - Images in wiki pages - Message attachments 1. Please put files into the correct folders. - If there is not an appropriate folder, feel free to create one. 2. If you are working on a problem and want to load info for others to look at, create a folder within the 'Problems Being Worked On' folder using the Msg number or you name as the folder name. When the problem is resolved please delete the folder. 3. All files and photos are subject to removal at the moderators discretion. Your Moderators -- Peter Ulvestad JMRI Users Group Moderator - http://www.jmri.org ( http://www.jmri.org ) Tam Valley Group Moderator - https://tamvalleydepot.com/ ( http://tamvalleydepot.com/ ) Sprog-DCC Group Moderator - http://www.sprog-dcc.co.uk/ ( http://www.sprog-dcc.co.uk/ ) Edmonton Model Railroad Association - http://www.emra.club/
Started by Peter Ulvestad @
Locked Sticky ADMIN: >>HOW TO ASK YOUR QUESTION<< - A general reminder for everyone #admin
====================== HOW to ask your question ====================== One of the most common questions about JMRI is "How do I get it to work?". This isn't really a problem with JMRI itself in most cases, but there are HUGE numbers of possible configurations for DCC systems, and Windows, Linux, and Mac computers out there. Just asking "How do I get it to work" is NOT going to get you any useful help. When asking ANY question, you should >>>utilize a meaningful subject line<<< that indicates the problem and include the following information in the body of the message: + If JMRI has started copy and paste the System Console into the body. (its under help on the start screen) + Has JMRI worked before on this computer? + JMRI version + Previous version if you just upgraded + Java version + Previous version if you just upgraded + Computer make and model + if you have just upgraded, from which version + Any other DCC devices in use + Specific details of your difficulty including error messages if any, or what you would like to do with JMRI. Decoder Programming, Signals, Automation, etc. Depending on the nature of the problem, you may need to supply even more information, but this is the absolute required for anyone to give you accurate answers. Signing you post helps keep the group friendly and personable! Your moderators and trouble shooters.
Started by Peter Ulvestad @
Locked Sticky Please use "meaningful subject lines" when starting topics #admin
Please use "meaningful subject lines" when starting topics. We are getting lots of subject lines that don't give much if any idea of what the topic is about. By providing a meaningful subject line you may get the attention of someone that can provide you assistance with your issue. It also give others the chance to skip the topic if it is not of interest to them. -- Peter Ulvestad JMRI Users Group Moderator - https://www.jmri.org ( http://www.jmri.org ) Tam Valley Group Moderator - https://tamvalleydepot.com/ ( http://tamvalleydepot.com/ ) Sprog-DCC Group Moderator - http://www.sprog-dcc.co.uk/ ( http://www.sprog-dcc.co.uk/ ) Edmonton Model Railroad Association - http://www.emra.club/
Started by Peter Ulvestad @
Locked Sticky ADMIN: PERMITTED TOPICS - A general reminder for everyone #admin
We would like to point out that this list is for discussions related to JMRI, and is intended to be a place that people, particularly beginners, can turn to for help with their JMRI problems from more experienced JMRI users. General DCC and model railroading topics should be taken to a more appropriate forum and NOT be posted here. SPAM of any kind, politics, legal issues, and other off-topic matters should NOT be posted to the list and will be subject to deletion by the moderators, as will any responses to such off-topic matters. New members still on moderated status will find that off-topic posts will not be approved for posting, and old members making such posts may find themselves back on moderated status. BUY / SELL and ADVERTISING is NOT PERMITTED Let's keep things simple for all of us, and keep the discussion here on-topic. Your moderators
Started by Group Moderator @
LCCTools v5.11.6 fails with unrecoverable error 2
Folks, I tried v5.11.6 tonight with a real LCC connection. In "dark mode" the LCC Node CDI fails with the unrecoverable error detailed in the attached file. Re-checked with "Windows" mode and no issues. Tom Kane Purcellville, VA -- Tom Kane Purcellville, VA Modelling the PRR in 1954 'ish'
Started by tmkprr1954 @ · Most recent @
How do I hook up a bar code reader to JMRI 40
I want to use a barcode reader to identify cars on my layout, but I can't find a way to read the code into JMRI. I've reviewed other bar code topics from this group in the past but none answered my question. One way I've tried is to use a Reporter. I'm using an iMac running macOS Monterey. When I connect the bar code reader to the USB port, I can see it in the Mac system report and in JMRI>PanelPro>Debug> USB devices. However, when I try to create the Reporter using 'others' as the system manufacturer and (Direct Drive (Serial) not available), the USB port does not show in the serial port drop down. I can't get past this problem. Another way I've tried is to use a Memory Variable. I can read the bar code into the value field if my cursor is in that field. But I don't known how to select that field without a cursor. I don't need to identify a port, as the bar code reader just acts like a keyboard, entering a 4-digit number and <enter>. I've never tried manipulating JMRI windows and am not sure how to activate a particular field in one. I'm creating Jython script to accept the bar code using the waitChange command (for the Reporter) and then process it. But as I said I'm stuck trying to get the bar code inside JMRI. The Reporter track is preferred, I think, since I will be using two bar code readers eventually and I can have two reporters attached to two different connection ports. I don't know how I would do this using a Memory Variable. Can someone help me out? Thanks, Nick
Started by Nick Brownsberger @ · Most recent @
What¡¯s the optimum blocks in a fiddle/storage yard 3
Can you give me some views on the right number off blocks in a storage yard. I intend to store 2 trains in line in each fiddle/storage yard. So my thinking was three blocks. One near the end about the length of a long loco. Say last 10%. That will detect the first loco and stop near the exit when using dispatcher. the second block being about 40% into the storage line. This would detect a following train and stop it after crossing the boundary. With the remaining entry block covering the first 40% would act to slow the loco. Prior to crossing the next block. on the other hand do I need four blocks. Such as 40%,10%,40% and last 10% or is this a waste?
Started by Howard Witt @ · Most recent @
jmri & Arduino DCC-EX 11
I have an Arduino uno with a motor shield attached and loaded with the DCC-EX command station software I have tested this and it detects my loco within the monitor part of the Arduino so I know the loco can be detected and if I issued the command <R 8> directly to the loco the loco judders forward and is detected however when using decoder pro and using the add now loco button I get a message "loco failed to respond" currently I have jmri version 4.26 on my Mac and 5.10 on the other systems due to java limitations on my Mac the track voltage on the main is 12v the loco works on other dcc systems so no problem there (I have a digikeys 5000 on my main layout) I have tried multiple computers running jmri on windows 10 , windows 7 , linux , and Macos all give the same message jmri on all the systems can turn the power to the track on and off on the Arduino but nothing else so any help would be welcome Many thanks Rob
Started by Rob Heath @ · Most recent @
Principles for signal decoders (LocoNet/LCC) 6
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
Started by Anders W @ · Most recent @
Script does not Print to System Console on Linux laptop 3
Howdy all. I am working on an older HP laptop running Lubuntu Linux with JMRI 5.11.6 and Java 17.0.12. I am writing scripts for use with my MQTT project, but I realized that I cannot print anything to the System Console in my script. I do get about 40 lines of messages when an error occurs, but my print statements do not show any results in most scripts. Even when I start PanelPro from the Terminal, I do not see any results from print statements. An exception to that is the Set-Every-Sensor-ToInactive.py script which prints I was sure that I have seen items printed out on my other computers, so I figure I must have a setting or configuration set wrong on this computer. I often used print statements to see what the script is working with (print out a variable for example). Hopefully there is something I can change to make it print. Thanks in advance for any thoughts, ideas and help. Phil from gorgeous Young Harris, Georgia, USA Here is the System Console when starting: 22:04:19,662 apps.util.Log4JUtil INFO - * JMRI log ** [main] 22:04:19,738 apps.util.Log4JUtil INFO - This log is stored in file: /home/phil/.jmri/log/session.log [main] 22:04:19,741 apps.util.Log4JUtil INFO - This log is appended to file: /home/phil/.jmri/log/messages.log [main] 22:04:19,799 apps.Apps INFO - PanelPro version 5.11.6+R1b48891fa4 starts under Java 17.0.12 on Linux amd64 v6.8.0-59-generic at Thu May 15 22:04:19 EDT 2025 [main] 22:04:20,044 t.permission.DefaultPermissionManager INFO - Permission file: /home/phil/.jmri/.permissions.xml [main] 22:04:20,069 t.permission.DefaultPermissionManager INFO - Permission system is enabled: no [main] 22:04:22,850 apps.Apps INFO - Starting with profile MQTT.3e352f94 [main] 22:04:22,938 jmri.util.node.NodeIdentity INFO - Using f7cdb150-c041-4957-b46a-5fd914db4bf8 as the JMRI storage identity for profile id 3e352f94 [AWT-EventQueue-0] 22:04:23,258 jmri.jmrix.mqtt.MqttAdapter INFO - MQTT starting connect with MQTTchannel = "" [main] 22:04:23,270 jmri.jmrix.mqtt.MqttAdapter INFO - Connection M is using a clientID of "MyJMRIRailJMRI2420C21CM" [main] 22:04:23,848 jmri.jmrix.mqtt.MqttPowerManager INFO - Subscribed to track/power [main] 22:04:24,525 jmri.util.FileUtilSupport INFO - File path program: is /home/phil/Downloads/JMRI/ [main] 22:04:24,526 jmri.util.FileUtilSupport INFO - File path preference: is /home/phil/Railroad/MQTT/ [main] 22:04:24,526 jmri.util.FileUtilSupport INFO - File path profile: is /home/phil/.jmri/MQTT.jmri/ [main] 22:04:24,527 jmri.util.FileUtilSupport INFO - File path settings: is /home/phil/.jmri/ [main] 22:04:24,528 jmri.util.FileUtilSupport INFO - File path home: is /home/phil/ [main] 22:04:24,528 jmri.util.FileUtilSupport INFO - File path scripts: is /home/phil/Railroad/Jython/ [main] 22:04:25,684 apps.PanelPro.PanelPro INFO - Main initialization done [main] 22:04:55,679 jmri.jmrit.jython.RunJythonScript INFO - No file selected [AWT-EventQueue-0]
Started by Phil in gorgeous Young Harris @ · Most recent @
What's the optimum blocks in a fiddle/storage yard
What I¡¯ve found to work is a short block at the end. This is used to stop the loco. But is the staging ONLY used in one direction? If it is usable going either way, you have to mirror the pattern of blocks. But the logic would be for when the whole track is empty, enter and go as slow as needed to be able to stop when hitting that end stopping block. Next, is the end of the train detected? Resistors on wheels, lit caboose, lit FRED, something. If so, the logic for putting a second train into staging would be slow but watch for the turnout to become unoccupied. That¡¯s what is used to stop a second train into a staging track. Now after the first train has left staging, the logic becomes like the original one train into staging and you advance the 2nd train slow until it gets to the stopping block. If you can¡¯t detect the end of the train, it is still possible but more complicated. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com
Started by Ken Cameron @
Losing occupancy when trying to record a warrant 4
When I try to record a warrant I get a message saying that the occupancy is lost when I cross into the next block and the recording stops. I have a Digitrax system with BXP88s detecting occupancy. I believe the BXP88s are working correctly because when I observe the control panel the occupancy changes as it should between blocks. I have the global debounce set at 4000 ms to inactive to try to conquer this problem but still no luck. NX warrants work perfectly. Any ideas would be appreciated. Thank you, Bob
Started by dnbroraback@... @ · Most recent @
Why is LogixNG triggering on startup? 3
I am assuming that the LogixNG are triggering because of the way I have them setup, so the longer question is what do I need to do to change the programming of LogxNG so that they do not execute when I startup JMRI. Here is an example of one of the LogixNG that runs, that I would like to not run on startup. Thanks in advance -- Heath @ Human[c]ity http://www.humancity.org http://www.riversidetransfer.nyc http://www.manhattanmodelers.com
Started by Heath @ Human[c]ity Junction @ · Most recent @
Can a single DCC-EX CSB1 run trains AND control turnouts? 4
Can a single CSB1 run trains and control turnouts? I would like to power the turnouts from the motor shield My guess is to designate the turnouts in the arduino myautomation.h file. i am new to DCC, so any help would be great ~gary
Started by gd101 @ · Most recent @
Conditionals 8
I have several logixes related to the same turnout. I was wondering if there is a way to combine them easily into one new logix (other than retyping them). Ulrich
Started by Ulrich @ · Most recent @
NX routing sensor direction 6
I am trying to set up NX routing, but some turnouts have only one direction shown for the sensor, often the wrong one. This could be because I'm new to JMRI and have tried and failed several times, and this seems to leave junk (sensors) in the xml file. What in the xml file gives the direction for a sensor ? Is there any way to list what route will be selected between sensors. Mike Johnson
Started by Mike Johnson @ · Most recent @
Locked File /ProblemsBeingWorkedOn/dsand/NX Icons.zip uploaded #file-notice
The following items have been added to the Files area of the [email protected] group. /ProblemsBeingWorkedOn/dsand/NX Icons.zip By: Dave Sand <ds@...> Description: Custom icons for NX sensors.
Started by Group Notification @
Improving JMRI response to sensors 6
I'm trying to get asymetric brake control (ABC) working and for cases where I have coaches with lighting wiring I have to switch the ABC circuit based on a sensor. Tis works, but is very unreliable and it appears to be because JMRI can take a significant time to process the event. In this case the first event shown is the sensor detecting the train and the last event shown is the relay turning on the ABC circuit to the coaches. JMRI < < CBUS | 18:08:24.355 ACON NN:256 EN:2 Sensor Active: UDIR1 Long Event On [+n256e2] Dyn Pri: 2 Min Pri: 3 CAN ID : 1 JMRI < < CBUS | 18:08:24.357 ACON NN:259 EN:14 Sensor Active: UBD2a Long Event On [+n259e14] Dyn Pri: 2 Min Pri: 3 CAN ID : 4 JMRI > > CBUS | 18:08:25.313 ACON NN:267 EN:15 Turnout Thrown: BBD3 Relay Long Event On [+n267e15] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:25.372 ACOF NN:267 EN:16 Turnout Closed: BBD3a Relay Long Event Off [-n267e16] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.398 ACOF NN:269 EN:8 Turnout Closed: MT+N269E8 Long Event Off [-n269e8] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.399 ACOF NN:269 EN:7 Turnout Closed: MT+N269E7 Long Event Off [-n269e7] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.399 ACON NN:269 EN:6 Turnout Thrown: MT+N269E6 Long Event On [+n269e6] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.546 ACON NN:262 EN:8 Turnout Thrown: UBD5a Long Event On [+n262e8] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.549 ACON NN:269 EN:5 Turnout Thrown: MT+N269E5 Long Event On [+n269e5] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.550 ACOF NN:269 EN:4 Turnout Closed: MT+N269E4 Long Event Off [-n269e4] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.550 ACOF NN:269 EN:3 Turnout Closed: MT+N269E3 Long Event Off [-n269e3] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 JMRI > > CBUS | 18:08:26.591 ACOF NN:266 EN:6 Turnout Closed: ABC_UD1 Long Event Off [-n266e6] Dyn Pri: 2 Min Pri: 3 CAN ID : 126 The other events are related to the train leaving the previous block and so the system clearing the signal and the ABC relays. The swtiching is being done by LogixNG which a simple if then else so should not take over 2 seconds, unless it is blocked behind other processing, even that seems slow. Is there anyway to speed up processing and or make the stop actions have a higher priority or run in dedicated threads? Thank you Chris
Started by Chris Gerhard @ · Most recent @
Locked File /ProblemsBeingWorkedOn/TWES.xml uploaded #file-notice
The following items have been added to the Files area of the [email protected] group. /ProblemsBeingWorkedOn/TWES.xml By: Mike Johnson <919.mike@...> Description: NX issues, the left side routes work, the top right side points don't change. UK, so we drive on the left.
Started by Group Notification @
Execute Delayed tripping me up 3
Sorry, I'm back with another question. This works perfectly: The module specified at A2 gets called four times in quick succession and the local variables passed to it are as expected. But, I need to introduce a delay between the four times that the module gets called (because I need to slow down the rate at which the four messages get sent to CBUS). As a first step, I will just add a constant delay and, when that is working, I will make the four delay lengths slightly different, but one step at a time! I read that local variables are handled nicely by Execute Delayed: So, I just did this (the only change is at A2): My expectation was that the module would still be called four times in quick succession, but with a noticeable delay before. But it didn't get that far! I got four of these: And four of these in the System Console: I am probably doing something illogical or even stupid, but I am struggling to see what that message is telling me, or why I am ending up with what appears to be a null local variable. Thanks, Nick
Started by Nick Locke @ · Most recent @
Current Image
Image Name
Sat 8:39am