开云体育


Re: Automatic Dispatching

 

This is a common problem when moving the signal heads and SSL to signal masts and SML. ?For various reasons, it was common to include the turnout with the track attached to the points end. ?This means that there is no block boundary for signal masts.

For Dispatcher automation purposes, the 5.11.2 (and later) JMRI test release has a "ghost" block feature. ?This makes it possible to create a block for the turnout with an internal sensor. ?This provides the block boundary for a signal mast at the points end. ?See??for information on ghost blocks.

After creating the ghost block, the signal mast logic (SML) for the affected signal mast will need to be updated.

Dave Sand


----- Original message -----
From: "sontrak via groups.io" <sontrak=[email protected]>
Subject: Re: [jmriusers] Automatic Dispatching
Date: Sunday, March 30, 2025 3:05 PM

I"ve been studying the JMRI manual an experimenting, and I've come up with a new question related to auto trains and Signal Masts:
?
Every time I ask to set Signal Masts, the window offers only the Masts on the frog end of the Turnout.? Am I correct if I assume this is because the poitns end of the turnout is part of the Block connected to the points?
?
I had my signals defined by Signal Heads.? For Turnout LT501, for instance, IH 501A controlled the continuing path and IH 50B the diverging path from the points end, and IH501C the continuing path and IH501D the diverging path from the frog end.
?
If the Turnout is not its own discrete Block,how do I set a Signal Mast for trains leaving the Block via this Turnout?
?
Oh, and will I be able to use the Mast to operate auto trains?


Re: Automatic Dispatching

 

Another question, my old signal heads changed aspects as I opened and closed the Turnout.? When I set Masts instead of the Heads, they don't seem to respond to turnout postion.? What have I misse here?


Re: Automatic Dispatching

 

I"ve been studying the JMRI manual an experimenting, and I've come up with a new question related to auto trains and Signal Masts:
?
Every time I ask to set Signal Masts, the window offers only the Masts on the frog end of the Turnout.? Am I correct if I assume this is because the poitns end of the turnout is part of the Block connected to the points?
?
I had my signals defined by Signal Heads.? For Turnout LT501, for instance, IH 501A controlled the continuing path and IH 50B the diverging path from the points end, and IH501C the continuing path and IH501D the diverging path from the frog end.
?
If the Turnout is not its own discrete Block,how do I set a Signal Mast for trains leaving the Block via this Turnout?
?
Oh, and will I be able to use the Mast to operate auto trains?


Re: Script output delayed #scripting

 

I would expect that the aspects will be set based in signaling rules. ?Random does not make sense.

Dave Sand



----- Original message -----
From: "Canadian Locomotive Logistics via groups.io" <CanadianLocomotiveLogistics=[email protected]>
Subject: Re: [jmriusers] Script output delayed #scripting
Date: Sunday, March 30, 2025 1:00 PM

Having more sensor and AUI would be a goo thing... but for now this is good.
?
Most people dont adhire to the signal rules anyways.
?
Can you explain to be about varibles?
?
for example...
?
masts.getSignalMast('Signal Mast, Table 10, Track 5, West Bound').setAspect('Limited Clear')
?
I'd like to change 'Limited Clear' to other aspects randomly.


Re: JMRI Wont Start

 

On Sat, Mar 29, 2025 at 06:06 PM, Steve_G wrote:
Steve G.

installtest.bat
Testing for 32/64-bit Windows
Running on 64-bit Windows
Testing for 32/64-bit process
Running as a 64-bit process
Testing for Java working
openjdk version "17.0.14" 2025-01-21
OpenJDK Runtime Environment Temurin-17.0.14+7 (build 17.0.14+7)
OpenJDK 64-Bit Server VM Temurin-17.0.14+7 (build 17.0.14+7, mixed mode, sharing)
Java is correctly working.
Press any key to continue . . .
Now testing JMRI
'LaunchJMRI' is not recognized as an internal or external command,
operable program or batch file.
Something is wrong with invoking JMRI. Check JMRI installation.
Press any key to continue . . .
Test complete
Press any key to continue . . .
?
This is what I got when I ran Install.bat
?
How do I find - trouble shoot JMRI Installation?
?
Jerry F


