¿ªÔÆÌåÓý

Date

Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

Gil,

Retaining the chooser from an automatic load makes it easy to do a store. ?

Dave Sand

----- Original message -----
From: Gil Fuchs <gfuchs3@...>
Subject: Re: [jmriusers] JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup
Date: Monday, September 02, 2024 4:03 PM

That explains some of it, though AFAIK if you used an automatic file load step, loading panels again manually would cause other issues such as duplicate panels(?). So not a very useful feature IMHO.
? Wouldn't it be possible to read the file location from the profile, and set it in the chooser at the time the user starts a manual file load? At that time the system is initializing a modal dialog box anyway so my guess is all the resources would be in place and properly initialized.
?
Gil
?
?
?


Locked Re: JMRI panel using CMRI signaling #cmri

 

¿ªÔÆÌåÓý

Bob J
Thanks so much for your advice on the baud rate. Mike reports the CMRI signals are working now

Bob Bucklew

On Aug 31, 2024, at 9:55?PM, rbucklew <rbucklew@...> wrote:

?
Bob J,
I guess I failed to notice the baud rate set for JMRI on the CMRI interface for the old and new PC.? I will have Mike check that out.
?
On the new PC, the railroad signals will not light and the CMRI hardware crashes before we even start the panel.? The LEDs I described do show differently when running on the older PC and all of the railroad signals light up when the panel is loaded.
?
Thanks for the feedback.? I am hoping it is something that simple.?
?
Bob Bucklew
?

From: Bob <rgj1927@...>
To: jmriusers <[email protected]>
Date: Saturday, 31 August 2024 8:57 PM EDT
Subject: Re: [jmriusers] JMRI panel using CMRI signaling

Is it possible you have different baud rates selected on the two computers?

What do you mean by ¡°the CMRI hardware crashes¡±? Is it just that it¡¯s not work, with the lights you described? Or is there something else going wrong too?

Bob

> On Aug 31, 2024, at 8:41?PM, rbucklew via groups.io <rbucklew@...> wrote:
>
> My friend Mike Hartlett has been using a control panel developed initially by Nick Kulp in JMRI for several years now. The panel covers four screens and uses Loconet for turnout control and CMRI SMINI for signaling.
> The panel has been running pretty well for op sessions and we have been making some improvements to include hidden signals in some of the more complex interlockings.
> Mike was running JMRI version 4.27 on a Windows 7 PC. In the past few weeks he attempted to replace it with a newer Windows 10 PC, but still using JMRI version 4.27. After locating the correct file locations, we have been able to get the panel on the new PC to recognize the Loconet turnouts LTxx, CMRI turnouts for signals CTxx and Signals CHxx. The Loconet side is working fine, but the CMRI hardware was not being controlled by the panel from the Windows 10 PC.
> We decided to run today's op session with dark signals. After the op session today, we switched the Loconet and CMRI USB back to the old Windows 7 PC. We are able to bring up and change all signals using the old PC and JMRI panels. So we confirmed the CMRI hardware is still functioning. I found the new PC was using different COM ports and made that correction. But whenever we start the JMRI version 4.27 on the new Windows PC, the CMRI hardware crashes. I am no CMRI expert, but noticed the CMRI Interface LED stays red when running on the old PC and flashes a dim yellow after crashing on the new PC. The green SI LED shows a slow green flash when running on the old PC and immediately changes to a very fast green flash when it crashes as JMRI is started on the new PC. We don't even get a chance to load the panel before CMRI crashes.
> I am hoping a CMRI expert can help us figure out this JMRI-CMRI issue.
> Thanks in advance
> Bob Bucklew
>

¡ª
Bob Jacobsen
rgj1927@...











Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

That explains some of it, though AFAIK if you used an automatic file load step, loading panels again manually would cause other issues such as duplicate panels(?). So not a very useful feature IMHO.
? Wouldn't it be possible to read the file location from the profile, and set it in the chooser at the time the user starts a manual file load? At that time the system is initializing a modal dialog box anyway so my guess is all the resources would be in place and properly initialized.
?
Gil
?
?
?


Locked Re: Nested Routes? #routes

 

This turned out to be SO neat

