¿ªÔÆÌåÓý

Date

Locked Re: Virtual Sound Decoder: Throtttle Function keys don't do anything #vsdecoder

 

Which JMRI version are you using?

--
Peter Ulvestad

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


Locked JMRI Auto Run On Boot Up #rpi

 

Can anyone help a Noob with setting up a Pi to run PanelPro on boot up?.. I have attempted to use Steve Todds routine but have failed unmercifully..
Thanks In Advance,
Dave


Locked Dual withrottle #withrottle

 

I am very new to all this and going through a steep leaning curve with JMRI so please bear with me, I have finally got my WiThrottle connected and I can run a loco from my roster. I¡¯ve now got the dual throttle up and one loco running as soon as I set the second loco to run it¡¯s starts under control but the first one stops dead. What am I doing wrong, have I not ticked a box somewhere. Glad of any help.
Roy


Locked Virtual Sound Decoder: Throtttle Function keys don't do anything #vsdecoder

 

I got everything working on a Raspberry Pi and on my Windows laptop. I finally figured out how to link the JRMI throttle to the VSD. When I move the throttle up, the engine sound revs up, but the function buttons don't do anything. I can press horn and bell, etc., on the VSD window and it works, but hitting F1, F2, F3 does nothing. Do I have to set something up on the Throttle?


Locked Re: Opening a panel window for a fixed size

 

Bob,

Do the two windows have different Panel names? ?What version of JMRI are you running?

Dave Sand


----- Original message -----
From: Robert Schworm <rkschworm@...>
Subject: Re: [jmriusers] Opening a panel window for a fixed size
Date: Saturday, January 11, 2020 11:52 AM

Thank you I am still wondering how to open two windows of different sizes each holding a panel I can't seem to figure out how to set the window sizes and positions on the screen so that jmri will remember it.
Bob


Locked Re: Errors after loading panel and running script #cmri #4-18 #cpnode

 

Uploading the panel to the 'Problems being worked on' files area would help.

--
Peter Ulvestad

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


Locked Re: Opening a panel window for a fixed size

Robert Schworm
 

Thank you I am still wondering how to open two windows of different sizes each holding a panel I can't seem to figure out how to set the window sizes and positions on the screen so that jmri will remember it.
Bob


Locked Re: Problem running a list of scripts (Jython) #scripting

 

Problem resolved! Once I edit the files to all have correct CR/LF pairs, they run fine. I'll delete the folder from the "Problems being worked on".

Scott Walton


Locked Errors after loading panel and running script #cmri #4-18 #cpnode

 

Hello again everyone,

As a follow up to my previous message regarding an intermittent issue with an initialization script failing after upgrading from 4.14 to 4.18, I decided to take a look at another panel I'm working on.? I've uploaded the panel file, error log and script to a folder called Smoke Creek Industrial in the problems being worked on folder.? This is another layout using the cpNode based C/MRI system.? In this case the panel loads and the script initializes the layout but does contain errors that I don't understand.? Again, the panel loaded correctly and the script ran to what appeared to be completion but then halted with errors.? One thing I'll point out is this line in the log:

2020-01-11 09:23:53,227 jython.RunJythonScript??????????????? ERROR - Unable to execute script. [AWT-EventQueue-0]
javax.script.ScriptException: jmri.NamedBean$BadSystemNameException: jmri.NamedBean$BadSystemNameException: "CSTurnout 11 Lever" must be an integ

There is no CSTurnout 11 Lever in the turnout table.? In addition, this is a script that comes with the JMRI release with no additions.? Again, thanks in advance.

Cheers, Dennis Drury
Dayton, NV


Locked Re: Roster media? #rosterimage

 

Marc,
I¡¯m sorry you and Terry now have this problem but it¡¯s nice to know I¡¯m not nuts ( or more nuts).
--
Mike Heintzman
Modeling the P&PU since 1953


Locked Re: Intermittent initialization script crash after upgrading from 4.14 to 4.18 #4-18 #scripting

 

Hello Cliff,

Thanks for getting back to me.? Yes, I should have mentioned the C/MRI connection as that's where it appears the errors are coming from.? Mea Culpa.? In the interest of full disclosure there are three connections to the layout; Digitrax LocoNet via a PR3, a cpNode based C/MRI system, and a SPROG.? I have two profiles for this system, one for offline and the other when running the layout.? I'll reply to your points inline below.

