¿ªÔÆÌåÓý


Re: Error trying to add a panel in #panelpro

 

Heath,

The file is not valid. ?The first three lines should look like the following:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/xml/XSLT/panelfile-5-5-5.xsl" type="text/xsl"?>
<layout-config xmlns:xsi="" xsi:noNamespaceSchemaLocation="">

Dave Sand


----- Original message -----
From: "Heath @ Human[c]ity Junction" <heath@...>
Subject: [jmriusers] Error trying to add a panel in #panelpro
Date: Monday, May 26, 2025 11:09 AM

I am hoping someone has a thought on this error.?
I built a panel for a friends setup. I am trying to load the panel and this is the error I get.?
It is a simple panel, so I can just rebuild it, but I don¡¯t understand why it¡¯s not importing. What space??
?

--

Heath @ Human[c]ity



Re: DCC-EX Voltage/current meter #dcc-ex

 

Thanks, Daniel.
?
If that used to work on your hardware, I'm guessing the DCC-EX devs have removed support for it. You'd need to ask them why.
Here's what I get with the same commands on my CSB1:
[c] ?TX: Read Track Current Cmd?
[c CurrentMAIN 4 C Milli 0 4998 1 4998] ? RX: Meter reply: name CurrentMAIN, value 4.00, type C, unit Milli, min 0.00, max 4998.00, resolution 1.00, warn 4998.00
[JI] ?TX: Unknown Message: 'JI'
[jI 4 53] ? RX: Unknown Message: 'jI 4 53'
?
The response to your <c> request is <X>, which is the unhelpful "error" response. My <c> request returns a number of useful values that JMRI uses to populate the meter.
?
I could add support for the JI syntax to JMRI, but your result would be the same.
Here are the docs for JI:
Response: Repeated for each Channel/Track: <j I track current>
?> track: channel/track
?> current: current in milliamps
?
So you are seeing 0 for track and current, where I am seeing 4 and 53.
?
--SteveT


Re: Keyboard Shortcuts for PC and/or Mac for PanelPro... are there any?

 

I would really like undo as I always make a mistake right before I make a big change and have not saved.?

But I understand undo is a lot more than just adding a keyboard shortcut.?
--

Heath @ Human[c]ity



Error trying to add a panel in #panelpro

 

I am hoping someone has a thought on this error.?

I built a panel for a friends setup. I am trying to load the panel and this is the error I get.?

It is a simple panel, so I can just rebuild it, but I don¡¯t understand why it¡¯s not importing. What space??
?
--

Heath @ Human[c]ity



Re: Keyboard Shortcuts for PC and/or Mac for PanelPro... are there any?

 

Gopal,

If you are using the Metal L&F, then you need to use the control key instead of the command key.

Dave Sand



----- Original message -----
From: "Gopal Patnaik via groups.io" <gopalpatnaik=[email protected]>
Subject: Re: [jmriusers] Keyboard Shortcuts for PC and/or Mac for Panel Pro... are there any?
Date: Monday, May 26, 2025 9:40 AM

On Sun, May 25, 2025 at 04:08 PM, Dave Sand wrote:
Gopal,
?
Have you tried using standard shortcuts to paste into text fields?
?
Dave Sand
?
Unfortunately cmd-x, cmd-c, cmd-v do not work. ?Right clicking does bring up a contextual menu which allows for cut/copy/paste. This works, but is slower and not as familiar as the keyboard shortcuts.
?
Gopal


Re: Keyboard Shortcuts for PC and/or Mac for PanelPro... are there any?

 

On Sun, May 25, 2025 at 04:08 PM, Dave Sand wrote:
Gopal,
?
Have you tried using standard shortcuts to paste into text fields?
?
Dave Sand
?
Unfortunately cmd-x, cmd-c, cmd-v do not work. ?Right clicking does bring up a contextual menu which allows for cut/copy/paste. This works, but is slower and not as familiar as the keyboard shortcuts.
?
Gopal


Re: LogixNG table editor and CSV question #logixng

 

Erik,

Does Excel have an option to export using tabs?

Dave Sand


----- Original message -----
From: "Erik84750 via groups.io" <e.arckens=[email protected]>
Subject: Re: [jmriusers] LogixNG table editor and CSV question
Date: Monday, May 26, 2025 1:32 AM

On Sun, May 25, 2025 at 05:04 PM, Dave Sand wrote:
When you do the Excel CSV export, specify comma for the separator. ?It looks like you used the semi-colon in the first export. ?
?
When you do the LogixNG import, select the proper separator.

