Connect to Marklin Central station with TCP
4
#maerklin
Hello, I would like to use the TCP protocol to connect to a M?rklin central station 3 (or, in my case, a surrogate). The current JMRI implementation uses UDP which has been deprecated in favor of TCP by M?rklin. The only thing changed is the switch from UDP to TCP; the data stream remains exactly the same. The TCP port is 15731. This should be a simple change in and of itself, but there may be need to be some change to the setup page. Any help and guidance is appreciated. Thanks. Gopal
|
B&O 1960 Mast problem
4
#sml
All, I entered a new mast to my layout using the n3ix signal board with DCC control. Using B&O 1960 position targets. Normally is just use standard signal masts that looks ahead at next block, but this new one seems to be looking past next mast and it's block. Is this normal? Roger
|
JMRI and EasyDCC
8
#easydcc
Recently could not get JMRI on my Windows 10 laptop to talk to the EasyDCC Command Station. After much fiddling around with cables (and replaced the serial adaptor cable) I can open JMRI (5.10) on my laptop, turn layout off and on, select a loco and the buttons for programming on main and program track highlight. Also the words in the bottom left hand corner of the screen are in 'green'. However, I cannot program the loco CV's using either the main or program track. When I go to edit, preferences, defaults - the buttons for both the program track and main are blank and cannot be activated! Thoughts please?
|
Locked
Java exception when starting JMRI 4.20 with Java 17
18
Hello all, I'm trying to get JMRI 4.20 running on a Raspberry 3b. The RPi OS came with Java 17.0.14. I'm wondering if JMRI 4.20 will even run with that version of Java. If not I'll need to upgrade to the latest 5.x version of JMRI. Thanks and take care. Dennis Drury Dayton, NV Here is the error log: OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release. 2025-03-12 12:44:53,718 util.Log4JUtil INFO - * JMRI log ** [main] 2025-03-12 12:44:54,101 util.Log4JUtil INFO - This log is appended to file: /home/sci/.jmri/log/messages.log [main] 2025-03-12 12:44:54,110 util.Log4JUtil INFO - This log is stored in file: /home/sci/.jmri/log/session.log [main] 2025-03-12 12:44:54,187 apps.Apps INFO - InstallTest version 4.20+Rc7ba8249b starts under Java 17.0.14 on Linux aarch64 v6.6.74+rpt-rpi-v8 at Wed Mar 12 12:44:54 PDT 2025 [main] 2025-03-12 12:44:54,605 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at jmri.util.swing.SliderSnap.init(SliderSnap.java:123) at apps.Apps.<init>(Apps.java:130) at apps.InstallTest.InstallTest.<init>(InstallTest.java:40) at apps.InstallTest.InstallTest.main(InstallTest.java:115) Caused by: java.lang.reflect.InvocationTargetException at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1371) at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1346) at jmri.util.swing.SliderSnap.init(SliderSnap.java:121) ... 3 more Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected int javax.swing.plaf.basic.BasicSliderUI.xPositionForValue(int) accessible: module java.desktop does not "opens javax.swing.plaf.basic" to unnamed module @42f30e0a at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:200) at java.base/java.lang.reflect.Method.setAccessible(Method.java:194) at jmri.util.swing.SliderSnap$Init.run(SliderSnap.java:410) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
|
Problem getting started.
7
#sprog
I bought a SPROG IIv4 a few months ago. I have just built a MERG Kit 52 and wanted tp program it. I have connected the SPROG up the USB and Pwr lights are on When I ask it to read the CV it comes up cannot connect to Command Station (306) I have put a multimeter on Tr A and Tr B and there is no voltage reading at all at the SPROG end! Is this correct? John Greenwood
|
OperationsPro New feature, Routes
14
#operationspro
OperationsPro users, there's a new feature that I would like feedback on. There's now a control for local moves in a train's route. See https://www.jmri.org/help/en/package/jmri/jmrit/operations/Operations.shtml#PullsAndSpots for more information. Any comments, good or bad are welcomed. Dan
|
Different warnings using the dispatcher.
2
#dispatcher
Hi, I get the following warning messages in the JRMI console: 17:36:34,730 jmri.jmrit.roster.RosterSpeedProfile WARN - Throttle destroyed before zero length[-31.404144] remaining. [Allocated Section Block Change on MainEast] 17:37:19,825 jmri.jmrit.roster.RosterSpeedProfile WARN - Throttle destroyed before zero length[0.520813] remaining. [Allocated Section Block Change on MainEast] 17:37:19,826 jmri.jmrit.roster.RosterSpeedProfile WARN - distance remaining is now 0, but we have not reached desired speed setting -1.0 v 0.4920635 [Allocated Section What does that mean ? Many thanks. --------------------------------------------- Jean-Louis Paris-France --------------------------------------------- JRMI 5.10 on Windows DCC EX on Arduino Mega Java version 17.1.12
|
Duplicating a Configuation Profile in Ops Pro
2
#operationspro
Greetings, I have a working Configuation Profile that I want to use as the starting point for a new profile. Is there a way to duplicate a Configuation Profile, changing to a new name? Thank you, Michael Boyle
|
Text labels appears only partially
4
#labels
Hi, when creating a layout in PanelPro, text label appear partially only. example : if i put "Module 14" i only see "Module..." we have tested : with and without space in the text with or without numbers at the end short or long text always the same results. Am i doing something wrong or is it a graphical bug ? regards Jean-Francois
|
java portnamepattern not recognized until after connection fails
13
#startup
#dcc-ex
#linux
I'm trying to get my new dcc system recognized by jmri running on linux. Based on my reading of previous messages, I have my udev rules configured to create /dev/DCCEX and /dev/TCHLCC, and in my .bashrc I have JMRI_OPTIONS= -Dpurejavacomm.portnamepattern=(ttyACM0|ttyUSB0|DCCEX|TCHLCC|sprog2) At the moment I've only got my DCCEX connection configured in decoderpro, so I'm not worried about the LCC connection just yet. When I start DecoderPro, I get an error that the device DCCEX is not found, and then later on in the log, I see DCCEX and TCHLCC are added as matching patterns for serial ports. How can I get the matching patterns to be set before decoderpro tries to open the ports? Here's my session.log: 2025-03-10T13:47:42,798 util.Log4JUtil INFO - * JMRI log ** [main] 2025-03-10T13:47:42,860 util.Log4JUtil INFO - This log is stored in file: /home/jmri/.jmri/log/session.log [main] 2025-03-10T13:47:42,863 util.Log4JUtil INFO - This log is appended to file: /home/jmri/.jmri/log/messages.log [main] 2025-03-10T13:47:42,961 apps.AppsBase INFO - DecoderPro version 5.11.4+R87a9dadc80 starts under Java 17.0.14 on Linux aarch64 v6.1.21-v8+ at Mon Mar 10 13:47:42 CDT 2025 [main] 2025-03-10T13:47:43,863 gui3.Apps3 INFO - Starting with profile HGVW.3f76bfa4 [main] 2025-03-10T13:47:44,089 node.NodeIdentity INFO - Using 6c786e77-a0ea-4429-9ee0-dba4434b6eea as the JMRI storage identity for profile id 3f76bfa4 [AWT-EventQueue-0] 2025-03-10T13:47:44,299 xml.AbstractSerialConnectionConfigXml INFO - Starting to connect for "DCC++" [main] 2025-03-10T13:47:44,534 serial.DCCppAdapter ERROR - Serial port DCCEX not found: This port appears to have been shutdown or disconnected. [main] 2025-03-10T13:47:44,540 serial.DCCppAdapter ERROR - failed to connect DCC++ to DCCEX [main] 2025-03-10T13:47:44,544 jmrix.ConnectionConfigManager ERROR - Unable to create jmri.jmrix.dccpp.serial.configurexml.ConnectionConfigXml for [Element: <connection/>], load returned false [main] 2025-03-10T13:47:44,550 plementation.JmriConfigurationManager ERROR - Exception initializing jmri.jmrix.ConnectionConfigManager: Unable to create several of your connections. [main] 2025-03-10T13:47:45,647 roster.Roster INFO - Reading roster file with rootFromName(/home/jmri/.jmri/HGVW.jmri/roster.xml) [main] 2025-03-10T13:48:00,702 plementation.JmriConfigurationManager ERROR - Exception initializing jmri.util.startup.StartupActionsManager: jmri.util.prefs.InitializationException: Unable to run startup actions due to earlier failures. [main] 2025-03-10T13:48:09,441 util.FileUtilSupport INFO - File path program: is /opt/jmri/jmri_5.11.4/ [main] 2025-03-10T13:48:09,444 util.FileUtilSupport INFO - File path preference: is /home/jmri/.jmri/HGVW.jmri/ [main] 2025-03-10T13:48:09,446 util.FileUtilSupport INFO - File path profile: is /home/jmri/.jmri/HGVW.jmri/ [main] 2025-03-10T13:48:09,449 util.FileUtilSupport INFO - File path settings: is /home/jmri/.jmri/ [main] 2025-03-10T13:48:09,452 util.FileUtilSupport INFO - File path home: is /home/jmri/ [main] 2025-03-10T13:48:09,455 util.FileUtilSupport INFO - File path scripts: is /opt/jmri/jmri_5.11.4/jython/ [main] 2025-03-10T13:48:10,552 permission.DefaultPermissionManager INFO - Permission file: /home/jmri/.jmri/.permissions.xml [main] 2025-03-10T13:48:10,563 permission.DefaultPermissionManager INFO - Permission system is enabled: no [main] 2025-03-10T13:48:11,237 throttle.PowerManagerButton INFO - No power manager instance found, panel not active [main] 2025-03-10T13:48:29,767 jserialcomm.JSerialPort INFO - Adding symlink port [serial1, serial0] [main] 2025-03-10T13:48:29,780 jserialcomm.JSerialPort INFO - Adding user-specified ports [TCHLCC, DCCEX] matching pattern (ttyACM0|ttyUSB0|DCCEX|TCHLCC|sprog2) [main] 2025-03-10T13:48:29,803 jserialcomm.JSerialPort INFO - Adding symlink port [serial1, serial0] [main] 2025-03-10T13:48:29,810 jserialcomm.JSerialPort INFO - Adding user-specified ports [TCHLCC, DCCEX] matching pattern (ttyACM0|ttyUSB0|DCCEX|TCHLCC|sprog2) [main] 2025-03-10T13:49:12,464 throttle.PowerManagerButton INFO - No power
|
NCE PowerPro with USB - no AIU getting to JMRI
24
#nce
Currently running the latest JMRI production version with a recently purchased Power Pro. I’ve created all my sensors, blocks, set up the layout. when i use my PowerCab and USB card everything works perfectly in JMRI. I can run throttles, operate switches, and show block data on my JMRI display from my AIUs. when i use my new PowerPro everything work except i am not getting AIU block data. what am i missing?
|
Track Analysis Tool
8
#operationspro
First off, yes, probably have too many boxcars on the layout. So I ran the track analysis tool for boxcars and the results were: Spurs. Track length 2877. 141% Yard. Track length 2070. 196% CI. Track length 2635. 154% Staging. Track length 1050. 386% I run in Aggressive mode with 2 passes and get good car movement, however I do need to add flatcars and gondolas as they were down below 20% in total of all track types. To what level should I be adjusting the boxcar percentages for best utilization Bill Ramp
|
After Windows 11 upgrade I can no longer communicate via NCE USB module
21
#nce
#windows
Does not seem to matter what I choose on the preferences page, which does see COM3 as the option I am choosing. No jumpers on the board at all as the instructions indicate. I have tried both 6.x.x and 7.x.x with no change. Any ideas? Thanks in advance. Bill Suarez
|
Frequently Asked Questions/Topics/Official Announcements?
8
Rather than take up an entire screen with pinned, read-only messages, so we have to scroll down just to see any new messages, would it be possible to have a single message, linking to the topics in a Frequently Asked Questions/Topics article? Just a thought...
|
Edge Connectors in Layout Editor.
6
#layouteditor
Hi, I am developing two Layout Panels for my two-level layout. I have added an Edge Connector on each Panel for the connecting track between the two panels. When I try to "Edit Link" to connect the Panels, nothing happens. No Dialogue Box appears. Has this occurred to others, and is there a fix? The JMRI version I am using is 17.0.13. Cheers, Stewart
|
Adding Sensors Problem
4
#nce
#paneleditor
Hello All After a year away im back into it,and starting to put layout into jrmi,thanks to all who devolop it. I have added sensors before and had them working but this time not so good Ihave all NCE equipment,via usb all good there I have added a basic Layout in Panel Editor ,added turnouts now onto sensors I open sensor tab,give the sensor a name,in this case 4(aui01)and the input 6. A green tick appears,but when i activate the sensor nothing shows What step am i missing.I tried manually setting to active but didnt help. Is it a case of not getting the right info to jrmi? Thanks for your time Brett
|
NCE backup via JMRI
3
#nce
years ago i backed up my PowerPro command station into JMRI It copied any macros and other data from the command station to a file in JMRI. Now I can’t find it Could someone explain the process to backup the command station? Thanks Jim Little MMR
|
ESU 51840 SignalPilot
4
#definitions
Hi, I am a new user of DecoderPro, I have installed Wiundows 11 JMRI 5.10 and later on 5.11.3 installed Java 17 Using as central station an Intellibox I, COM=3, Loconet, 19.200bps I defined the CVs for a brand new SignalPilot using lokprogrammer software, exported as CSV and imported in DecoderPro as a Switchpilot. Started to program SignalPilot in the Programming track, everything goes OK till CV118, after that I get error message: Exception during CV write: java.lang.NumberFormatException: For input string: “16.6.306” CV118 is just where the indexed CVs in the ESU decoder start. I looked for some other CVs till then and they seems to have been correctly programmed, but with this error DecoderPro hungs and the only way is to stop the OpenJava task via Task manager in Windows system. Is there any possibility to solve that error and to do the full SignalPilot programming? Thanks and regards. Javier
|
Panels
2
Ok ladies and gents, I have a layout drawn up and in JMRI. I can pull the panel up use all the turnouts from the panel all this works great. My question after operating on a few different layouts. How do I get the panels to load once I select the profile I want for the panels to come up without having to select the file of the panels. I have the start up instructions set but what am I missing. I’ve seen several iterations once the profile is selected it brings up the panels belonging to that profile without actually having to select the files.
|
command centre same loconet operation over and over and over and over in a loop
7
Hi hope someone can help with this problem? Trying to upgrade to an DCS 210+ from dcs100. I have replaced the command station and set up new 210+, everything works until I hook up a computer to loconet via usb cable direct into command centre or usb via PR4. Once I hook up to computer I do a couple switch commands and after a couple of commands the command station sends out repeating commands over and over. At this point the “Net” Status light goes from solid red or slow blinking red to very fast blinking, the Solid Blue USB light also goes into a very fast blinking mode. The DS64 I sent the command to is quickly trying to throw the switch over and over and over as well. My loconet monitoring log looks like the photo attached. If I unplug usb it stops running the command after a few seconds and command station works again until I reattach a computer. I have tried it with two other computers, a fresh download of Jmri with no previous files attached, new usb cables, new interface cables to ds64, tried a new PR4 as well the command station has the same behaviour. I did factory reset on command station hooked up a brand new ds64 and still happens. I reinstalled the original command centre and take the 210+ plus out of the system and the computer and dcs 100 respond as normal. I contact the Digitrax help desk and they said they do not support 3rd party hardware software etc, which I understand, they went on to suggest I change my JMRI preferences which I think I have done unless I am missing a step. I am open to ideas and thoughts on this. At the moment I have the 210+ and a Ds64 isolated on my workbench so I can try out any suggestions thrown my way.
|