¿ªÔÆÌåÓý

Date

Locked dcclighting

 

I currently have a layout with dcc lighting for various objects like buildings and streetlights.? I have added to the lights table (ex. LL51, LL52) for the lights and i'm able to control them (on and off) thru that table on the computer. But I would like to add icons onto my decoder pro layout panel. Is there a way that I can place an icon like LL51 on the panel that I could click to turn on or off that light. Currently I'm using turnout icons but that creates other issues like unconnected tracks. I'm open for suggestions.?
Thanks, LD Johnsen 55337


Locked ERROR - Uncaught Exception while adding an ill formatted LCC HW address

 

Hey Guys,

Doing some OpenLCB programming. I was adding a turnout to the turnout table to later add to a panel. I added the following HW address (which is incorrect) "02.01.12.7F.5C.A4.00;02.01.7F.5C.A4.01". When I hit the "Create" button I get no induction from the system of the incorrect address and the uncaught error in the system console is produced.

When I correct format the address to "02.01.12.7F.5C.A4.00.00;02.01.7F.5C.A4.00.01", The highlighted information is what I added to make it correct, the system creates the entry in the table as expected. JRMI 4.19.2 in use but also tested in 4.18 produce the same result.

I think it is a bug but I will leave it your discretion.

2020-02-09 11:54:34,655 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2020-02-09 11:54:34,689 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\dlowe\JMRI\log\messages.log [main]
2020-02-09 11:54:34,691 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\dlowe\JMRI\log\session.log [main]
2020-02-09 11:54:34,698 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - PanelPro version 4.19.2+R846b684 starts under Java 1.8.0_241 on Windows 10 x86 v10.0 at Sun Feb 09 11:54:34 AEST 2020 [main]
2020-02-09 11:54:45,768 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - Starting with profile LCC.3ed42ca2 [main]
2020-02-09 11:54:46,159 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using jmri-opeJtagyWhOiaacFaMaaaP-3ed42ca2 as the JMRI storage identity for profile id 3ed42ca2 [AWT-EventQueue-0]
2020-02-09 11:54:46,234 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "CAN" [main]
2020-02-09 11:54:47,054 gridconnect.GcSerialDriverAdapter? ? ?INFO? - COM10 port opened at 57600 baud, sees? DTR: true RTS: true DSR: false CTS: false? CD: false [main]
2020-02-09 11:54:47,669 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is D:\Installed Programs\JMRI_19.2\ [main]
2020-02-09 11:54:47,669 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is C:\Users\dlowe\OneDrive\Train Project\JMRI_Profiles\LCC.jmri\ [main]
2020-02-09 11:54:47,670 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is C:\Users\dlowe\OneDrive\Train Project\JMRI_Profiles\LCC.jmri\ [main]
2020-02-09 11:54:47,670 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\dlowe\JMRI\ [main]
2020-02-09 11:54:47,670 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\dlowe\ [main]
2020-02-09 11:54:47,671 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is D:\Installed Programs\JMRI_19.2\jython\ [main]
2020-02-09 11:54:48,323 PanelPro.PanelPro? ? ? ? ? ? ? ? ? ? ?INFO? - Main initialization done [main]
2020-02-09 11:55:07,977 audio.JoalAudioFactory? ? ? ? ? ? ? ? INFO? - Initialised JOAL using OpenAL: vendor - OpenAL Community version - 1.1 ALSOFT 1.15.1 [Listed Table Generation]
2020-02-09 11:55:31,229 openlcb.OlcbAddress? ? ? ? ? ? ? ? ? ?ERROR - unexpected number of terms: 7 [AWT-EventQueue-0]
2020-02-09 11:55:31,229 openlcb.OlcbAddress? ? ? ? ? ? ? ? ? ?ERROR - unexpected number of terms: 7 [AWT-EventQueue-0]
2020-02-09 11:55:31,230 openlcb.OlcbAddress? ? ? ? ? ? ? ? ? ?ERROR - unexpected number of terms: 7 [AWT-EventQueue-0]
2020-02-09 11:55:31,230 openlcb.OlcbAddress? ? ? ? ? ? ? ? ? ?ERROR - unexpected number of terms: 7 [AWT-EventQueue-0]
2020-02-09 11:55:31,232 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.ArrayIndexOutOfBoundsException: 7
at jmri.jmrix.openlcb.OlcbAddress.toEventID(OlcbAddress.java:283)
at jmri.jmrix.openlcb.OlcbTurnout.finishLoad(OlcbTurnout.java:112)
at jmri.jmrix.openlcb.OlcbTurnoutManager.createNewTurnout(OlcbTurnoutManager.java:89)
at jmri.managers.AbstractTurnoutManager.newTurnout(AbstractTurnoutManager.java:102)
at jmri.managers.ProxyTurnoutManager.makeBean(ProxyTurnoutManager.java:50)
at jmri.managers.ProxyTurnoutManager.makeBean(ProxyTurnoutManager.java:1)
at jmri.managers.AbstractProxyManager.provideNamedBean(AbstractProxyManager.java:200)
at jmri.managers.ProxyTurnoutManager.provideTurnout(ProxyTurnoutManager.java:56)
at jmri.jmrit.beantable.TurnoutTableAction.createPressed(TurnoutTableAction.java:1769)
at jmri.jmrit.beantable.TurnoutTableAction$2.actionPerformed(TurnoutTableAction.java:1049)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2020-02-09 11:55:56,699 openlcb.OlcbAddress? ? ? ? ? ? ? ? ? ?ERROR - unexpected number of terms: 7 [AWT-EventQueue-0]