I imagined my layout to be a collection of small routes - each with its own activating sensor

Now to build bigger routes, I just need a route that activates the relevant sensors

Works like a charm (and means I only have to define individual TURNOUT positions once each)

MANY MANY thanks Dave

On 19/08/2024 19:51, Dave Sand via groups.io wrote:

Phil,

You can already create a route to run other routes.

The "small" routes would have an internal sensor as the trigger. The "big" route would set the small route sensors active.

Dave Sand


----- Original message -----
From: Phil G <phil@...>
To: "[email protected]" <[email protected]>
Subject: Re: [jmriusers] Nested Routes?
Date: Monday, August 19, 2024 1:05 PM

Thanks (I think)

But it would be far simpler (for the user) to be able to define routes of routes

Phil G

On 19 Aug 2024, at 17:07, Dave Sand via groups.io <ds@...> wrote:

?Phil,

You can simulate the larger route using Logix or LogixNG.

Dave Sand


----- Original message -----
From: Phil G <phil@...>
To: "[email protected]" <[email protected]>
Subject: [jmriusers] Nested Routes?
Date: Monday, August 19, 2024 9:46 AM

Is there any way to create a route that consists of other routes (rather
than turnouts)?

Managing and operating my layout-to-be could be made easier if I could
define some small "route portions" and then define larger "route
constructs" that were made of these smaller subunits

I'm aware that programatically, route management would have to be
careful not to allow recursive routes to be generated, but are there any
other gotchas that would make this impossible to do??

Thanks

Phil G

















Locked Re: Schedule matching does not seem to work #operationspro

 

Hi Eric,
?
On my layout, I create my spurs to allow 10' more than the length of the car/cars length that can go into the spur.? Example, 1 car is 50' so I make the spur at least 60'.? Two cars is 100', so I allow 120' when creating the spur.? It's not that I will put a longer car there, its simply to account for coupler lengths on both ends of the car and not have any build or movement issues.? Besides, I can always squeeze an extra 10' in N scale.? haha
?
Regards,
Frank
--
Frank Kenny
Central Pacific Railway - CPRX
310-344-9145
Los Angeles area
Instagram:?
Facebook:?
YouTube:?
Blog:?? ?(Updated occasionally)


Locked Re: Sensor listed in sensor table but not in drop down listing #tables #sensors

 

Derek,

I did a test and the colon does sort to the top. ?Normally user names will be at the top and items without user names will be at the bottom.

Dave Sand


----- Original message -----
From: Derek Uttley <derekuttley@...>
Subject: Re: [jmriusers] Sensor listed in sensor table but not in drop down listing
Date: Monday, September 02, 2024 2:33 PM

I found the problem!!
Somehow, in the sensor table view, there was a hardly visible colon (:) in the User Name field. Once I had got rid of that I am back in business. I now know why Dave Sand mentioned system and User names in one of his posts.
Thanks gentlemen.
?
Derek.


Locked Re: Sensor listed in sensor table but not in drop down listing #tables #sensors

 

I found the problem!!
Somehow, in the sensor table view, there was a hardly visible colon (:) in the User Name field. Once I had got rid of that I am back in business. I now know why Dave Sand mentioned system and User names in one of his posts.
Thanks gentlemen.
?
Derek.


Locked Re: Loading error - Java #java

 

Jim
What does installtest.bat show you?
Steve G.


On Mon, Sep 2, 2024, 14:17 John Griffin via <johng.sst=[email protected]> wrote:
James,

How did you delete Java? If you had a previous?version you have to use this tool to delete it.



Simply deleting the directory will not do it.




On Mon, Sep 2, 2024 at 12:12?AM James S. Brown via <brown3980=[email protected]> wrote:

Hi all¡­

Alas, I need some guidance here! I¡¯ve just gone through the romance of reinstalling Windows and have been religiously reinstalling my various apps. I reinstalled Java Azul zulu17.50.19-ca-jre17.0.11-win_x64 first, followed by JMRI Decoder Pro 5.9.3 and everything seemed fine¡­until tonight when the following error message popped up when trying to launch Decoder Pro: ¡°Error: Could not create the Java Virtual Machine, (followed by) A fatal exception occurred, program will exit. [OK]¡±