Re: Script output delayed #scripting

 

Having more sensor and AUI would be a goo thing... but for now this is good.
?
Most people dont adhire to the signal rules anyways.
?
Can you explain to be about varibles?
?
for example...
?
masts.getSignalMast('Signal Mast, Table 10, Track 5, West Bound').setAspect('Limited Clear')
?
I'd like to change 'Limited Clear' to other aspects randomly.


Difference Between Compare and Reset #decoderpro

 

All,
?
Recently developed a problem with one of my older diesels, an N scale Bachmann with Econami factory installled. Def used is ECO-100 Diesel.
Sound was fine, loco would not move.
?
On the programming track, I loaded the loco's DecoderPro roster entry file and used the CVs tab to compare all values. No differences. Loco still not moving.
?
Did a Reset. Loco now moves. Rewrote all CVs from the loco's roster entry file. Loco now will again not move. To emphasize, these settings have worked fine for years.
?
Are there some settings somewhere that DecoderPro can not see or change, except by reset?
?
Regards


Re: Script output delayed #scripting

 

Sorry, my mistake. ?It show be newValue, not newState.

??????? if event.getNewValue() == ACTIVE:

Dave Sand


----- Original message -----
From: "Canadian Locomotive Logistics via groups.io" <CanadianLocomotiveLogistics=[email protected]>
Subject: Re: [jmriusers] Script output delayed #scripting
Date: Sunday, March 30, 2025 2:00 AM

I had issue with trying to use the activate..
Some how it actually stop the sensor to go active.
?
?
#######################################################################################################################
#
# Listen for changes to an occupancy sensor. ?When a change occurs, create and run the signal logic.
#
# Use INACTIVE for the sensor becoming inactive. Later
#
#
class SensorListener(java.beans.PropertyChangeListener):
? ? def propertyChange(self, event):
? ? ? ? if event.getNewState() == ACTIVE:
? ? ? ? ? ? SignalLogic().start()

#######################################################################################################################
#?
# I remored the follwo code and replaced it with the above, to better control the activation cose from the sensor.
#
# class SensorListener(java.beans.PropertyChangeListener):
#? ? ?def propertyChange(self, event):
#? ? ? ? ? ?SignalLogic().start()
#######################################################################################################################
#
# Get a sensor
#


Re: Chaining transits with a different locomotive #dispatcher

 

Jean
Thats a new one. I can reproduce.
Steve G.


New Dark mode issue

 

Folks,
I tried the version on Jenkins that includes "Dark Mode" (JMRI.5.11.4plus+jenkins+20250328T2349Z+R78beda49484) and I found the following:
In the "Set Signal Mast" popup:
Tthe text is not visible and there is no <blank> available in the signal mast selection drop down.
?
I'll keep checking it out.? Otherwise it meets my needs and works so far.
?
Windows 11 Pro, Java 11.
--
Tom Kane
Purcellville, VA


Re: Chaining transits with a different locomotive #dispatcher

 

Stev,

There is a train in the block.

The thing is that? whan I try to add the action in the transit, JRMI doesnt' store the locomotive.? I even try a roster entry or a DCC address. No difference.

Here is an example, I've added the BR-218 machine to the action and save the transit :


But when I try to relaod the transit the locomotive has gone.


Any idea.?
JeanLouisDelestre@...


De: "Steve_G via groups.io" <RailRodder22@...>
?: [email protected]
贰苍惫辞测é: Dimanche 30 Mars 2025 15:19:55
Objet: Re: [jmriusers] Chaining transits with a different locomotive #dispatcher

Jean
There is at least one bug, but thats not what is causing your problem, it produces a very distinct error message.
The first problem you had, abouit a train running using the wrong dcc address may be a new bug, but without the information I asked for I cannot recreate.
You current problem is not a bug, you appear to be trying to start a train that isnt in its designated starting position.
Steve G.
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


