Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Different warnings using the dispatcher.
#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
?
?
?
? ? |
Re: Text labels appears only partially
#labels
Bonsoir Jean-Fran?ois, Je pense que vous êtes fran?ais ?? ?tes vous? un utilisateur de JRMI depuis longtemps ? Pour ma part j'utilise JRMI seul, depuis environ 6 mois sur un circuit très simple. Mon idée est d’automatiser autant que possible ce layout, pas toujours simple. Peut-être pouvons nous nous aider mutuellement ? J'habite en région parisienne prés de Montmorency. A bient?t peut-être. JeanLouisDelestre@... De: "Lacassaigne Jean-Francois via groups.io" <lacassaigne.jean.francois@...> ?: [email protected] 贰苍惫辞测é: Mardi 11 Mars 2025 16:46:30 Objet: Re: [jmriusers] Text labels appears only partially Hi,
?
Thanks for such a detailed reply.
?
we will test it this week-end on the club layout
?
regards
?
Jean-Francois
-- ---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
? |
Re: Text labels appears only partially
#labels
Hi,
?
Thanks for such a detailed reply.
?
we will test it this week-end on the club layout
?
regards
?
Jean-Francois |
Re: Problems With dispatcher
#dispatcher
There are many possible issues. ? If you upload the layout data xml file to the group's ProblemsBeingWorkedOn file folder, we can review what you have done and provide feedback. Dave Sand ----- Original message ----- From: "redsash63 via groups.io" <redsash63=[email protected]> Subject: [jmriusers] Problems With dispatcher Date: Tuesday, March 11, 2025 4:48 AM Hello Friends I would describe myself as a beginner when it comes to JRMI,been working on it around a week The end goal is to automate a train. As you see above i have entered Turnouts sensors and Signal Heads.I used SSL and i admit it was messy,so maybe thats come back to haunt me,but when i run a train Manually it seems to run nicely.Above you see a Train occupied in Platform 1. Does it look okay? So to the problem.I created a simple transit,using 3 sections Platform 1 to? a Turnout Block to A Mainline(left to right. Everything looks good until i create a train in Dispatcher,as soon as i do the Dispatcher tells me the train is "waiting"and nothing happens I have noticed the Green Lamp you see on Platform turns from Green to Red as soon as i run dispatcher,so its saying ahead is occupied but where. Can anyone advise or ask me Questions to help solve Again thanks for your time. |
Re: Text labels appears only partially
#labels
On 3/11/2025 10:55 AM, Lacassaigne Jean-Francois via groups.io wrote:
Hi,This is a graphical bug in JAVA (or maybe some sources of java), when running of Windows, for some Windows display settings, with some JMRI panel "Label" font settings_in my experience_. It is no, not in my experience from a JMRI problem, though! If you change the Windows display "scaling" setting to 100%, JMRI doesn't have a problem (on my machine). But with the Windows display "scaling" setting at 150% or 200%, I have problems with the "elipses" (i.e. "Partial-label ...") showing up. The best way I have found to "solve" this, for various fonts and various font sizes is to change the "Fixed Width" to be a little bit larger than the number of pixels that are required to display the text. In "Panel Editor", I add the Label, then right-click the Label and select "Edit Text Content & Settings". Then I increase the "Fixed Width" setting until the full text shows up in the "Preview" window, without the elipsis. And then update the panel. And repeat on any other Label on the panel that has an elipsis. In "Layout Editor", I "right-click" aLabel with elipsis. Then select "Margin" then "Set Margin Size". Type in a margin and click "OK". If that doesn't work, increase the margin again and check. Repeat until you have the size "right". And repeat on any other Label on the panel that has an elipsis. I do not use "Control Panel Editor", so cannot give recommendations with that tool. |
Text labels appears only partially
#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 |
Re: OperationsPro New feature, Routes
#operationspro
Has anyone downloaded 5.11.4 to try the new route feature?? Feedback on the new route feature appreciated.
?
Thanks,
Dan |
Re: NCE PowerPro with USB - no AIU getting to JMRI
#nce
Ken,
?
That's what I mean.....If JMRI is seeing 7.3.0 then its seeing a NCE USB Module. Trying to use the NCE USB Module
on the PH5 may be the problem.? Based on the reporting of 7.3.0
?
Wasn't the PowerCab working?
?
Just have to wait for the next reply.?
?
Inobu
?
? |
Re: NCE PowerPro with USB - no AIU getting to JMRI
#nce
开云体育The NCE USB device gives an id of 7.3.0 -> 7.3.7 depending on the jumper settings. If it was an older NCE USB, it gave 6.3.0 -> 6.3.7. The idea was the device made different ids for the software (JMRI) to recognize and help refine what command are supported or not. ? The PH5 command station gives an id of 8.0.0 -> and up, depending on the firmware updates. ? -Ken Cameron, Member JMRI Dev Team
? ? |
Problems With dispatcher
#dispatcher
Hello Friends
I would describe myself as a beginner when it comes to JRMI,been working on it around a week
The end goal is to automate a train.
As you see above i have entered Turnouts sensors and Signal Heads.I used SSL and i admit it was messy,so maybe thats come back to haunt me,but when i run a train Manually it seems to run nicely.Above you see a Train occupied in Platform 1.
Does it look okay?
So to the problem.I created a simple transit,using 3 sections Platform 1 to? a Turnout Block to A Mainline(left to right.
Everything looks good until i create a train in Dispatcher,as soon as i do the Dispatcher tells me the train is "waiting"and nothing happens
I have noticed the Green Lamp you see on Platform turns from Green to Red as soon as i run dispatcher,so its saying ahead is occupied but where.
Can anyone advise or ask me Questions to help solve
Again thanks for your time. |
OK, I should have checked first, and typed later...
?
I've just checked my laptop, and the DCCEX symbolic link isn't as I remember it.? It is just like Dave Sand's example.? Possibly I saw the bus/usb/xxx/yyy type of link when I was setting up my udev rules and before I had my final version established.
?
My current udev rule for my DCC-EX system is:
?
SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idProduct}=="xxxx", ATTRS{idVendor}=="yyyy", SYMLINK+="DCCEX"
?
As you can see, the symbolic link name I'm using is the same as what Joel is trying to use (DCCEX), and JMRI works with it.
?
Here's the output from my System Console when starting this profile:
?
13:13:20,492 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- * JMRI log ** [main]
13:13:20,540 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is stored in file: /home/trevor/.jmri/log/session.log [main] 13:13:20,542 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is appended to file: /home/trevor/.jmri/log/messages.log [main] 13:13:20,631 apps.AppsBase ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- DecoderPro version 5.10+Rca461bd266 starts under Java 17.0.14 on Linux amd64 v6.8.0-53-generic at Tue Mar 11 13:13:20 ACDT 2025 [main] 13:13:23,646 apps.gui3.Apps3 ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile DCCEX_via_USB.3e69ea00 [main] 13:13:24,038 jmri.util.node.NodeIdentity ? ? ? ? ? INFO ?- Using be480800-a10f-4f01-98ed-c565af496af6 as the JMRI storage identity for profile id 3e69ea00 [AWT-EventQueue-0] 13:13:24,280 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "DCC++" [main] 13:13:24,450 jmri.jmrix.dccpp.serial.DCCppAdapter ?INFO ?- Connecting DCC++ to DCCEX User-Specified Port [main] 13:13:24,457 jmri.jmrix.dccpp.serial.DCCppAdapter ?INFO ?- DCC++: Port User-Specified Port opened at 115200 baud, sees DTR: true RTS: true DSR: false CTS: false DCD: false flow: NONE [main] 13:13:24,645 mrix.dccpp.DCCppInitializationManager INFO ?- DCC++ Initialization Complete [main] 13:13:25,657 jmri.jmrit.roster.Roster ? ? ? ? ? ? ?INFO ?- Reading roster file with rootFromName(/home/trevor/JMRI_Shared_Data/roster.xml) [main] 13:13:27,110 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path program: is /home/trevor/JMRI/ [main] 13:13:27,111 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path preference: is /home/trevor/JMRI_Shared_Data/ [main] 13:13:27,116 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path profile: is /home/trevor/.jmri/DCCEX_via_USB.jmri/ [main] 13:13:27,117 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path settings: is /home/trevor/.jmri/ [main] 13:13:27,121 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path home: is /home/trevor/ [main] 13:13:27,123 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path scripts: is /home/trevor/JMRI/jython/ [main] 13:13:28,050 t.permission.DefaultPermissionManager INFO ?- Permission file: /home/trevor/.jmri/.permissions.xml [main] 13:13:28,058 t.permission.DefaultPermissionManager INFO ?- Permission system is enabled: no [main] 13:13:34,655 jmri.jmrix.dccpp.DCCppCommandStation ?INFO ?- changing maxNumSlots from 12 to 50 [AWT-EventQueue-0] 13:13:34,738 jmri.jmrix.dccpp.DCCppCommandStation ?INFO ?- Station Type set to 'DCC-EX' [AWT-EventQueue-0] 13:13:34,741 jmri.jmrix.dccpp.DCCppCommandStation ?INFO ?- Build set to 'devel-202501021826Z' [AWT-EventQueue-0] 13:13:34,742 jmri.jmrix.dccpp.DCCppCommandStation ?INFO ?- Version set to '5.2.95' [AWT-EventQueue-0] ?
And a screenshot of my connection for this system:
?
So, based on my system, I can only say that JMRI can work with a DCC-EX system using a symbolic link to the USB port called "DCCEX".
?
Trevor. |
I tried this again with the symlinks prefaced with "tty", but I still see the same behavior.? From the log it looks like the code is trying to connect to the devices before the additionl device names from the config file have actually been enumerated by the serial communication subsystem.? ??
?
Joel
? |
Re: Track Analysis Tool
#operationspro
Thank you Noel and Pete!
Noel - that’s pretty much how I have it set up.? Pete - thanks for jogging my memory about putting 5# of coffee in a 3# can. ?I’ve done that before, just forgot. ?I don’t move cars “there” often so the 0’ long spurs will work nicely with the location and tracks I have set up as Noel describes.? |
Re: NCE PowerPro with USB - no AIU getting to JMRI
#nce
How is JMRI seeing 7.3.0 on a New System? That's seem its on the old system.
?
Inobu |
I have put all four of the jumpers back on the board and changed to 19,200 in the advanced section. I got a normal startup, I will monitor. Thanks for the great help. Bill _____________________________________________ Bill Suarez - +1 508-735-7877 - wsuarez@... From: "Ken Cameron via groups.io" <kcameron@...> Sent: Monday, March 10, 2025 5:34 PM To: [email protected] Subject: Re: [jmriusers] After Windows 11 upgrade I can no longer communicate via NCE USB module Bill S, ? The 7.3.0 in the log says you have no jumpers on the NCE USB. That code tells JMRI that the system is a PowerCab and it has the old 1.28 firmware.. The error message says that’s not what you are telling the system connection. ? If you have two profiles, one for a PowerCab so you can use it to have a programming track, another profile for an SB5, and both have the 1.65 firmware, you would do best to set all jumpers on the NCE USB. Then use 19,200 baud for the connection.
You should see it report as 7.3.7 in the log which means all systems and both profiles would work correctly with their respective settings. ? With a SB5 system it is important to set the right command station so JMRI know that only ops mode programming will work. ? -Ken Cameron, Member JMRI Dev Team ? ? |
I'm not sure if this will assist, but on my Linux laptop, I added udev rules to give my DCC-EX system a name that doesn't changed based on order of connecting USB devices, or which port it gets plugged into.? JMRI works successfully using that udev symbolic link name.
?
I'm not able to fire that laptop up right now, but my recollection is that my symbolic link looked very similar to what Joel showed (i.e. pointing to bus/usb/xxx/yyy)
?
I will check later today and confirm - just in case it helps.
?
Trevor |
to navigate to use esc to dismiss