I tried deleting and reinstalling Java, and then deleting and reinstalling Decoder Pro but to no avail ¨C anyone have any ideas?

TIA

Jim

?



--
John Griffin

Model Railroading Topics


Locked Re: Sensor listed in sensor table but not in drop down listing #tables #sensors

 

Derek,

If you try to add a sensor icon to a panel, does NS996 show up in the panel's sensor dropdown?

You might need to upload the xml data file to the group's ProblemsBeingWorkedOn file folder for a detailed review.

Dave Sand


----- Original message -----
From: Derek Uttley <derekuttley@...>
Subject: Re: [jmriusers] Sensor listed in sensor table but not in drop down listing
Date: Monday, September 02, 2024 2:09 PM

Daniel,
The sensor is definitely not used anywhere else.
?
D.


Locked Re: Sensor listed in sensor table but not in drop down listing #tables #sensors

 

Daniel,
The sensor is definitely not used anywhere else.
?
D.


Locked Re: Sensor listed in sensor table but not in drop down listing #tables #sensors

 

Hi Dave,
?
System Console has :-
Warn - expected Sensor 1 not defined - NT23 [AWT-EventQueue-0]
?
This is the turnout that should have the missing sensor associated with it. But, as i have said, the related sensor (NS996) is present in the sensor table, but does not appear in the drop down list of sensors. NS995 and NS997 and all other sensors appear in the list.
?
There are a number of ERRORs related to signals that are not associated with the missing sensor.
?
Derek.


Locked Interchange vs Spur #operationspro

 

Pete

This is by way of update on the above following my last Ops Session.

Cars are allowed to go from staging to staging.

The Interchange Track at Location A (the main town with classification yard) had two cars on it awaiting pickup. Having changed the route to include this spur a through mainfest train picked up the two cars which had received a default load of "L". Unfortunately the train promptly set them out again at the classification yard as I had got the order incorrect in the route but never mind, that's easily fixed.

The Interchange Track at Location B (another location serviced only by a turn from the main classification yard) there were 4 cars available for pickup. These were duly collected and all received custom loads, two "E(mpty) and two other loads.

Before I started all this I had noticed that the Interchange track at A had a move count of zero, whereas at B the move count was 24, hence my desire to improve movement.

Next I constructed a schedule for the Interchange at Location A of about 12 boxcars, each set to receive a custom load and send empty, and vice versa.

Hey Presto, upon building the train for the next Ops Session 6 cars were set out - a record!

So the way to go is to finish this schedule for all cars and all loads, this will take time.

I would welcome your advice:-

Do I need to enter to receive each custom load and ship a corresponding empty and the reverse, receive empty and ship each custom load?

Would it be better to have the Interchange Spur as part of the classification location, this may help as the yard switcher could do the set outs etc along with it's normal duties.

I hope all this makes sense.

Regards

Brian Clark

Bedford UK.


Locked Re: Sensor listed in sensor table but not in drop down listing #tables #sensors

 

Hi Billybob,
?
JMRI PanelPro 5.2+R760b98537f
Java version 11.0.17
Windows 11
NCE ProCab.
?
Derek.


Locked Re: Loading error - Java #java

 

James,

How did you delete Java? If you had a previous?version you have to use this tool to delete it.



Simply deleting the directory will not do it.




On Mon, Sep 2, 2024 at 12:12?AM James S. Brown via <brown3980=[email protected]> wrote:

Hi all¡­

Alas, I need some guidance here! I¡¯ve just gone through the romance of reinstalling Windows and have been religiously reinstalling my various apps. I reinstalled Java Azul zulu17.50.19-ca-jre17.0.11-win_x64 first, followed by JMRI Decoder Pro 5.9.3 and everything seemed fine¡­until tonight when the following error message popped up when trying to launch Decoder Pro: ¡°Error: Could not create the Java Virtual Machine, (followed by) A fatal exception occurred, program will exit. [OK]¡±

I tried deleting and reinstalling Java, and then deleting and reinstalling Decoder Pro but to no avail ¨C anyone have any ideas?

TIA