Dave Sand
?
Hi Dave, I discovered why my .csv file uses a semi-colon. Please see my previous message.
?
The only solution (in light of what I described there) is for JMRI to allow a third option (besides tab and comma) namely a semi-colon.
I intend on submitting this request to the developpers.
?
Erik
?


Re: Ad Hoc Changing Block Alternate Colour - Means of Showing Cab Allocation with DC Cab Control

 

Oh and it is good to have seen that block managing script, where and how it is described and syntax. All part of learning.


Re: Ad Hoc Changing Block Alternate Colour - Means of Showing Cab Allocation with DC Cab Control

 

On Mon, May 26, 2025 at 12:20 AM, Dave Sand wrote:
Traditionally, cab control consists of a rotary switch that routes the power from a number of cabs to a section of track.
?
The goal is to have JMRI handle the power switching using some unspecified type of hardware. ?The power routing would be based on selecting a cab and then a NX route. ?When the NX route is activated, the hardware would be notified of the cab setting for each affected block and the NX route on the panel would have the allocated track color changed based on which cab was selected.
A pithy summation, yes it makes sense, thanks for getting into the depth of this user's head :)
A detail adjustment and splitting the last sentence if I may...
When a cab is selected the allocated track colour associated with that cab is selected for all unallocated blocks. When the NX route is activated, the hardware would be notified of the cab setting for each activated block and the NX route on the panel uses the now cab dependent allocated track colour.
?
I feel that reflects, clarifies and separates the selection of the alternate colour and the use of it. This in a similar way to the separation of alternate colour selection in the edit block dialog and use of the alternate colour in NX route setting. The end result is the same as your description, just a slightly different order of getting there.
Is there any advantage/disadvantage you see in either method?
?


How to stop auto-train that loses next Signal #dispatcher

 

Hi All,
sometimes, fortunately very very seldom, an auto-train running under Dispatcher on our Club layout loses next Signal and so it does not stop although that Signal is set to Stop. I mean there is no next Signal in the? Dispatcher window in those situations.
?
On one side I am investigating with the help of System Consolle but on the other side, since our goal is safety first, I would like to stop the train when this behaviour happens.
?
Is there a way to use LogixNG or scripts? I am not able to get/drive the decoder address of the running train in the block where it should stop.
?
Thanks for help!
?
?
Giuseppe Di Biasi
?
___________________________________
JMRI 5.10
MacOS Monterey 12.7.6
Windows 11
Java 17


Simple way to move any loco between two points (automated)?

 

I'm looking for a simple way to move any loco from the staging track (siding/yard) to the block where the warrant will start.
Conceptually the solution would:
  • Use a loco/consist address supplied (e.g. from a memory variable)
  • Drive the train until a sensor (block occupancy) is triggered.
  • Assume a clear path has been established (user responsibility)
Thanks.
--
H.O. Australia (Layout in Progress)
Digikeijs DR5000 LocoNet
JMRI v5.10 DecoderPro/Warrants/CPE/SML/LogixNG
Java: OpenLogic jre-17.0.12.7 ? Windows 10


Re: LogixNG table editor and CSV question #logixng

 

On Sun, May 25, 2025 at 05:04 PM, Dave Sand wrote:
When you do the Excel CSV export, specify comma for the separator. ?It looks like you used the semi-colon in the first export. ?
?
When you do the LogixNG import, select the proper separator.
Dave Sand
?
Hi Dave, I discovered why my .csv file uses a semi-colon. Please see my previous message.
?
The only solution (in light of what I described there) is for JMRI to allow a third option (besides tab and comma) namely a semi-colon.
I intend on submitting this request to the developpers.
?
Erik
?


Re: LogixNG table editor and CSV question #logixng

 

On Sun, May 25, 2025 at 03:15 PM, danielb987 wrote:

Erik,

Your CSV file uses semicolon as separator. Try to export the table using TAB as the separator instead.

Daniel

Hi Dani?l, I have one last question:
?
I cannot so far seem to save an Excel file as a .csv file useable for LogixNG Tables. At the moment I need to convert my Excel file to an MS-DOS .txt file but that makes the original Excel file disappear into this .txt file.
?
One issue I discovered () is that we in the EU use a comma for decimal and a . (dot) for thousands: this makes Excel to convert .csv to ; (semicolon) delimited files.
?
It would be a huge advantage for JMRI to also allow a semicolon as separator in the options (besides tbas and comma). Where can I contact JMRI developper to request this addition?


Re: OperationsPro New feature, Routes #operationspro

 