For yur consideration,
--

Dave, Brisbane Australia
dlowe30971@...?


Locked pickup and setout of locos in route #operationspro

 

Evening All,
I found the spot that allows me to assign single locos to a train. Is there anyway to pickup and set out in route?
Matt Greenwood


Locked Re: New JMRI Version breaks my panels #4-18

 

zip file uploaded


Locked Re: Clarifying expection

 

Hi Phil
Need a lot more information.
I take that you have:
Created a layout panel.
Set up all the blocks with sensors.
Driven the train round manually and all the right blocks went occupied unoccupied the train went round.
You put blocks into sections. (With direction sensors?).
Sections into transits. All set up as all fwd or all rev.
Added signals at all block boundrys. (Masts or Heads?)
All SML for masts or SSL for heads set up and working.
Dispatcher options set correctly.(using heads or masts must be set correctly).
If you use the train set up exactly as shown you are driving the train......drive the train manually through the transit and check the occupancy and signals.
Set to automatic.
Remove the back and forth and see if that works.
Then try B&F setting continious with a delay.

I normally recommend starting with 2 blocks, 2 section, 1 transit. Then if that works add one block and section at a time. Saves years of frustration. Stating with threes on the right track.
Steve G.


Locked Re: NCE Power Cab - USB Interface to JMRI #nce #powercab

 

¿ªÔÆÌåÓý

tylergrote,

On 9 Feb 2020, at 9:17 AM, tylergrote@... wrote:

Kept searching far and wide and?found an old thread where the connector boards for the PowerCab itself were bad. Showed a need to add some resistors or contract NCE for a replacement.

<>


I¡¯m going to attempt to contact NCE for a new piece of hardware and rare what happens.?

It appears NCE has been shipping PCPs without the resistors fitted. We suspect that this, combined with component tolerances in the NCE USB and/or Power Cab, may be the cause of the particular type of communication failure your log shows.

If NCE doesn't supply you with a resistor-fitted PCP (send us photos if you aren't sure) or want you to return one particular component for testing, insist on sending the entire setup (Power Cab, NCE USB, PCP, cables and power supply) and get them to make that entire combination work together. Just sending back one component and having them say "it works for us" is not a fair test. We have good reason to believe the issue relates to the interaction of slightly different components.

Dave in Australia




Locked Re: Clarifying expection

 

The sensors are working as the lines change colour as the train travels around the loop.? This all started as I was originally trying to get a second train to stop in the block before it runs into the train ahead of it. Any suggestions.? Phil


Locked Re: Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

 

Bob,

Pull request #8092 has been created to fix this issue.

For now, the work around is to edit the panel xml file and replace the short entry with a valid set.

During testing I ran into an issue with trying to use "Edit Signal Head Icon...". ? It displays a Family mismatch dialog. ?It took a lot of time ?to figure why this occurs.

A signal head has 9 appearances. ?When Held is included that is 10. ?The "TallMast" and "Dwarf" icon sets, which have 10 icons, are distributed with JMRI and will be the initial signal head icon sets in "catalogTrees.xml" if it is saved, along with other sets for turnouts, etc.

Most of the signal head types have 7 appearances plus held. ?They do not have ?Lunar and Flashing Lunar. ?As far as I know, only the "DCC Signal Decoder" includes the Lunar appearances.

When edit is selected, the code tries to verify the icon set by matching the icon's icon set with the available Family sets. ?Except for DCC Signal Decoder heads, 8 does not match 10 and the mismatch dialog occurs.

If lunar is not going to be used, a trick is edit the catalogTrees.xml file a remove the lunar entries. ?Now 8 matches 8. ?If a new set is created, it might need to be fixed.

I have an idea on fixing the mismatch detection code but that requires input from the Control Panel Editor experts.


Dave Sand



----- Original message -----
From: Bob England <rje.bob@...>
Subject: Re: [jmriusers] Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor
Date: Saturday, February 08, 2020 8:59 AM

Dave

?

That is good news!? Let me know what you find as the only thing I can figure out to fix this is to manually replace in the layout XML file all the signal head icons that have ¡°<incons />¡±, with any changes to the signal head icon being done manually too.