Jim

?



--
John Griffin

Model Railroading Topics


Locked Re: Regular reminders?

 

"Pinned to the top" of what?

I typically only view eMails from the group

Phil G

On 02/09/2024 18:32, Peter Ulvestad via groups.io wrote:
There are no plans to do monthly reminders.
Several topics are pinned to the top that may be useful.


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

Thanks for finding that Java issue!

The JChooser access is a convenience: it sets the default location of the load-file file chooser to the location that you loaded your file from. That way, if you do a manual load, you don¡¯t have to navigate across a bunch of directories.

That might also explain why opening the manual load window is a workaround: That accesses that JFIleChooser and might leave it in a different state.

I¡¯ll PR a change to protect against this error.

Bob

On Sep 2, 2024, at 1:29?PM, Gil Fuchs via groups.io <gfuchs3@...> wrote:

Meanwhile, going back to Bob's wish to investigate the underlying issue, I looked again at the exception stack trace (I admit I haven't browsed the source code yet). For an automated swing XML file load and deserialization, where the path is known apriori, I see no reason to use the JFileChooser mechanism. It is designed to let users browse and select files and requires certain resources to be available. Can this file be opened using the file system and the stream handle to be handed to swing to deserialize? In fact, I found the following which seems to be very similar and reporting the same exception:
swing - JFileChooser java.lang.IndexOutOfBoundsException: Invalid index - Stack Overflow
This is reported as a Java bug (at least for 1.8). Hence my conclusion is to avoid using JFileChooser in scenarios that do not mandate it.
¡ª
Bob Jacobsen
rgj1927@...


Locked Re: Regular reminders?

 

There are no plans to do monthly reminders.
Several topics are pinned to the top that may be useful.

--
Peter Ulvestad

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


Locked Re: JMRI 5.8 hangs when opening panels-tables automatically on startup. #startup

 

Creating a new profile and loading from a source that is not in OneDrive seems promising (I'm still testing and have a few other issues to sort out with the new profile before I can report results - such as references to missing panel icons, some exception about a duplicate ID in the signalhead tag etc.). I don't see why the program would have an issue with OneDrive, and if so, it should be fixed.
?
Meanwhile, going back to Bob's wish to investigate the underlying issue, I looked again at the exception stack trace (I admit I haven't browsed the source code yet). For an automated swing XML file load and deserialization, where the path is known apriori, I see no reason to use the JFileChooser mechanism. It is designed to let users browse and select files and requires certain resources to be available. Can this file be opened using the file system and the stream handle to be handed to swing to deserialize? In fact, I found the following which seems to be very similar and reporting the same exception:
?
?
This is reported as a Java bug (at least for 1.8). Hence my conclusion is to avoid using JFileChooser in scenarios that do not mandate it.
?
Regards,
?
Gil


Locked Regular reminders?

 

Just received my monthly reminders from a couple of email groups I¡¯m in, and I wondered if something similar would be useful here

Every time I want to open a new JMRI issue, or upload a new file, I have to resort to digging around to remember how I did it last time.

Both events are relatively rare

So a monthly reminder of such things would be a great help. Sure there could be other things that could do with stressing

Phil G


Locked Re: DAVID HUDSON'S RailModeller Pro .XML FILE to Panel Pro #railmodellerpro

 

David,

Thanks for the upload. ?I confirmed the errors in the export.

Please pass the following information to the developer.

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

An anchor point always has two connections. ?Each connection is linked to a track segment.

<positionablepoint y="137.5" ident="A2" connect1name="T1" type="ANCHOR" x="221.0" class="jmri.jmrit.display.layoutEditor.configurexml.PositionablePointXml"/>

The "positionalpoint" element for each anchor point is missing the "connect2name" attribute and value.

This results in all of the anchor points showing yellow connections instead of green connections.

Stub tracks should have an end bumper instead of an anchor point. ?For example:

<positionablepoint ident="EB2" type="END_BUMPER" x="423.6" y="238.3" connect1name="T89" class="jmri.jmrit.display.layoutEditor.configurexml.PositionablePointXml" />

The end bumper will only have the "connect1name" attribute and value.

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

Dave Sand