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.
|
Locked
File /ProblemsBeingWorkedOn/181.xml uploaded
#file-notice
The following items have been added to the Files area of the [email protected] group. /ProblemsBeingWorkedOn/181.xml By: Phil Law <tlcphil@...> Description: I am trying to run transits, I am using a windows computer running JMRI 5.10 with Java 11 through a Digitrax DSC52. My signal mast will only function once the track power is turned on. The ones listed below will only function after a train has been run throw the signal even if the turnouts have been changed. They all start with ML 4-5, 7-6, 13-14, 15-14, 11-12, 12-11, 17-16 and 16-17. The blocks in involved are on two different units BDL168 and BDL716. I have stripped down the signals, logic, blocks and sections with no change in result.
|
How to Identify Turnouts Activated by An Allocated Section
6
#dispatcher
#logixng
I have turnout controls (QuadLN_S) that use an auxiliary turnout address to lock out local fascia control. These are locked when I run the layout in CTC mode (unlock by dispatcher with local crew request). Now, when I run an ops session in ABS, I plan at least one passenger run in the schedule driven by JMRI Dispatcher. I'd like to write LogixNG code that will activate the auxiliary turnout addresses when turnouts are allocated on a transit. My issue is how to determine the turnouts allocated on the transit run. Is there some object that listens for turnout allocation from Dispatcher? -- Ken NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959) Loconet * JMRI 5.11.1 * OSX,Win10,Ubuntu Blog: Cape Cod Railroad (HO) – Newbie of an Oldie Youtube: Ken's Channel
|
Test release 5.11.4 of JMRI/DecoderPro is available for download
#announcement
Test release 5.11.4 of JMRI/DecoderPro is available for download. This is the next in a series of test releases that will culminate in a production release, hopefully in June 2025. It's really helpful when people download, install and use these test releases so we can find and fix any inadvertent new problems early. If you are currently using JMRI 4.99.10 or earlier, there is an update process that we strongly recommend. See the release note section on updates: <https://www.jmri.org/releasenotes/jmri5.11.4.shtml#update> For more information on the issues, new features and bug fixes in 5.11.4 please see the release note: <https://www.jmri.org/releasenotes/jmri5.11.4.shtml> Note that JMRI is made available under the GNU General Public License. For more information, please see our copyright and licensing page. <https://www.jmri.org/Copyright.html> The download links, along with lots of other information which we hope you'll read, can be found on the release note page: <https://www.jmri.org/releasenotes/jmri5.11.4.shtml> Bob — Bob Jacobsen rgj1927@...
|
Decoder pro cant read decoder
12
I have a Athern model big boy model 22900 dcc w sound #4005. I cant read the decoder with digitrax or decoder pro on programming track. i would like to try on the main. i put engine on mainline. First i cant choose mainline programming. So i put an engine i can read on the programming track ,read it, select main line programming. Shut off decoder pro. Turn on I don’t know what decoder it is so i choose the decoder manually using sound train tsunami -steam and get many to choose from so i pick one at random to open a programming window and go to the motor page. I enter a long address and try writing. Get message it cant find a loco on the main but its there and power is on. please tell me how to get this one cv changed on the decoder.. i cant read the decoder type when on the main please list a procedure also does anyone know what decoder is in this engine. also same for challenger model 22923 tony
|
Help learning automation
7
#automation
Hi All, I decided 3 months ago today to 'dive' into DCC based model railroading for the first time, though I've know about it for 25+ years. I figured getting started was the best way- and I have a long shelf along the wall behind my home standing desk that I envisioned as the main line for sort of a dog-bone layout. So.. I dove into n scale, Digitrax, Kato Unitrack, and have my training layout built (already on Version2 of it - as you all alluded to here!). My layout has 16 blocks (BXP88 controlled), 1 auto rev section, one double crossover, about 10 turnouts (all with DS15k1s - don't get me started on that learning curve with BXP88s and shunt resistors). Scenery is a future vision, after I really understand operations. And on to this email. I have installed JMRI - I am a Mac guy , so this is running on Mac Mini. I have PanelPro running, talking to my LocoNet layout. I built the layout in layout editor, declared all the blocks, turnouts etc. I used the roster editor to enter my 3 engines (one is a consisted F7A-B unit).. And lots of learning - at the basic level I am up an running. I can run trains via throttles in JMRI, and blocks light up and turnout throw - that's all awesome , it was my first goal 'run trains from SW'. However, the NEXT step looks like a really steep learning curve - creating, routes, trains, manifests, and operations. My next goal is that JMRI can run trains on routes I create, and manage them simultaneously - an automated operations setup. I watch all the videos I can (not too encouraged by what I find on YouTube), and I joined this group a month or two ago which has been great. So my ask is this - any other tutorials, pointers, help with this next part of the journey? Advice, hints, and help greatly appreciated. -Peter
|
Error message “Could not locate configuration file default_lcf.xml
6
Hello everyone. Could you please help me with this problem, thank you. When I start JMRI, I keep getting the error message “Could not locate configuration file default_lcf.xml” This happens with versions 5.5.4 onwards to the latest release, however I get no problems with version 5.5.3. I might be wrong, but I think in version 5.5.4, it’s the first time default_lcf.xml appears in the main JMRI directory. My setup is Raspberry Pi 4 model B 8GB running the Bullseye operating system. Thank you very much.
|
Upgrading
20
#upgrading
I'm trying to upgrade from 5.6 to 5.10. After I download the zip file, everything looks fine on my desktop. The new JMRI DecoderPro and PanelPro icons are there, but when I click on either one, I see an hourglass as if trying to start, then nothing. I have 5.6 working just fine so the JAVA version is correct. Any suggestions? Thank you all for this fantastic program. later Inspector Dave
|
migrating from RR&C Train Controller 5.5 B1
3
Hello esteemed group, I am curious as to the possibility of migrating from RR&C Train Controller 5.5 B1 to JMRI. I have stumbled across messages relating upgrading form old JMRI to the new version and recommendations to start from scratch, aka the big bang. Is there an upgrade path? Google search returns verbiage about xml export and import. I have not found a layout and config export in RR&C. Thanks, Dale Grice
|
Locked
File /messages.zip uploaded
#file-notice
The following items have been added to the Files area of the [email protected] group. /messages.zip By: Inspectordave <inspectordave51@...> Description: Files on the issue updating from 5.6 to 5.10. I think I see the problem. My file location for JMRI was C:Program files JMRI When I loaded it in the X86 that is when the problems were resolved. However when using version 5.6, those files were in the C:Program files JMRI folder. Thoughts are appreciated.
|