开云体育


Re: Panel selection doesn't work #rpi

 

Dave Sand,
Where is the code for the Windows menu click? I don't have any LinkingLabels for testing.
--SteveT?


Re: Linking labels not working

 

Cliff,

Adding linking labels is the same as linking icons.
Dave Sand



----- Original message -----
From: Cliff Anderson <cliffaa@...>
Subject: Re: [jmriusers] Linking labels not working
Date: Saturday, March 22, 2025 8:24 PM

Dale,
?
The currently in development PanelPro files that our club is using for our expansion layout is able to use two linkinglabel entries for each Control Panel using 5.11.4 and occasionally 5.10 on a windows 11 laptop.??
?
The Control Panel window for the "Item Pallet" dialog allows linkingicons but I have not found linkinglabel access.? Our method for installing the label version was to copy the text from the 10 years or older XML file for the almost 18 year old and almost complete layout and then paste and modify it into the extension layouts XML file.? The older layout is using 5.10 on a windows 10 computer with no complaints about the linkinglabel actions.
?
As construction and testing progress, the two files are being kept separated.? Merger is more than a few years away.??
?
But to your point, other than looking at your XML I am not at all sure how to help you troubleshoot the problem but the version number is not the right place to investigate.??
?
Cliff in Baja SoCal


Re: Panel selection doesn't work #rpi

 

More likely a Wayland thing. One window manipulating anotherwindow.
Steve G.
?


Re: Panel selection doesn't work #rpi

 

Steve,

The code is at?java/src/jmri/jmrit/display/LinkingLabel.java, doMouseClicked().

Is this another Bookworm issue?


Dave Sand


----- Original message -----
From: "Steve Todd via groups.io" <mstevetodd=[email protected]>
Subject: Re: [jmriusers] Panel selection doesn't work #rpi
Date: Saturday, March 22, 2025 8:02 PM

Dale, I see the same thing with my RPi-JMRI image, up-to-date Bookworm with 5.11.4. Have you tried it with earlier versions of either JMRI or Android OS? It would be helpful to know when this started.
Also, I suspect this is the same issue as you mentioned regarding Linking Labels.
?
Do any of the developers know where in the code this action is handled? I assume there is a call to some OS function for bringing a window into foreground/focus. I could do some debugging if I knew where to look.
?
Dale, you may find this gets more developer attention if you create a JMRI GitHub Issue.
?
--SteveT


Re: Problems With dispatcher #dispatcher

 

Hello Dave and All
I have started to make some progress.
I read and reread all of your threads as i could.
I decided to remove all signals and Logic and restart
This Time i noticed that the Offset choice was available in Signal Mast,so i thought id try it.(NCE Light its)
Also understanding what happens at a turnout was a break thru to me.
Anyway after creating SML things progressed ,and i have managed to automate a train thru 8 sections and return(back and forth)
Then the same but choosing Restart when done(continouos)
But? that it still a bit hit and miss(sometimes it says its waiting for a distant block to clear)
Im pretty happy to get this far.
Some Q's
1.Can you take a look at the file "Dave to Look" in the working on files to see if anything is amiss(especially Block 8 ,i still dont get that)
2.If i cannot get it to run back and forth,i noticed you mention (instead)to have multiple transits,but i dont know how you do that in dispatcher,if you could give a quick tip)
3.The train speed is a mystery thru sections.Is it guided by my info ive given to blocks?(distance ,curves)It seems to go fast in some and slow in other.(do i have to set instructions in every section?)
Thanks Again
Regards Brett.
If anyone is interest in my layout,i have a YT channel called A Good Day to Railway.You are most welcome to visit.


Re: Linking labels not working

 

