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/
|
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.
|
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/
|
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
|
jmri & Arduino DCC-EX
6
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
|
Losing occupancy when trying to record a warrant
3
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
|
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.
|
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
|
LCCTools v5.11.6 fails with unrecoverable error
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'
|
Trying to load JMRI 5, and JAVA 11
3
#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
|
NX routing sensor direction
4
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
|
How do I hook up a bar code reader to JMRI
33
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
|
ESP32 always updates each time I start EX-installer
2
ESP32 always updates each time I start EX-installer. How do I make the update stick so that it doesn't do this each time? -- ~gary
|
Can a single DCC-EX CSB1 run trains AND control turnouts?
2
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
|
Is there a convenient way (mounting a shield, not individual wiring) to turn a switch with an arduino Mega
2
Is there a convenient way (mounting a shield, not individual wires between boards) to turn a Kato solenoid switch with an arduino Mega? I also need the turnout to be throwable in EX-throttle or Wi-throttle in a JMRI panel. I would like to do it on the CHEAP, so no accessory or stationary decoders ¡ª just a cheap motor shield to turn 2, 4, or even 8 or 16 points. The L293D shield looked so promising at first even though it is unsupported hardware (Hah! I said). is there a cheap stackable solution? there has to be a way (I think?) -- ~gary
|
Audio Icon on Web Panel - Java
Dave S. & Daniel B. I just picked-up where we left off on DEC 5 2024. We had a thread going and Daniel provided Java code. Based on Dave's comments on the code I believe I would be left with what's shown in the attached snip. I saved it as .js but that didn't work when I ran it from Panel Pro. NY&HV_RR_Yard_Scenes is the name of my panel and Harbor is the ID of the Audio Icon. What file extension should I use, .java? Will it run from Panel Pro or from Command line? -- Many thanks in advance! Vinny DeRobertis ~ Apex, NC New York & Hudson Valley RR Windows 7 Pro / Java 11 / JMRI v5.10 Command Station: Digikeijs DR5000. Booster: Digikeijs DR5033 (4) Samsung A7 10.4" Tablets Fully Kiosk/Engine Driver v2.37.187 DCC/DMX Gateway: Pricom LLS. LocoNet Input Modules: Digikeijs DR4088LN DCC Output Modules: Digikeijs DR4018 / Yamorc YD8116. Sensors: Model Train Technology: DETECTOR-HO. Turnout Motors: MTB MP1
|
Improving JMRI response to sensors
5
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
|
JMRI v5.11.6 initial run OK
Folks, I just loaded v5.11.6 and all seems fine. My previous issue with icon scaling in "Dark Mode" with Layout Editor has been fixed. Thanks, -- Tom Kane Purcellville, VA
|
JMRI & Arduino CMRI Nodes issues
Hi I am not sure if this has been mentioned on here in the past. When using the RS485 modules connected to the Arduino if you start to have more than about 5 nodes you will start to see problems. This is because the cheap modules we buy come with a termination resistor R7 that needs to be removed depending on the bus setup. It would be good if a note could be placed in the relevant page in the JMRI documentation.
|
LogixNG arrays
6
#logixng
Probably because I am not a Java/Python guru, but let's see...... I have a LogixNG Table: Ignore the "Digit x" columns - they were from my first (working) attempt at this. I am now doing some refactoring and want to use a more useful array of four digits, hence the new Digits column. I guess the first question is whether I have defined those arrays properly. I grabbed the square bracket syntax from the documentation, but from a different area. The I have a module which starts like this: Then, I do this: If I put a log of local variables after A4, I get this: Bearing in mind that I defined the Events variable as as array, I am not sure whether what I actually have there is an array (if my original formatting is wrong, then obviously it won't be). The A2 operation fails with a fairly clear error message which seems to be telling me that Events is not an array: My suspicion is that the way I have put the data into the CSV file is wrong. I'd welcome any pointers. Thanks, Nick
|