On Fri, Jan 10, 2020 at 8:42 PM Cliff Anderson <cliffaa@...> wrote:

Dennis,

Thus far, there are several issues in your Panel file that make it difficult for us to provide help.

  1. Only by reading your log file cautiously can we figure out that the primary connection is to LocoNet, but also you have a secondary connection to C/MRI. It would have been helpful to inform us about those connections. Since I know almost nothing about C/MRI, chances are that I would have waited for others to come to your aid. Perhaps you would have teased their interest with that kind of information.

Yes, I should have stated this connection in my original email.? The cpNode based C/MRI system is for block detection and for controlling the signals and turnouts for the CTC system.
  1. My copy of the session.log file contains 40 messages like WARN - Sensor CS11017 refers to an undefined Serial Node and 85 messages like WARN - Turnout 'CT11001' refers to an undefined Serial Node.

    • Your "SP KF Sub error log.txt" contains some of these warnings, but it appears that the script has been started automatically and perhaps more of them would have shown up if the script were delayed.
Yes, these are the messages when the script halts.? I will again point out this is an intermittent problem that only started occurring after the 4.18 upgrade.? I never had this issue with 4.14.? I'll also note that in a previous crash it was node 12 that did not initialize.? In this case it was node 11.? The script does not start automatically, I open the panel file then manually start the script.

  1. The panel attempts to load twelve non-existent icon files which cause log message identifications similar to: INFO - PositionableLabel removed for url= program:resources/icons/USS/plate/base-plates/misc/TowerWhtLg.gif but this indicates a more important problem.

    • Your personal icon files must be saved in your personal JMRI data folder. Anything saved in the program folder will get overwritten by the next JMRI update.
I know these files get overwritten when I upgrade JMRI but I know what they are and how to get them into the correct folder after the upgrade, and since I also work on many different panels it makes sense, at least to me, to keep them in one place.? FYI, all but one of these icons were in a previous version of JMRI (3.xx maybe), then they vanished after an upgrade in the past.

  1. Attempting to run, much less debug, any script with a Panel that loads with warning or error messages is usually futile, or at least is beyond my threshold of pain.

Beyond my threshold in understanding as well which is why I posted the original message.? BTW, I'm not sure why your paragraph numbering system is getting hosed in my reply.
  1. It is strongly suggested that you learn how to use the information provided for for JMRI scripts. Sprinkle lots of messages to help understand what got executed and what did not.

Not really sure what you're suggesting here.? I'm not a software person so I really don't know how to create scripts.? Instead I modified one that comes with JMRI.
  1. A complicated script acting on a complicated panel takes the super powers of Dave Sand or a few others on this list. A common technique for zeroing in on an error is to build as simple a panel as possible and use as simple a script as possible.

I don't consider this a complicated panel or script.? If you want to see a REALLY complicated panel I have a couple I could show you.

Cliff in Baja SoCal

South of San Ysidro?? As another bit of background I worked for the Southern Pacific in both the signal and engineering departments for a while and I also supervised the installation of a CTC system on a railroad in Colombia, so I know the prototype.? I would also like to mention one more time this is an intermittent issue and doesn't really bother me that much, I just thought I'd bring it up so the developers know it's there.? I wonder if this might be related to the C/MRI communication issue that was in 4.16 but I'm in no way certain about that.? Thanks again for the help.

Cheers, Dennis Drury
Dayton, NV


 

Splasher,

On 12 Jan 2020, at 1:49 AM, splasher <steve@...> wrote:

like the 12 train limit for PowerCabs
That's in the Specifications panel of the NCE manual for the Power Cab.

and that JMRI sees a PowerCab as three pieces (ProCab, command station & booster) was all news to me.
It's not just JMRI seeing it that way, it's the way the Power Cab is designed and made. If you plug a Power Cab into the cab bus of another DCC system, the Pro Cab part starts up immediately but the command station sees the other command station and stays shut down, allowing your Power Cab to act as a dumb (slave) Pro Cab.

Dave in Australia


Locked Re: JMRI works then doesn't #nce #powerpro

 

Ken,

On 11 Jan 2020, at 11:23 PM, Ken Cameron <kcameron@...> wrote:

