开云体育


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?


Re: Adding Signal Heads @ Dbl Slip using "Set Signal Heads at a Slip" Tool #ssl #layouteditor

 

Dave, thanks for reviewing my problem. I followed your advice and changed block assignments around the double slip (plus cleaning up some other "Block Boundary" issues).
All is working well now.
Many thanks for your?suggestions,
Cheers,
Paul Young

On Sat, Mar 15, 2025 at 5:36?PM Dave Sand via <ds=[email protected]> wrote:
Paul,

I have reviewed your upload.

Block 1 includes track segments attached to the connection points on the slip.? The subsequent anchor points create block boundaries.

SSL requires signal heads at anchor point block boundaries.? You do not have the required signal heads at the block boundary anchor points which results in the error messages.

The simple fix is to change the block assignments for the track segments to match the neighbor track segments.? This eliminates the block boundaries.

Note: ?Signals are used to protect entry into points of conflict.? These are normally turnouts and level crossings (diamonds).? There is rarely any requirement to protect the exit from a turnout or level crossing.? You don't want to enter if you cannot exit.

Dave Sand


----- Original message -----
From: Dave Sand <ds@...>
Subject: Re: [jmriusers] Adding Signal Heads @ Dbl Slip using "Set Signal Heads at a Slip" Tool #ssl #layouteditor
Date: Friday, March 14, 2025 4:04 PM

Paul,

My understanding is that the message occurs when it is not possible to find a "next" signal head to be protected.

If you upload the layout data xml file to the group's ProblemsBeingWorkedOn file folder, it might be possible to identify the issue.

Dave Sand



----- Original message -----
From: "Paul Young via " <windscape360=[email protected]>
Subject: [jmriusers] Adding Signal Heads @ Dbl Slip using "Set Signal Heads at a Slip" Tool #ssl #layouteditor
Date: Thursday, March 13, 2025 6:51 PM

Good evening Moderators and group:
?
My setup:
Win10, Digitrax PR3
Digitrax DCS210, DCS50 (throttle/ booster only), DT400, DT500
SE8C x2, BDL16 x2, SE74 x2, DS64 x4, UR90 x2, UP5
Signals are Digitrax SHABC and SH2AB
Panel Pro 5.2+R760b98537f, java 11.0.19
?
The layout is essentially a reversing loop to reversing loop arrangement, with SSL installed over most of the layout and working correctly.
I have a Layout Editor panel which correctly displays occupancy, powered turnout positions and signal aspects and correctly match what is displayed on the physical layout.
?
There is 1 powered double slip that I am now trying to add SSL to using the "Set Signal Heads at a Slip" Tool.
I used an earlier post by Dave Sand as a guide ... #233359.
However, I get the following error:
"Cannot set up logic because next signal (in or at the end of block "Block_1" is apparently not yet defined"
There are 4 block boundaries defined (the slip is part of Block_1 as well), and signal heads at all of these boundaries.
If I try to "Set Signal Heads at a Block Boundary", I get an error message that the signal heads in question are already in use on the layout diagram.
?
I placed most of the signal heads on the layout diagram and created the SSL without using the "Set Signal Heads at a Block Boundary" or other tools ... could this be part of my difficulty? Perhaps it's time to move to SML?
I would be grateful for any suggestions as to how to proceed from here.
Thank you all,
Paul Young



306 error message

 

Hi I'm trying to connect my dcs52 to Jmri.? It's connected to the USB port (printer cable) on the dcs52 to a USB port on my computer.? The device manager says it's connected on Com3.? Decoderpro says Loconet is online, but when I try to read the decoder it says "Stopping due to error: Timeout talking to command station (306)".? I have Windows 11 and got Java 17 to run Jmri.? Jmri 5.10


Re: JMRI Wont Start

 

Running installtest.bat found in the jmri install folder may also help.
?
Common problems are not using the oracle uninstall tool if you have ever used an oracle java and using a 32bit java on a 64bit windows os.
?
Steve G.
?


Re: PanelPro New Feature - Panel Swipe Navigation on Tablet

 

Daniel,

Linking labels are a CPE feature. When adding a Text item from the Palette, scroll to the bottom.

Dave Sand

----- Original message -----
From: danielb987 <jmri@...>
To: [email protected]
Subject: Re: [jmriusers] PanelPro New Feature - Panel Swipe Navigation on Tablet
Date: Saturday, March 29, 2025 5:54 PM

How do you add a linking label to a panel?

Daniel


Re: PanelPro New Feature - Panel Swipe Navigation on Tablet

 

How do you add a linking label to a panel?

Daniel