Dale,
?
The currently in development PanelPro files that our club is using for our expansion layout is able to use two linkinglabel entries for each Control Panel using 5.11.4 and occasionally 5.10 on a windows 11 laptop.??
?
The Control Panel window for the "Item Pallet" dialog allows linkingicons but I have not found linkinglabel access.? Our method for installing the label version was to copy the text from the 10 years or older XML file for the almost 18 year old and almost complete layout and then paste and modify it into the extension layouts XML file.? The older layout is using 5.10 on a windows 10 computer with no complaints about the linkinglabel actions.
?
As construction and testing progress, the two files are being kept separated.? Merger is more than a few years away.??
?
But to your point, other than looking at your XML I am not at all sure how to help you troubleshoot the problem but the version number is not the right place to investigate.??
?
Cliff in Baja SoCal


Re: LogixNG vs Jython performance #jython #logixng

 

On Sun, Mar 23, 2025 at 02:39 AM, George Hofmann wrote:
Nags
I was having the same problem. It turned out that I was just not thinking through the logic properly. Once I realized my foolishness the execute on change started working as advertised. In my case I was expecting the If to trigger when the condition became false, but it turned out that that condition was usually false due to other inputs, so that when the input I was trying to catch turned false, nothing happened because there was no logical change to the set of monitored inputs taken as a whole. So my advice is to study your logic thoroughly and maybe you can fix the issue.
?
George
Yep, I've encountered that myself and I do get the 'if the state doesn't change do nothing' logic.
I figure unless there's a compelling reason why not,? just go with Always Execute since it seems to always work. Also many of mine are nested ifs and therefore Always Execute is recommended.
--
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: Panel selection doesn't work #rpi

 

Dale, I see the same thing with my RPi-JMRI image, up-to-date Bookworm with 5.11.4. Have you tried it with earlier versions of either JMRI or Android OS? It would be helpful to know when this started.
Also, I suspect this is the same issue as you mentioned regarding Linking Labels.
?
Do any of the developers know where in the code this action is handled? I assume there is a call to some OS function for bringing a window into foreground/focus. I could do some debugging if I knew where to look.
?
Dale, you may find this gets more developer attention if you create a JMRI GitHub Issue.
?
--SteveT


Re: LogixNG extracting multiple values from table #logixng

 

George,

Try something like this.
The current name of a turnout is in the turnout local variable. ?The row is selected from the table using the turnout name and then the specified state is selected from the State column for the selected row.

Dave Sand



----- Original message -----
From: "George Hofmann via groups.io" <george.hofmann=[email protected]>
Subject: [jmriusers] LogixNG extracting multiple values from table #logixng
Date: Saturday, March 22, 2025 5:49 PM

JMRI 5.10
Windows 11
?
I've been bending my pick trying to figure this out all afternoon.
I want to set a collection of turnouts to individual states. I have a table with two columns, turnout name and desired state. I can extract the turnout names to a local variable in a for-each statement and I can set each of those turnouts to some constant state like THROWN. But I can't figure how to extract the target state from that second column and apply it to the current turnout from the same row.?
?
Must be simple but I don't get it.
?
George


Re: Editing a layout panel

 

开云体育

AD,

?

Normal case when a train leaves a block, it goes inactive and erasing the content makes for normal movement. But when that content hasn’t moved to any other block, it becomes lost. What else could it do?

?

-Ken Cameron, Member JMRI Dev Team

?

?


LogixNG extracting multiple values from table #logixng

 

JMRI 5.10
Windows 11
?
I've been bending my pick trying to figure this out all afternoon.
I want to set a collection of turnouts to individual states. I have a table with two columns, turnout name and desired state. I can extract the turnout names to a local variable in a for-each statement and I can set each of those turnouts to some constant state like THROWN. But I can't figure how to extract the target state from that second column and apply it to the current turnout from the same row.?
?
Must be simple but I don't get it.
?
George


Re: Next jmri non test version

 

Tony,
?
I've been running the test versions for 22+ years, since JMRI 1.something. (ISTR they were ALL test versions back then!) I've even installed non-released nightly builds on a few occasions to take advantage of a fix/enhancement.
?
That's never caused a problem, so if you need 5.11.2 to use ghosts, go for it!
?
Steve
"Breezlys"


Re: Editing a layout panel

 

Tony,

When a block becomes unoccupied, the block content is no longer valid so it is erased.

Dave Sand