Take a look at the NCE USB when it stops. I suspect one of two leds will be
locked on. Which one will tell something about which side had the lockup
issue. Dave will have more clues.
Mark has a Power Pro, not an NCE USB based system.

Dave in Australia


Locked Re: JMRI works then doesn't #nce #powerpro

 

Mark,

On 11 Jan 2020, at 11:12 PM, Mark Lutz via Groups.Io <markie97@...> wrote:

My JMRI is connected to my NCE Power Pro through a USB to serial port. Communications work at first then after about 10 to 20 minutes communication stops, It will not even disengage from programming on the program track. Any idea as to the most likely cause. I believe it is probably a hardware problem. Happens with two different computers so its probably not that.
I see this occasionally with my Power Pro, particularly when doing a Read All with decoders having many CVs. In this case I simply leave JMRI running, switch off the Power Pro for a few seconds and then back on again.

Sometimes the problem is just a glitch with the Power Pro, at other times it's caused by a known (but as yet unresolved) race condition with certain decoder settings variables in JMRI code. The workaround is to:

1) Use "Read Full Sheet" on the CVs pane instead of "Read All Sheets". It is less likely to cause errors when reading a decoder with lots of CVs.
Once finished, some may be missed (displayed in red). Use "Read Changes on Sheet" as many times as needed until no red items remain.
(Hint: Click on the Status column in the CVs pane until you see a down arrow. All the Red items will then be at the top.)

2) After you make changes on a programming sheet, don't use Write/Read changes on that programming sheet. Instead, switch to the CVs pane and use Write/Read changes on (the CVs) sheet. The result is the same but it will never trigger the race condition.

Dave in Australia


 

Dave in Australia,
Thanks for the response, some of it I expected; some, like the 12 train limit for PowerCabs and that JMRI sees a PowerCab as three pieces (ProCab, command station & booster) was all news to me.
I always find your responses informative and I appreciate them as I generally learn something.

-splasher in somd


Locked Re: "Output Matrix Mast" - only 6 lamps #signalmasts

 

The BR system with feather could require eleven without getting in to the complexities of route indicator boxes, but 'The whole chicken' just does not happen in practice, and a model is very unlikely to approach Nuneaton levels of complexity:-



This mast (one feather short of the full chicken, the most complex I know of) would require 14 lamps, it has six high(ish) speed routes and three restricting speed routes.


Locked Re: "Output Matrix Mast" - only 6 lamps #signalmasts

 

B&O Position Light signals will need ten lamp groups for a fully populated mast, and I think some Pennsylvanian double head position lights might need ten as well. I can't think of any scenario off the top of my head with more than ten lamp groups on a single mast.

The original history of this driver was to drive a hardware decoder that converts aspects to lamps, rather than drive the lamps direct, hence 64 aspects was considered overkill at the time. The Canadian system with its 32 aspects was considered to be the most complex system to implement this way. Upping the capacity to ten outputs does extend the the use of the matrix driver and reflects how it is (unexpectedly) being used in the field so will probably be a boon.


Locked Re: JMRI works then doesn't #nce #powerpro

 

Mark,

Take a look at the NCE USB when it stops. I suspect one of two leds will be
locked on. Which one will tell something about which side had the lockup
issue. Dave will have more clues.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


Locked JMRI works then doesn't #nce #powerpro

 

Hello;
My JMRI is connected to my NCE Power Pro through a USB to serial port. Communications work at first then after about 10 to 20 minutes communication stops, It will not even disengage from programming on the program track. Any idea as to the most likely cause. I believe it is probably a hardware problem. Happens with two different computers so its probably not that.
Thank you,
Mark


Locked Re: "Output Matrix Mast" - only 6 lamps #signalmasts

 

A position light signal has the max possible of 9 different marker light
options. I think some would be mutually exclusive, I've seen pictures with 3
or 4 different markers. Now combine that with it being a dual position
light, that does give a max of something like 26 in count between light
aspect (vertical, horizontal, slant right, slant left) plus the two sets of
nine. Way overkill, beyond prototype, but just trying to guess a worst case
ever.

A number of outputs like that should cover the worst case of feathers for
the BR signals, you'd have a whole chicken up there! But Suzie would know
best on that case. Thinking in a crazy way gets us the large number, then
question then becomes what internal strife would such a large number present
to the code or users? Think you could spell the alphabet with that one.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org