开云体育

Date

Help learning automation #automation

 

Hi All,
? I decided 3 months ago today to 'dive' into DCC based model railroading for the first time, though I've know about it for 25+ years.? I figured
getting started was the best way- and I have a long shelf along the wall behind my home standing desk that I envisioned as the main line for sort of a dog-bone layout.?
? So.. I dove into n scale, Digitrax, Kato Unitrack, and have my training layout built (already on Version2 of it - as you all alluded to here!).? My layout has 16 blocks (BXP88 controlled), 1 auto rev section, one double crossover, about 10 turnouts (all with DS15k1s - don't get me started on that learning curve with BXP88s and shunt resistors).? Scenery is a future vision, after I really understand operations.
?
And on to this email. I have installed JMRI - I am a Mac guy , so this is running on Mac Mini.? I have PanelPro running, talking to my LocoNet layout. I built the layout in layout editor, declared all the blocks, turnouts etc. I used the roster editor to enter my 3 engines (one is a consisted F7A-B unit).. And lots of learning - at the basic level I am up an running. I can run trains via throttles in JMRI, and blocks light up and turnout throw - that's all awesome , it was my first goal 'run trains from SW'.
?
However, the NEXT step looks like a really steep learning curve - creating, routes, trains, manifests, and operations.? My next goal is that JMRI can run trains on routes I create, and manage them simultaneously - an automated operations setup.? I watch all the videos I can (not too encouraged by what I find on YouTube), and I joined this group a month or two ago which has been great.?
?
So my ask is this - any other tutorials, pointers, help with this next part of the journey?? ?Advice, hints, and help greatly appreciated.?
-Peter
?


Re: Upgrading #upgrading

 

开云体育

I see how it used to be in C:\Program Files\JMRI, which isn’t right. You now have the correct path of C:\Program Files (x86)\JMRI. As I understand it, the system expects things in the first path to be true 64bit programs and the second path being 32bit programs. Exactly how that works I’m not sure anymore. But just going with the default is the better path.

?

It is behaving ok now?

?

-Ken Cameron, Member JMRI Dev Team

?

?


Locked File /messages.zip uploaded #file-notice

Group Notification
 

The following items have been added to the Files area of the jmriusers@groups.io group.

By: Inspectordave <inspectordave51@...>

Description:
Files on the issue updating from 5.6 to 5.10. I think I see the problem. My file location for JMRI was C:Program files JMRI When I loaded it in the X86 that is when the problems were resolved. However when using version 5.6, those files were in the C:Program files JMRI folder. Thoughts are appreciated.


Re: Upgrading #upgrading

 

Ken, I placed a zip of the messy log files in the files folder like you suggested.
Thank you
Inspector Dave


Re: Upgrading #upgrading

 

Oops. I apologize… i used the wrong email chain.
Cheers
Geo

On Mar 5, 2025, at 22:17, Peter Ulvestad via groups.io <ulvestad@...> wrote:

?Georgia,
You appear to be responding to the wrong topic thus hijacking this one.

Please make your responses to your original topic.

--
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: Upgrading #upgrading

 

Georgia,
You appear to be responding to the wrong topic thus hijacking this one.

Please make your responses to your original topic.

--
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: Upgrading #upgrading

 

开云体育

You said you used 50:1 for the starting point. But later you mention switching between the PH5 and the PowerCab. What address did you set when using the PowerCab? It only works for cab 3 to 10.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Upgrading #upgrading

 

开云体育



First question, does the ‘Show Cabs’ show the existence of the AIU? This is proving the address on the cab bus.


I’ll check this tomorrow evening after work.?

?

Second question, in JMRI, when you created a sensor, which form of hardware address did you use: your calculated value or the form of cabid:pin#?

I created the sensors by inputting 50:1 thru 50:14 and 51:1 thru 51:14 by selecting the first sensor and the clicking on: create 14 in the series. this created 28 sensors. I tied these to the associated blocks . When i manually set any of the sensors to active, ?the blocks display properly on the layout editor.?

The second form insures the right value for the sensor.

?

Third, does the LED on each AIU pin show a change of dark to lit??

All AIU ports 1 thru 14 on both AIUs are using BD20s for current detection. Note: when i utilize my NCE PowerCAB everything works perfectly. It’s only when i swap out the PowerCab with the PowerPro that i lose all the AIU reporting data. This proves to me the AIUs and BD20 are operating properly and that the problem lies in either the PowerPro sending AIU data or JMRI receiving data AIU data from a PowerPro unit.?

?

Fourth, which devices are tied to the AIU board?

NCE BD20s on all ports.?

Cheers
Geo




On Mar 5, 2025, at 20:56, Ken Cameron via groups.io <kcameron@...> wrote:

?

Georgia,

?

Now you have a good version that should be able to read, we now can go deeper on how JMRI is or isn’t seeing the AIU.

?

First question, does the ‘Show Cabs’ show the existence of the AIU? This is proving the address on the cab bus.

?

Second question, in JMRI, when you created a sensor, which form of hardware address did you use: your calculated value or the form of cabid:pin#? The second form insures the right value for the sensor.

?

Third, does the LED on each AIU pin show a change of dark to lit?

?

Fourth, which devices are tied to the AIU board?

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Upgrading #upgrading

 

开云体育

Georgia,

?

Now you have a good version that should be able to read, we now can go deeper on how JMRI is or isn’t seeing the AIU.

?

First question, does the ‘Show Cabs’ show the existence of the AIU? This is proving the address on the cab bus.

?

Second question, in JMRI, when you created a sensor, which form of hardware address did you use: your calculated value or the form of cabid:pin#? The second form insures the right value for the sensor.

?

Third, does the LED on each AIU pin show a change of dark to lit?

?

Fourth, which devices are tied to the AIU board?

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Upgrading #upgrading

 

开云体育

Hi, i’ll send everything over the weekend.?
I completed the firmware update; now reads jan 5 2025. NCE system is working fine but still no joy on the AIU signal data. ?I reset everything, rebooted tried a few times no go. ?I even deleted all the sensors in the sensor table and created new ones. Didn’t help.?
Cheers

Capt Georgia Hilton
USCG Instructor?
Maritime Professional Training
Ft Lauderdale, FL
917-279-4413
GHilton@...
CaptainGeorgia.com



On Mar 5, 2025, at 18:57, Ken Cameron via groups.io <kcameron@...> wrote:

?

One idea I have to help figure this sort of thing out is to make a zip of the log directory in JMRI then upload it to the website files under ‘problems being worked on’ for us to review.

?

Two things would come from that. First where you were working last. What version of Java etc… It may also record some issue on trying to start that might give a clue too.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Upgrading #upgrading

 

开云体育

One idea I have to help figure this sort of thing out is to make a zip of the log directory in JMRI then upload it to the website files under ‘problems being worked on’ for us to review.

?

Two things would come from that. First where you were working last. What version of Java etc… It may also record some issue on trying to start that might give a clue too.

?

-Ken Cameron, Member JMRI Dev Team

?

?


Re: Upgrading #upgrading

 

That did it Dave. many thanks. Now I might be bothering you about a dispatcher issue soon.
Thanks again
Inspector Dave


Re: Error message “Could not locate configuration file default_lcf.xml

 

You should post the whole console output, not just what you think is pertinent.

--
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: Error message “Could not locate configuration file default_lcf.xml

 

Thank you very much, Dave.
?
Here's the output from the System console. version 5.5.3
?
19:36:13.443 [AWT-EventQueue-0] ERROR jmri.util.exceptionhandler.UncaughtExceptionHandler - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler
java.lang.NullPointerException: null
? ? at java.io.File.<init>(File.java:278) ~[?:?]
? ? at jmri.jmrit.XmlFileLocationAction.getLocationsReport(XmlFileLocationAction.java:162) ~[JMRI/:?]
? ? at jmri.jmrit.XmlFileLocationAction.actionPerformed(XmlFileLocationAction.java:133) ~[JMRI/:?]
? ? at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) ~[?:?]
? ? at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) ~[?:?]
? ? at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) ~[?:?]
? ? at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) ~[?:?]
? ? at javax.swing.AbstractButton.doClick(AbstractButton.java:374) ~[?:?]
? ? at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1028) ~[?:?]
? ? at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1072) ~[?:?]
? ? at java.awt.Component.processMouseEvent(Component.java:6626) ~[?:?]
? ? at javax.swing.JComponent.processMouseEvent(JComponent.java:3389) ~[?:?]
? ? at java.awt.Component.processEvent(Component.java:6391) ~[?:?]
? ? at java.awt.Container.processEvent(Container.java:2266) ~[?:?]
? ? at java.awt.Component.dispatchEventImpl(Component.java:5001) ~[?:?]
? ? at java.awt.Container.dispatchEventImpl(Container.java:2324) ~[?:?]
? ? at java.awt.Component.dispatchEvent(Component.java:4833) ~[?:?]
? ? at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) ~[?:?]
? ? at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) ~[?:?]
? ? at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) ~[?:?]
? ? at java.awt.Container.dispatchEventImpl(Container.java:2310) ~[?:?]
? ? at java.awt.Window.dispatchEventImpl(Window.java:2780) ~[?:?]
? ? at java.awt.Component.dispatchEvent(Component.java:4833) ~[?:?]
? ? at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) ~[?:?]
? ? at java.awt.EventQueue$4.run(EventQueue.java:720) ~[?:?]
? ? at java.awt.EventQueue$4.run(EventQueue.java:714) ~[?:?]
? ? at java.security.AccessController.doPrivileged(AccessController.java:399) ~[?:?]
? ? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) ~[?:?]
? ? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) ~[?:?]
? ? at java.awt.EventQueue$5.run(EventQueue.java:747) ~[?:?]
? ? at java.awt.EventQueue$5.run(EventQueue.java:745) ~[?:?]
? ? at java.security.AccessController.doPrivileged(AccessController.java:399) ~[?:?]
? ? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) ~[?:?]
? ? at java.awt.EventQueue.dispatchEvent(EventQueue.java:744) ~[?:?]
? ? at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
? ? at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
? ? at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
? ? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
? ? at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
? ? at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
?
?