On Sun, May 25, 2025 at 05:21 PM, Jon Schmidt wrote:
I like the feature in general.? However, It appears that the default is if a location has Pickups AND Setouts, you set "Local moves" to yes. I see that on several of my pre-existing routes.? This is unfortunate.? I have several trains that drop & lift blocks of cars, but do not do any local moves.? Looks like I have to edit either the train or the route to get it to work as I wish.? right?
The default for this upgrade is to set the local moves to yes if previously the pickups and setouts were also yes.? It shouldn't change things for you as you needed both to be true to allow a local move.? You now have the ability to prevent a local move, and still allow both pickups and setouts.? So no editing necessary.
?
Dan


Re: OperationsPro New feature, Routes #operationspro

 

Dan,
?
This is a great addition. ?Thank you for working so tirelessly to continue improving Operations Pro!
?
-Steve Davis
KCS Heavener Sub
www.kcs1982.com
?


Re: Ad Hoc Changing Block Alternate Colour - Means of Showing Cab Allocation with DC Cab Control

 

Colin,

See if what follows makes sense.

Traditionally, cab control consists of a rotary switch that routes the power from a number of cabs to a section of track.

The goal is to have JMRI handle the power switching using some unspecified type of hardware. ?The power routing would be based on selecting a cab and then a NX route. ?When the NX route is activated, the hardware would be notified of the cab setting for each affected block and the NX route on the panel would have the allocated track color changed based on which cab was selected.

---------------

Don't worry about ManageBlocks2.py. ?For your purpose, a new script integrated with LogixNG would work much better.

Dave Sand


----- Original message -----
From: "colin smith via groups.io" <colinsmithwork=[email protected]>
Subject: Re: [jmriusers] Ad Hoc Changing Block Alternate Colour - Means of Showing Cab Allocation with DC Cab Control
Date: Sunday, May 25, 2025 1:22 PM

Yes Layout Editor, it's all I've used, forgot there are multiple Panel types/editing means.
?
Had a look at the "ManageBlocks2.py" script. Wow, that's quite a deep end into which to be thrown! I dabbled very, very briefly with Python also 20 years ago so any understanding is long forgotten!
Anyway, hopefully moderately sensible questions below :)
?
There appears to me to be setting (or choosing) and using (with changes to release/reserved) the block extra colour (or alternate colour as it is called elsewhere) in that script. If the use bit and changes to release/reserved were avoided leaving only the setting would that avoid NX conflicts? It is that separating of the setting (or choice) of alternate colour from its use that I had envisioned.
In a similar way to the existing means of setting a block's alternate colour in the block edit dialog being separate from the use of the alternate colour in the NX process.
?
You say: "If I understand the concepts, you need four block colors, two are track colors and two are alternate track colors.
  1. Default
  2. Cab assigned
  3. NX allocated
  4. NX allocated and Cab assigned
Actually there are 12 colors since there are five cabs."
?
My vision is simpler (perhaps!) states 2&3 do not exist except perhaps as a transient or unseen/don't care combination of other conditions while the assignment process runs.
My cab choice sensor group button (1 of 5) being selected before an NX setting process might set but not use a cab-dependent alternate colour for all unreserved (by NX) blocks. In this state, two above in your example, those blocks will still be displaying their default track colour as there has not been any NX route allocation (or change in actual cab relays) for them. When an NX assignment is made NX uses the alternate colour. That change in block reservation status might be the trigger which then sets a turnout for that block's cab selection relays. i.e. the colours/states for my system are 1&4 only.
?
You say "How do you manage the "cab to block" assignments? ?Is there a sensor group for each block or is a set of blocks assigned to a cab?"
The latter I think as each block becomes part of an NX set route.


Re: Keyboard Shortcuts for PC and/or Mac for PanelPro... are there any?

 

¿ªÔÆÌåÓý

The usual cut, copy, paste for text works on Windows. Cntl-X, Cntl-C, and Cntl-V.

?

But it may also be a function of the ¡®look and feel¡¯ selected in the Preferences. I always pick ¡®Metal¡¯ for my systems. You may have to try a few combos. But do a Save and Restart of JMRI after making a change.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Build 2365 Fails to Launch on macOS arm64

 

Bob et al - Looks like the signing issue again. (macOS 15.5, Java 17)

Fred Dalzell


Re: OperationsPro New feature, Routes #operationspro

 

I like the feature in general.? However, It appears that the default is if a location has Pickups AND Setouts, you set "Local moves" to yes. I see that on several of my pre-existing routes.? This is unfortunate.? I have several trains that drop & lift blocks of cars, but do not do any local moves.? Looks like I have to edit either the train or the route to get it to work as I wish.? right?
?
Jon in San Rafael
?


Re: OperationsPro New feature, Routes #operationspro

 

Dan, the "local moves" flag needs to be added to the routes export.
?
Jon
?