开云体育

Date

Locked Re: Dispatcher train detection and train lengths #dispatcher

 

开云体育

Steve

Is this a new feature recently added? ?What version was it added?

Tony



On Sep 11, 2024, at 8:26 PM, Steve_G <RailRodder22@...> wrote:

?
On Sun, Sep 8, 2024 at 05:56 PM, Nags wrote:
I believe Dispatcher needs to know the train length before allowing it into a block so that it fits(?). With warrants, train lengths are not specified, as long as a train can enter a block it will.
Nags
Dispatcher uses train length in two ways:
When stopping a train, and not using the speed profile or stopping sensors to stop, it will stop the train immediately on entering a section where the train doesn't fit.
When you have declared the train to be only detectable by the head end, it then releases sections behind based on train length? (since 5.9.3)
If you run using "no signals" it only uses whether a section is occupied or allocated to another train to either stop it or move it.
If you use SSL or SML it will use the above and the signal setting to decide.
In ssl or sml the signals can be virtual ( and since occupancy is being established by your signal settings that should be the case)
Steve G.
?
?


Locked Re: JMRI in Linux Mint 22 not starting

 

On Wed, Sep 11, 2024 at 09:49 PM, Peter Ulvestad wrote:
sudo apt install openjdk-17-jre
Great, thank you.
JMRI started fine after that.?
?
--
Kelly R. Regan


Locked Jmri nce light-it decoders controlling signals

 

Hello
i I am after some help. Very new to this I have some signals that I want to connect up to nce light-it decoders to run the signals. The signals are searchlight tri colour signals. Please help with how to install them and how to program them.?
thanks Tim.?


Locked Re: Issue adding a turnout in Layout Editor #layouteditor

 

Clay,

Which turnout type have you selected? ?Please post a screenshot.

Dave Sand


----- Original message -----
From: Clay <claysmith44@...>
Subject: [jmriusers] Issue adding a turnout in Layout Editor
Date: Wednesday, September 11, 2024 9:38 PM

When I go to add a turnout to the panel in Layout Editor rather than get the three red squares, the turnout symbol and the circle that surrounds the diverging route all I get is one red square with a circle around it.?
I've built several panels before and was down to the last turnout when this started and never had a issue before. I'm using Panel Pro 4.26 and Java 1.8.
Thanks in advance for any and all assistance.?
Clay Smith
Hopkinsville KY


Locked Re: DCC accessory signals to JMRI to CMRI interface #arduino #cmri

 

Mike,

My CMRI hardware is one of a kind, based on an early 486 DOS machine. But, I think your second Arduino, adding a second serial port, may be just what I need. It may be easier than finding a second ISA serial board to configure as a second serial port in the computer case. I haven't searched for any, I suppose ebay or somewhere like that would have them priced reasonably.

Please send me your code for the second Arduino. If you only sent partial code for the first one, please send the entire code unless it's too much trouble.??

Many thanks!

Don W

--
Don Weigt
Connecticut


Locked Issue adding a turnout in Layout Editor #layouteditor

 

When I go to add a turnout to the panel in Layout Editor rather than get the three red squares, the turnout symbol and the circle that surrounds the diverging route all I get is one red square with a circle around it.?
I've built several panels before and was down to the last turnout when this started and never had a issue before. I'm using Panel Pro 4.26 and Java 1.8.
Thanks in advance for any and all assistance.?
Clay Smith
Hopkinsville KY


Locked Re: DCC accessory signals to JMRI to CMRI interface #arduino #cmri

 

Ken and Mick,

Thanks for suggesting the NCE packet analyzer. I'll definitely have to research that, and try to learn what modes or options it has. I may want one just to view stuff on my computer monitor, whether or not it ends up passing accessory packets from my track to the CMRI.

--
Don Weigt
Connecticut


Locked Re: DCC accessory signals to JMRI to CMRI interface #arduino #cmri

 

Thanks, Billybob. That seems logical to me. My programming skills are minimal, but I could probably get things working that way. Thank you for the reminder about separating ground from the DCC common!

Don


--
Don Weigt
Connecticut


Locked Re: JMRI in Linux Mint 22 not starting

 

sudo apt install openjdk-17-jre (or jdk if you want that)

--
Peter Ulvestad

JMRI Users Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )


Locked Re: Dispatcher train detection and train lengths #dispatcher

 

Thanks, I'd read the doco but unclear about the impact of signals vs fitting of trains into a section (or block as many of mine would be 1:1).
I'm looking at the possibility of replicating the logic of Warrants in always allowing a train into block unless the signal is at Danger (Stop) or that block is occupied, regardless of it's length.
?
The signalling system is not controlled by JMRI but it will be used to set the occupancy state of the blocks in JMRI.
All JMRI signals are internal and all masts are virtual using SML and LogixNG.
?
If I understand correctly for heads only, it won't release preceding sections if the current section / any of its blocks is occupied and the train is longer than the current section but it will allow a train to proceed into the next section if signal/occupancy state allows ?
?
--
H.O. Australia (Layout in Progress)
Digikeijs DR5000 LocoNet
JMRI v5.8 DecoderPro/Warrants/CPE/SML/LogixNG
Windows 10