?

Keep us posted.

?

Thanks.

?

BobE

?

From: [email protected] [mailto:[email protected]] On Behalf Of Dave Sand
Sent: February 07, 2020 11:42 PM
To: [email protected]
Subject: Re: [jmriusers] Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

?

Bob, Cliff,

?

I believe I have found the bug that causes the lack of image icons for signal heads. ?Since I rarely work in the Control Panel Editor code, I need to do more research to confirm my findings.

?

Dave Sand

?

?

----- Original message -----

From: Bob England <rje.bob@...>

Subject: Re: [jmriusers] Panel Editor - Signal Heads not able to be Dragged and Dropped from Palette #paneleditor

Date: Friday, February 07, 2020 10:16 PM

?

DaveS / DaveH

?

Thanks very much for your comments.? Between your thoughts and CliffA's comments, I was able to migrate the icons.? The "Preferences" option did not show up previously, but when I physically deleted from the program directory the icon files, it showed up when JMRI asked what icon file to point to when it could not find the old file.? I've restructured the layout file with the icons on my J: directory.

?

Signal head icons are all still wonky, but at least now I?have the icon files in the proper place.

?

Thnks guys!

?

BobE

?




Locked Re: Clarifying expection

 

OK. I opened PanelPro and looked at blocks and noticed they were LB ( in Help) or IB? from there I assumed that might be his problem why his engine is not stopping as expected.

Me wrong.

Marc?


Locked Re: NCE Power Cab - USB Interface to JMRI #nce #powercab

 

Dave, thanks a ton for the response.?

Tried separate cables, and tried all ports. Still not luck, same symptoms.?

Kept searching far and wide and?found an old thread where the connector boards for the PowerCab itself were bad. Showed a need to add some resistors or contract NCE for a replacement. I¡¯m going to attempt to contact NCE for a new piece of hardware and rare what happens.?

Wish it was just me and there was an easy button. But it sure doesn¡¯t seem that way.?


Locked Re: Clarifying expection

 

Marc,

Blocks are always internal. ?Blocks derive their occupancy state from assigned sensors.

Dave Sand



----- Original message -----
From: forfoum@...
Subject: Re: [jmriusers] Clarifying expection
Date: Saturday, February 08, 2020 2:49 PM

Phil,? I see you posted you attachement as a Photo in Photos

IB are internal blocks, and I believe? not physical blocks on the layout or test track.? So you must trip these manually unless the IB1, IB3 have sensors attached to them.

Usually those physical to layout blocks would have LB (if Loconet)? or NB (If NCE).

Marc?


Locked Re: Clarifying expection

 

Phil,? I see you posted you attachement as a Photo in Photos

IB are internal blocks, and I believe? not physical blocks on the layout or test track.? So you must trip these manually unless the IB1, IB3 have sensors attached to them.

Usually those physical to layout blocks would have LB (if Loconet)? or NB (If NCE).

Marc?


Locked Re: Dec. Pro (4.18) and Easy DCC #easydcc

 

Cleaning the track before doing any programming is a recommended. The small currents, time factors and small contact patches involved require perfect conditions.

But " error reading " is totally different error than? " no ports found ".

Marc


Locked Re: Dec. Pro (4.18) and Easy DCC #easydcc

 

Thanks to all. ?I had copied a 20 Loco roster from Dec. Pro 4.10 to a newer computer running 4.18.
I just wanted to "Read from the Decoder" to confirm that this version was working well for me.
I established the correct Com port and now I'm OK but special thanks to Edward Klein. ?
I more thoroughly cleaned the?programming track ?and 4.18 is working well.

Regards,
Ed Woz.


Locked Re: Program stalls.

 

I concur, I have Windows 10 and never let it go into sleep mode while JMRi is running or at all, and always?shut down
JMRI when leaving computer for any length?of time. I have had terrible things happen when this is ignored.

Bob Campisi

On Sat, Feb 8, 2020 at 12:06 PM dick bronson via Groups.Io <dick=[email protected]> wrote:

PJ,

You have not given us anything to work with, but one common issue is that Windows will disconnect the serial ports if it goes to sleep. JMRI does not know how to get them going again when Windows wakes up again. The answer is simple. Don't do that. I.e. don't let Windows shut down when there is no activity, or at least set the time before snoozing to a long time with no activity.

Dick :)

On 2/8/2020 9:26 AM, whmvd wrote:
PJ,

Please also elaborate as much as you can on what you mean when you say 'stalling'. Is it slowing down? If so: WHAT is slowing down? Is it stopping completely? If so: is that sudden or is response (in controlling a train or maybe a panel) getting progressively slower before grinding to a halt?

We must seem a collection of pedants, but, really, getting to grips means getting as clear an idea on what goes on as you can possibly give.