Re: Chaining transits with a different locomotive #dispatcher

 

Jean
There is at least one bug, but thats not what is causing your problem, it produces a very distinct error message.
The first problem you had, abouit a train running using the wrong dcc address may be a new bug, but without the information I asked for I cannot recreate.
You current problem is not a bug, you appear to be trying to start a train that isnt in its designated starting position.
Steve G.
?


Re: Problem loading Bachrus Speedometer #bachrus

 

Sorry to be slow replying, was trying to reproduce this without much luck.

It seems to be a problem with the start-up wizard.

When you set up JMRI for just your Power Cab, is everything working OK?

If so, let’s avoid the start-up wizard and try to directly add the speedometer via the preferences:

1) make sure your setup is working with the Power Cab OK.
2) Open Preferences (might be called Settings) -> Connection pane. There should just be one tab for your NCE connection
3) Click the “+” sign next to that tab to create a 2nd connection
4) Fill that out, selecting Bachrus speedometer.
5) Is COM6 one of the port choices? If so select it. If not, we’ll have to figure out why.
6) Save and restart.

Bob


On Mar 26, 2025, at 1:06?PM, James Little via groups.io <jlittletrains@...> wrote:

Bob;

When I press OK on the message, it then goes back to the "Finish and Connect" screen. When I press Finish again the message appears again, so it's looping.

When I press Cancel, it goes back to the initial startup screen and Gettin Started in RED.

I then restarted JMRI and selected my Power Cab. The program opened, with no sign of the Bachrus connection in Preferences. I then added Bachrus, saved the page and restarted JMRI. Now i get the screen of Error Initializing Decoder Pro. saying it cannot create a connection to Speedo (A). Serial Port COM6 not found.
Checking my Device Manager it shows the Bachrus Speedo Interface (COM6).

So I'm not sure where or what in JMRI isn't making the connection.

Jim Little, MMR

On Tue, Mar 25, 2025 at 6:05?PM Bob Jacobsen via groups.io <rgj1927@...> wrote:
Sorry for the problem. Looks like it might be an issue with the startup wizard

What happens if you press OK on that message, then press “Finish” on the underlying window?

If you then close and restart JMRI, what happens?

Bob

On Mar 25, 2025, at 3:38?PM, James Little via groups.io <jlittletrains@...> wrote:

Hello;

I recently tried installing my Bachrus Speedometer on a(newer) laptop with JMRI on it.
It has Win 10; JMRI 5.11.4, NCE Power Cab (latest chip v1.65b) all installed. Power Cab runs fine on system.

I had trouble loading the supplied driver (from 2006), but after discussing it with a good friend who is a Windows Certified Technician, he walked me through a procedure to instal a "legacy" driver. Windows now sees the unit ( in Device Manager). I walked through the JMRI setup for Bachrus speedometer, all the way through to the (almost) End. This message appeared, which to me says there's something in JMRI that need updating...?

<JMRI Bachrus Prob.png>

As what JMRI need is WAAAAAY beyond my paygrade, is there someone out there (preferably a develope) who I could work with to resolve this?

Jim Little MMR

Bob Jacobsen
rgj1927@...


Re: CTC Model Board

 

On 3/29/2025 9:40 AM, David Olesen via groups.io wrote:
I’d like to move a few columns, add some Call-Ons, and change a few signal levers from 3-position to 2-position. ?It’s easy enough to edit the graphics on the model board - not so easy to move switches and add functions. ?I like the CTC GUI generation tool and would prefer to use that.
I'm sorry, but how can you "move a few columns" or "Add some Call-Ons" or "change a few signal levers from 3-position to 2-position" while you (from your initial message!) 'keep my model board “as-is”'?

Those goals seem to have conflicting requirements! What am I missing here?


Re: Chaining transits with a different locomotive #dispatcher

 

Ha,

Do you mean that there is a bug?

An idea on when it will be fixed?

Many thanks.

JeanLouisDelestre@...