Locked How does JMRI figure out if track power is on using Loconet? #loconet

 

This not directly related to JMRI, but I figured the expertise is in this group. I am using an Arduino to control and monitor a physical control panel (OK, so I'm old-fashioned). The arduino is connected via Loconet to the command station and JMRI running on a Raspberry Pi. I am trying to determine if the track power is on at the time the Arduino is powered up and take an appropriate action. I see that JMRI can determine the track power status even when it is started after the command station (so no Loconet power on/off messages are seen).
?
In the Loconet monitor I see something like this which I suspect has something to do with it:
Request data/status for slot 0.
Report of slot 0 information:
Loco 0 (short) is Not Consisted, Free, operating in 28 SS mode, and is moving Forward at speed 3,
F0=Off, F1=Off, F2=Off, F3=Off, F4=Off, F5=Off, F6=Off, F7=Off, F8=Off
Master supports LocoNet 1.1; Track Status: Off/Running; Programming Track Status: Available; STAT2=0x00, ThrottleID=0x42 0x49 (8521).
?
I notice the "Track Status" is reported. ?If I am on the right track, please let me know and point me to the right place in the JMRI code. ?I might be able to then replicate it in my arduino code.
?
Gopal
?


Locked Re: JMRI in Linux Mint 22 not starting

 

thank you,
I installed the headless version. Do I need to uninstall that before installing a different version? ?If so can you provide the commands for that.?
--
Kelly R. Regan


Locked Re: Dispatcher train detection and train lengths #dispatcher

 

On Sun, Sep 8, 2024 at 05:56 PM, Nags wrote:
I believe Dispatcher needs to know the train length before allowing it into a block so that it fits(?). With warrants, train lengths are not specified, as long as a train can enter a block it will.
Nags
Dispatcher uses train length in two ways:
When stopping a train, and not using the speed profile or stopping sensors to stop, it will stop the train immediately on entering a section where the train doesn't fit.
When you have declared the train to be only detectable by the head end, it then releases sections behind based on train length? (since 5.9.3)
If you run using "no signals" it only uses whether a section is occupied or allocated to another train to either stop it or move it.
If you use SSL or SML it will use the above and the signal setting to decide.
In ssl or sml the signals can be virtual ( and since occupancy is being established by your signal settings that should be the case)
Steve G.
?
?


Locked Re: JMRI in Linux Mint 22 not starting

 

I have Java 21 installed on Linux 21.3, was using 17 until a few weeks ago.
Open the 'Synaptic Package Manager' and search for jdk. You'll need to scroll down to see what's installed.

Attached is what I have installed, yours should be the same except being JDK 17. You can remove headless as Heiko recommends but I don't thinks that's necessary.

--
Peter Ulvestad

JMRI Users Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )


Locked Re: Cannot manually move cars in Operations #operationspro

 

On Wed, Sep 11, 2024 at 03:42 PM, Gord King wrote:
When I 'restore'? an auto backup file, and restart, my problem reappears.
Can you please send me the six operations files from the auto backup directory so I can see what is going on?
?
Dan


Locked Re: JMRI in Linux Mint 22 not starting

 

On September 11, 2024 11:54:19 PM GMT+02:00, "Kelly Regan via groups.io" <kelly@...> wrote:
Relatively new to Linux but I installed this on a laptop a few months ago with no issue but I am trying to install this on my desktop now and I'm getting the following error in the terminal. This looks like a java issue but i don't know were to start the repair.
I have installed JMRI in the HOME directory.
?
?
---
skray775@Office:~$ /home/skray775/JMRI/DecoderPro
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.
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.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so
? ? at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
? ? at java.base/java.lang.Runtime.load0(Runtime.java:755)
? ? at java.base/java.lang.System.load(System.java:1957)
? ? at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
? ? at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
? ? at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
? ? at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
? ? at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
? ? at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
? ? at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403)
? ? at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
? ? at java.base/java.lang.System.loadLibrary(System.java:1993)
? ? at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1388)
? ? at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1386)
? ? at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
? ? at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1385)
? ? at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1423)
? ? at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1397)
? ? at java.desktop/java.awt.Component.<clinit>(Component.java:624)
? ? at apps.util.Log4JUtil.initLog4J(Log4JUtil.java:107)
? ? at apps.util.Log4JUtil.initLogging(Log4JUtil.java:81)
? ? at apps.util.Log4JUtil.initLogging(Log4JUtil.java:69)
? ? at apps.AppsBase.preInit(AppsBase.java:64)
? ? at apps.gui3.Apps3.preInit(Apps3.java:49)
? ? at apps.gui3.dp3.DecoderPro3.preInit(DecoderPro3.java:99)
? ? at apps.gui3.dp3.DecoderPro3.main(DecoderPro3.java:93)
skray775@Office:~$?
?
---
Java verion shows this...
?
skray775@Office:~$ java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment (build 17.0.12+7-Ubuntu-1ubuntu224.04)
OpenJDK 64-Bit Server VM (build 17.0.12+7-Ubuntu-1ubuntu224.04, mixed mode, sharing)
skray775@Office:~$?
?
---
?
?
?
--
Kelly R. Regan


