开云体育

Date   
Just Upgraded to Decoder Pro 5.10 and Java 17, now NCE Power Pro and JMRI won't talk 5 #nce
Hi, I'm new here, mostly because my Decoder Pro and NCE system(s) have gotten along well for years through various computers and upgrades...now I've hit a wall, so any insights appreciated. Here's the hardware basics. NCE Power Pro 9 pin serial port command stations. Have two, tried two and same result. NCE latest Chip installed in both command stations, "March 22, 2021" Computer: Lenovo Pentium Silver N6000 4.0 GB ram. Windows 11. Using Com Port 3. Here's the situation, shifting Java and JMRI versions mentioned as follows. For about two years, I've been using this set up with JMRI 5.2 and Java 11. Aside from occasional hiccups, a pretty solid arrangement. Now I just received two locomotives with Soundtraxx Blunami decoders. Went to create a new locomotive file in Decoder Pro it wouldn't download the data. Figured, newest decoders...time for an upgrade to the latest version from JMRI. Went to upgrade to version 5.10. Says while it would work better with Java 17, would also be expected to work with Java 11. Decided to play it safe and stick with Java 11 for now. When bringing up Decoder Pro I received the dreaded red words. "Service Mode Programmer NCE Is Offline" - " Operations Mode Programmer NCE is Offline" Despite everything which follows, this has not changed. Next step, ok let's try Java 17--installed Java 17. No change. Then I took a risk, and installed JMRI 5.11.4, which is still under evaluation. Again. No Change. The NCE and JMRI are still not on speaking terms. Now, before anyone asks, the USB to Serial port cable came to me directly from NCE several years ago and had just been working. When I plug and unplug, it makes that booping sound, which means it's seeing something, but no communications. And besides, again, it was just working fine. Here's one area I suspect may be a problem, which is the Com Port 3 driver, which had not been an issue under JMRI 5.2 and Java 11 on my Windows 11 laptop. This is what shows up under driver files for "USB to Serial Cable (COM3): C:\WINDOWS\System32\serenup.sys (along with) C:\WINDOWS\System32\DRIVERS\SVK9PL64 And of course, Device Manager says everything is working properly. In poring over the NCE, as well as JMRI trouble shooting pages and doing other on line searching, it appears there are more drivers that don't show up on my machine. But those posts go back many years to much earlier versions of both JMRI and JAVA. I honestly cannot say there was anything more on my machine prior to this, because it all worked. If there is a new driver I need which would work with the newest setup, let me know...along with a few hints on how to install it. Anyway, thanks in advance. I hope this isn't one of those obvious things that I've missed...but I'm about 6 or 7 hours into this already and going crazy. I've tried to keep this note to the essentials, but have more data available, but all the boxes I can open appear to be checked correctly within Decoder Pro, such as port, baud rate etc. But I can pull it back up if anyone thinks that would help. Glenn
Started by Glenn Farley @ · Most recent @
Speed testing, Sensors, Speedometer output 2 #scripting
As I posted a few weeks ago, I'm setting up a speed matching loop. Using 8 BD-20 NCE detectors, 1 AIU, PH-Pro, RS-232 to computer running JMRI (Windows 11 OS). Using the Ultimate Speed Matching (USM) scripts as a basis, modifications seem to be working well with the following exceptions: Speed measurements can be all over the place due to "bounce" on the detectors. The JMRI Speedometer Tool seems to not see this as much (doing exit to exit on the tool). So will adding de-bounce to the 8 sensors help? Do I use active bounce, inactive bounce, both? Does this change the factors for calculating speeds since in the script, it's looking for sensors changed? Is there a way for the USM script to open up the speedometer windows and provide an output back to the USM script. In other words, is there a way in the USM script to call the speedometer and get the result back to use rather than the timers used in the USM script? Another couple anomalies: -- After the script is complete, I then run the loco at the speed steps and measure the expected speed and it seems to run a couple mph slower than during the script. -- Has anyone figured out how to speed match with an ESU decoder where SS28 is always 255 and the top of the curve is adjusted with CV5 and the rest of CV67-94 are proportional? -- Using the 3rd lowest measured speed seems to be a short cut. Has anyone taken the measured speeds, throw out the top two and bottom two and return the average speed? I have a current methodology to manually set the speed table by running the loco at SS 5, 10, 15, 20, 24, 28 and entering the measured speed into a spreadsheet that then tells me what setting to set each of those to in order to get the desired speeds (my standard is 10, 20, 30, 40, 55, 70 at those SS). After I get more of the bugs worked out of the modified USM script, I'll take a turn at trying this method. Phil Hartung Idaho Falls, ID
Started by Phil Hartung @ · Most recent @
Controlling Alexa (Amazon) via JMRI 6
I would like to create some timed routines in JMRI that sends commands to Alexa to run various routines. For example, at start of session, I can start the fastclock, and then at appropriate times, it will trigger Alexa. My plan to do this is using "Voice Monkey" as the translator. VM allows you to send a command via a web link, which then will trigger Alexa. So what I need to do is get JMRI to run a weblink in the background (not open a web browser). I had asked this question a few years ago and apparently this was coming, but not available yet. Is there a way within JMRI that at a certain time on the Fast Clock, I can send a trigger using a weblink (https://api-v2.voicemonkey.io/trigger) but that will not open a browser, it will just happen in the background? Thanks -- 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 @
Car Last field 5 #operationspro
Bug or feature? When I place a car into a new location, JOps correctly records the move in the Logger car log. However, it doe not update the Last field in the Car DB. Oversight? Jon in San Rafael
Started by Jon Schmidt @ · Most recent @
Tracking Car Movement 3 #operationspro
Lets say I wanted to follow one car on my layout as it is moved on and off the layout from storage to industry back to storage back to industry, etc. Is there an automatic way for JMRI to do that? Or do I have to do it manually?
Started by John Buckley @ · Most recent @
Increase length of Car Type 6 #operationspro
Hi In operations.xml, where can I find the string to increase the Car Type. thanks -- Mike from Calgary
Started by Michael Geldert @ · Most recent @
Locked File /ProblemsBeingWorkedOn/240499_Paul_Young/ONEFORTYONE.xml uploaded #file-notice
The following items have been added to the Files area of the [email protected] group. /ProblemsBeingWorkedOn/240499_Paul_Young/ONEFORTYONE.xml By: Paul Young <windscape360@...> Description: Trying to get SSL working for powered dbl Slip "Slip 3" on ONFORTYONE.xml. Error given is "Cannot set up Logic because next signal in or at end of Block_1 is apparently not defined"
Started by Group Notification @
DIY DCC decoder setting window 2 #scripting #definitions
Hi, I am in the middle of prototyping my own DCC Accessory decoder hardware (using MicroBahner's DCC_Zubehoerdecoder software) and I would like to be able to adjust CV's and switch outputs from a window. Basically, I would like to re-create decoderpro's Turnout Control action window, but with more specific buttons and CV inputs. I have had a look through some of the scripting examples, and I'm happy building on JButtonComplexExample.py to do what I want. The issue I have is whilst I believe that I can write CV's to the decoders using the code from OpsProgExample.py, what I can't find how to do is throw the turnouts based on their address (same as the Turnout Control window). I went looking to see if I could find the code for the Turnout Control window and didn't get that far. Could anyone point me to where the code for the Turnout Control window is (so I can copy / mod) or suggest how I would control turnouts and show their current state like this window does (as in, what functions do I need to use in the script). Many thanks Gareth
Started by Gareth Lee @ · Most recent @
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
Started by Gopal Patnaik @ · Most recent @
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
Started by Roger Merritt @ · Most recent @
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?
Started by Peter Jackson @ · Most recent @
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)
Started by Dennis Drury @ · Most recent @
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
Started by John Greenwood @ · Most recent @
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
Started by Dan Boudreau @ · Most recent @
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
Started by Jean-Louis Free @ · Most recent @
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
Started by Michael Boyle @ · Most recent @
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
Started by Lacassaigne Jean-Francois @ · Most recent @
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
Started by Joel Davidson @ · Most recent @
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?
Started by Georgia Hilton @ · Most recent @
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
Started by billramp@... @ · Most recent @
Current Image
Image Name
Sat 8:39am