Re: Upgrading #upgrading

 

Dave,

You might try doing a clean JMRI install.
  1. Remove JMRI using the Windows control panel.
  2. Remove the left over JMRI directory at C:\Program Files (x86).
  3. Reboot.
There should be no JMRI icons on the desktop.

Install JMRI 5.10

Dave Sand


----- Original message -----
From: "Inspectordave via groups.io" <inspectordave51=gmail.com@groups.io>
Subject: Re: [jmriusers] Upgrading #upgrading
Date: Wednesday, March 05, 2025 1:39 PM

Dave, thanks for replying. Standard JMRI defaults as to the downloading.?
I just tried run as administrator, same thing. Tried 5.8, same thing, will not open.
Reinstalled 5.6 and life is good. I need 5.10 because another layout I'm helping had his dispatcher break as far as when trains were supposed to stop, and I need to be on the same version so I can troubleshoot that issue here.
Thanks Dave
Inspector Dave


Re: Upgrading #upgrading

 

Dave, thanks for replying. Standard JMRI defaults as to the downloading.?
I just tried run as administrator, same thing. Tried 5.8, same thing, will not open.
Reinstalled 5.6 and life is good. I need 5.10 because another layout I'm helping had his dispatcher break as far as when trains were supposed to stop, and I need to be on the same version so I can troubleshoot that issue here.
Thanks Dave
Inspector Dave