Kelly,

Make sure you have not installed any of the openjdk-*-headless packages but either openjdk-17-jdk or openjdk-17-jre

(I don't have any Mint machine so I can only go by the search results. I guess Mint also has a way to choose which of several java installations to use... Your error most certainly points to a headless (I.e. no GUI, only text) java trying to load a GUI program library called libawt for DecoderPro)

Hope this helps,
Heiko
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Locked Re: Train Controller

 

开云体育

I am sure it is possible for JMRI to automate trains somewhat similar to TC, however I believe the learning curve is a lot steeper withJMRI. In addition it helps if you know how to generate software with LogixNG.

I am personally involved in using TC Gold version.. I am at the stage of setting my blocks in TC. Just my opinion, I am sure others may disagree.
Ian Blease.


On Sep 11, 2024, at 5:05?PM, David Richie via groups.io <richiedrr@...> wrote:

?
I currently user Train Controller Bronze software from Freiwald to automate my railroad, with a Digitrax Super Chief system and Locobuffer. ?I use TCB to route, schedule, and operate trains, including some shuttle trains for commuter operation and for block protection.
?
Can JMRI do all that? ?How much learning curve is there? Does it offer a similar graphic user interface.
?
David Richie


Locked JMRI in Linux Mint 22 not starting

 

Relatively new to Linux but I installed this on a laptop a few months ago with no issue but I am trying to install this on my desktop now and I'm getting the following error in the terminal. This looks like a java issue but i don't know were to start the repair.
I have installed JMRI in the HOME directory.
?
?
---
skray775@Office:~$ /home/skray775/JMRI/DecoderPro
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.
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.
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-amd64/lib/libawt_xawt.so
? ? at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
? ? at java.base/java.lang.Runtime.load0(Runtime.java:755)
? ? at java.base/java.lang.System.load(System.java:1957)
? ? at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
? ? at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
? ? at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
? ? at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
? ? at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
? ? at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
? ? at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403)
? ? at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
? ? at java.base/java.lang.System.loadLibrary(System.java:1993)
? ? at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1388)
? ? at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1386)
? ? at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
? ? at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1385)
? ? at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1423)
? ? at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1397)
? ? at java.desktop/java.awt.Component.<clinit>(Component.java:624)
? ? at apps.util.Log4JUtil.initLog4J(Log4JUtil.java:107)
? ? at apps.util.Log4JUtil.initLogging(Log4JUtil.java:81)
? ? at apps.util.Log4JUtil.initLogging(Log4JUtil.java:69)
? ? at apps.AppsBase.preInit(AppsBase.java:64)
? ? at apps.gui3.Apps3.preInit(Apps3.java:49)
? ? at apps.gui3.dp3.DecoderPro3.preInit(DecoderPro3.java:99)
? ? at apps.gui3.dp3.DecoderPro3.main(DecoderPro3.java:93)
skray775@Office:~$?
?
---
Java verion shows this...
?
skray775@Office:~$ java -version
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment (build 17.0.12+7-Ubuntu-1ubuntu224.04)
OpenJDK 64-Bit Server VM (build 17.0.12+7-Ubuntu-1ubuntu224.04, mixed mode, sharing)
skray775@Office:~$?
?
---
?
?
?
--
Kelly R. Regan


Locked Re: Train Controller

 

开云体育

Using traincontroller how many trains can you run at the same time and can trains be run on the same track following each other without crashing or your intervention?

Tony


On Sep 11, 2024, at 5:05 PM, David Richie <richiedrr@...> wrote:

?
I currently user Train Controller Bronze software from Freiwald to automate my railroad, with a Digitrax Super Chief system and Locobuffer. ?I use TCB to route, schedule, and operate trains, including some shuttle trains for commuter operation and for block protection.
?
Can JMRI do all that? ?How much learning curve is there? Does it offer a similar graphic user interface.
?
David Richie


Locked Re: Train Controller

 

开云体育

Yes & yes

It will take some effort to learn but you will find much more help on the jmri forum than you got from the traincontroller forum

Tony


On Sep 11, 2024, at 5:05 PM, David Richie <richiedrr@...> wrote:

?
I currently user Train Controller Bronze software from Freiwald to automate my railroad, with a Digitrax Super Chief system and Locobuffer. ?I use TCB to route, schedule, and operate trains, including some shuttle trains for commuter operation and for block protection.
?
Can JMRI do all that? ?How much learning curve is there? Does it offer a similar graphic user interface.
?
David Richie