Wouter

On Sat, 8 Feb 2020 at 12:45, Phil in gorgeous Young Harris via Groups.Io <philabernathy=[email protected]> wrote:
PJ, I'm afraid that the description and details are too vague to get a specific answer.? I suspect that troubleshooting will have to involve changing things on that computer such as scripts or panels that are run from the start.?

For example, I suspect that "runaway" scripts with endless loops are the most common issue of a working JMRI that seems to be "stalling" but really, is just too busy to take input from you.? Really bad endless loops can overflow the memory on the computer and actually lock up the computer too.? I have not seen Logix cause that issue, but I have not seen it all, and am not an expert in that.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: Program stalls.

 

¿ªÔÆÌåÓý

PJ,

You have not given us anything to work with, but one common issue is that Windows will disconnect the serial ports if it goes to sleep. JMRI does not know how to get them going again when Windows wakes up again. The answer is simple. Don't do that. I.e. don't let Windows shut down when there is no activity, or at least set the time before snoozing to a long time with no activity.

Dick :)

On 2/8/2020 9:26 AM, whmvd wrote:

PJ,

Please also elaborate as much as you can on what you mean when you say 'stalling'. Is it slowing down? If so: WHAT is slowing down? Is it stopping completely? If so: is that sudden or is response (in controlling a train or maybe a panel) getting progressively slower before grinding to a halt?

We must seem a collection of pedants, but, really, getting to grips means getting as clear an idea on what goes on as you can possibly give.

Wouter

On Sat, 8 Feb 2020 at 12:45, Phil in gorgeous Young Harris via Groups.Io <philabernathy=[email protected]> wrote:
PJ, I'm afraid that the description and details are too vague to get a specific answer.? I suspect that troubleshooting will have to involve changing things on that computer such as scripts or panels that are run from the start.?

For example, I suspect that "runaway" scripts with endless loops are the most common issue of a working JMRI that seems to be "stalling" but really, is just too busy to take input from you.? Really bad endless loops can overflow the memory on the computer and actually lock up the computer too.? I have not seen Logix cause that issue, but I have not seen it all, and am not an expert in that.

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: Program stalls.

Jon Miller
 

¿ªÔÆÌåÓý

On 2/8/2020 9:17 AM, PJ via Groups.Io wrote:
At this time it will now work again for a couple hours. -- This never happens on my computer on my layout. The programming is the same on both.

??? If everything is identical on both computers I would blame the computer!

-- 
Jon Miller
For me time stopped in 1941
Digitrax  Chief/Zephyr systems, JMRI User
SPROG User
NMRA Life member #2623
Member SFRH&MS


Locked Re: Operations manifest printing #operationspro

 

Hi Phil,
It is an older Acer laptop with Windows 10 Home installed.
The default printer is shown as the TS6120.?? The same port is being used for all the printer jobs.

I just selected preview, clicked on preview and was able to print the manifest from that window.
I then unchecked preview, clicked on the print button and it just hung again.?? Print queue showing printer is connected and printing through the same port as the other print jobs.

Not a big problem, as I can work with it using the checked preview box and printing from preview.
It's just that when terminate a warning comes up that the manifest hasn't been printed.
I just click yes and carry on.??? Seems to work fine using this system.



Locked Re: Operations Feature Request #operationspro

 

Thanks Dennis,
I didn't realize the DS and Clerk were in two different locales around here we don't have the luxury of having that many operators. If we can get the feature without it being mandatory for operations it sounds like a good idea.One of the problems I run into when teaching someone new is trying to get them to start simple then go for the neat stuff after they learn the basics. The most of the calls I get is from newbies wanting to run schedules, alt. tracks and some of the other things that are great about this program when they have never even built a single train. The biggest thing we as experienced operators with JMRI is to teach the newbies is the KISS method and help them to get up and running before taking them off the deep end of the pool. I think it would be great if we had weekly or so online training course to help newbies learn the program from simple data entry to the complex componets in scheduling and other ideas. I have been fooling around with JMRI for 10 years or so and still am learning new things all the time. I for one would welcome beginer and advanced seminars on JMRI at conventions and train shows. Here in Nebraska we are scattered all over the place and far apart we learn online but sometimes we just have to go hands on in person.
?Sorry this rambles.
Just my thoughts helping newbies and experienced operators with JMRI
This is a great program, Thanks
Matt Greenwood
Cascade Rwy
Grant NE?


Locked Re: Program stalls.

 

By stalling I mean it freezes. I put the mouse on a switch to turn it and nothing happens. I try to bring the main menu up to shut down and nothing happen. I have to shut the computer down wait 10 or so seconds, restart the computer and the restart the Panel Pro. At this time it will now work again for a couple hours. It¡¯s frustrating during an op session. This never happens on my computer on my layout. The programming is the same on both.

PJ