----- Original message -----
Subject: Re: [jmriusers] Editing a layout panel
Date: Saturday, March 22, 2025 2:30 PM

Ps:
?
why does setting block sensors to inactive cause the block content in the block table to be erased.
?
tony


Re: Red Stop on WiThrottle Panel #withrottleserver

 

The stop sign is to "EStop all JMRI managed throttles". I have never used it and don't see that being the issue
Next to the stop sign should be track power indication, is showing green ?

--
Peter Ulvestad
Linux Mint 22.1, JMRI 5.11.3plus, Java 21.0.5
JMRI Users Group Moderator ( /g/jmriusers )
JMRI Developers Group Moderator ( )
Tam Valley Group Moderator ( )
Sprog-DCC Group Moderator ( )
Edmonton Model Railroad Association ( )


Re: Editing a layout panel

 

Tony,

Select "Options -> Show Help Bar in Edit Mode". ?This will show you the mouse/key actions.

Note: ?Make sure nothing is selected by clicking in a blank area.


Dave Sand



----- Original message -----
Subject: [jmriusers] Editing a layout panel
Date: Saturday, March 22, 2025 2:23 PM

Dear Dave
?
I have done these things over a billion times but have no memory of what to do and no matter what i try nothing works.. i cant find the info in the manual in the edit layout panel area.
using jmri 5.10 on windows 11 with a pad-no mouse.
?
in edit mode i select block content and select block 39
i place cursor in upper left corner and click space bar-the selection menu at the top now starts going crazy selecting one item after the other. ?
?
This is new-why does that happen?
?
shift click gets the block content in the upper left corner
i select the object and try to move it. I combine the arrow with every key possible and nothing moves it as i move the cursor
?
how do i move an object?
?
tony


Re: Editing a layout panel

 

开云体育

I am in process of editing the panel at a stand still.
Can anyone online help

Tony



On Mar 22, 2025, at 3:23?PM, AD <bklyns_baseball_club@...> wrote:

?
Dear Dave
?
I have done these things over a billion times but have no memory of what to do and no matter what i try nothing works.. i cant find the info in the manual in the edit layout panel area.
using jmri 5.10 on windows 11 with a pad-no mouse.
?
in edit mode i select block content and select block 39
i place cursor in upper left corner and click space bar-the selection menu at the top now starts going crazy selecting one item after the other. ?
?
This is new-why does that happen?
?
shift click gets the block content in the upper left corner
i select the object and try to move it. I combine the arrow with every key possible and nothing moves it as i move the cursor
?
how do i move an object?
?
tony


Red Stop on WiThrottle Panel #withrottleserver

 

I am showing a red stop signal on the WiThrottle Panel. The Panel shows my phone connected to the system, but nothing works. I must have something turned off, blocked or not activated. Haven't found the right reference in the help. What should I check?
?
Larry


Re: Next jmri non test version

 

There’s a little bit about the release philosophy here:



The road map, which gives you an idea of when the first numbers change, is here:



(That needs an update, will work on that)

Bob

Bob Jacobsen
rgj1927@...


Re: Next jmri non test version

 

And the scheduled releases / milestones are here:



(5.12 is scheduled for the end of June 2025.)

At Sat, 22 Mar 2025 11:11:36 -0700 "stevemac" <steveo@...> wrote:



Note the production releases are even numbers.






--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
-- Linux Administration Services
heller@... -- Webhosting Services


Re: Next jmri non test version

 

I don't know JMRI's developers' "plan", but the usual reason to jump to a new
major version number is something like a major rewrite or some other major
change.

Version numbers are *not* "decimal" numbers (fractions), so there is no
partitular reasons for the numbers after the dots to "overflow". Different
software projects do different things. JMRI seems to use odd secondary version
numbers for [stable] test releases and even numbers for stable production
releases,

At Sat, 22 Mar 2025 10:22:10 -0700 "AD" <bklyns_baseball_club@...> wrote:


also after reaching 5.10 why wasnt the next non test version 6.0?

tony






--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
-- Linux Administration Services
heller@... -- Webhosting Services