Re: Upgrading #upgrading

 

Dave,

Are these standard installs using the defaults including for all users. ?Is the Windows user doing the install an administrator?

Dave Sand


----- Original message -----
From: "Inspectordave via groups.io" <inspectordave51=gmail.com@groups.io>
Subject: Re: [jmriusers] Upgrading #upgrading
Date: Wednesday, March 05, 2025 1:11 PM

I'm sorry, exe file. I just tried 5.8 and the same thing happens. Hourglass then nothing. Windows 10 is the OS.
Thanks
Inspector Dave


Re: Upgrading #upgrading

 

I'm sorry, exe file. I just tried 5.8 and the same thing happens. Hourglass then nothing. Windows 10 is the OS.
Thanks
Inspector Dave


Re: Operations & Consist #operationspro

 

Jim,
?
If you ask in OperationsPro for 3 locomotives, that can be 3 locomotives in a consist.? A consist is just a group of locomotives that work together.? There's also the option of having the program place 3 individual locomotives together to form a new consist.? Requesting one locomotive never equals three locomotives in a consist.? Requesting one locomotive is exactly that, one locomotive and no more.
?
?
Dan


Operations & Consist #operationspro

 

When you consist in JMRI Ops does the requirements for a train change ? Another word If a train requires one locomotive and you consist three in JMRI Operations that equals one it's happy because they are consisted. If the train requires three and they are not consisted it would have to be three individual loco's ? My question is how does consisting play into train requirements as far as the count of Loco's for train.?
Thanks JimK