De: "Steve_G via groups.io" <RailRodder22@...>
?: [email protected]
贰苍惫辞测é: Dimanche 30 Mars 2025 10:46:49
Objet: Re: [jmriusers] Chaining transits with a different locomotive #dispatcher


On Sun, Mar 30, 2025 at 03:57 AM, Jean-Louis Free wrote:
ERROR - No train in start block 'Bypass (IB:AUTO:0001)', cannot create an Active Train [AWT-EventQueue-0]
Jean
This indicates that the block where the train is starting is unoccupied. If the roster/address is missing the error message states that. There is an outstanding bug where it thinks the address is missing which I am working on.
Steve G.
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


Re: Chaining transits with a different locomotive #dispatcher

 

On Sun, Mar 30, 2025 at 03:57 AM, Jean-Louis Free wrote:
ERROR - No train in start block 'Bypass (IB:AUTO:0001)', cannot create an Active Train [AWT-EventQueue-0]
Jean
This indicates that the block where the train is starting is unoccupied. If the roster/address is missing the error message states that. There is an outstanding bug where it thinks the address is missing which I am working on.
Steve G.
?


Re: Chaining transits with a different locomotive #dispatcher

 

Stvge,

When you try to add an action, I don't think JRMI stores the locomotive with either its DCC number or its name in the roster. This causes an error:

ERROR - No train in start block 'Bypass (IB:AUTO:0001)', cannot create an Active Train [AWT-EventQueue-0]

What could that be ?

JeanLouisDelestre@...


De: "Steve_G via groups.io" <RailRodder22@...>
?: [email protected]
贰苍惫辞测é: Mardi 25 Mars 2025 21:27:21
Objet: Re: [jmriusers] Chaining transits with a different locomotive #dispatcher

Jean , trainsit actions
What is specified in your traininfo file that you are loading, Roster, User... etc
In the Load Traininfo are you specifying Default/Current/Roster/Address??
?
I have found a problem that generates an error specifying that there is no DCC address, but canot reproduce the problem as reported. PS the trainname may be the same, but the DCC address should be different.
?
Steve G.
?


--
---------------------------------------------
Jean-Louis Paris-France
---------------------------------------------
JRMI 5.9.5 on Windows
DCC EX? on Arduino Mega
Java version 17.1.12
?


Re: Script output delayed #scripting

 

I had issue with trying to use the activate..
Some how it actually stop the sensor to go active.
?
?
#######################################################################################################################
#
# Listen for changes to an occupancy sensor. ?When a change occurs, create and run the signal logic.
#
# Use INACTIVE for the sensor becoming inactive. Later
#
#
class SensorListener(java.beans.PropertyChangeListener):
? ? def propertyChange(self, event):
? ? ? ? if event.getNewState() == ACTIVE:
? ? ? ? ? ? SignalLogic().start()

#######################################################################################################################
#?
# I remored the follwo code and replaced it with the above, to better control the activation cose from the sensor.
#
# class SensorListener(java.beans.PropertyChangeListener):
#? ? ?def propertyChange(self, event):
#? ? ? ? ? ?SignalLogic().start()
#######################################################################################################################
#
# Get a sensor
#


Re: DecoderPro Opens every time as a new install

 

As expected, the presence or absence of an internet connection is not related to or indicative of a reason for the creation of a temporary user folder.??
?
Cliff


Re: problem with decoderpro

 

开云体育

If the layout power button shows green when you start DecoderPro then you probably have the sprog set to command mode.

Under settings and then DCC Connection, try altering the System Connection from Sprog Command Station to just SPROG.

I have configured my DecoderPro to have two connection profiles, one for each of the above and disable/enable them for whichever profile I need at the time.

Guy


On 30/3/25 03:19, matthewpetzold via groups.io wrote:

When I load decoder pro and attempt to read a new loco the button in the top menu bar which normally shows "ON" switches to "OFF" (or sometimes "UNKNOWN") and the Sprog will not read anything - anybody know what I'm doing wrong?
?
Thanks
?
Matthew?