¿ªÔÆÌåÓý

Date

 

splasher,

On 11 Jan 2020, at 7:33 AM, splasher <steve@...> wrote:

Running JMRI 4.18 on Raspberry Pi 3B+ with NCE PowerCab 1.65B, NCE USB and AIU-01.
In PanelPro, NCE->Show Cabs lists the active cabs as 2:ProCab, 8:AIU & 9:USB as expected (I guess it makes sense that the PowerCab is listed as a ProCab).
The Power Cab consists of two parts:
- A Pro Cab
- A command station and booster mounted on the same board.

If you run EngineDriver on two phones, only the loco on the last mobile device used shows up in the Show Cabs list.
That is correct. JMRI throttles all communicate with the NCE Command Station via a single shared Computer Cab Context Page.

A side-benefit of this is that you can have more JMRI throttles than the NCE Cab Bus Address system allows.

There is a limit on the number of simultaneous trains moving and for a Power Cab that is 12 trains with a non-zero speed on the throttle. (That is set by the size of the track queue in the Power Cab.

Is it possible to see a line for each phone and if the phone is controlling more than 1 loco, displaying multiple locos would be great.
The Show Cabs command is only reading the Cab Context Pages and as you see, the last command via JMRI erases the previous entry.

Dave in Australia


Locked Re: Roster media? #rosterimage

 

I resolved my issue by working on Win10's File Explorer.?? Now the Drag and Drop works.

The session log is void of any details pertaining to the DnD issue.? Worked on this on/off till I got the DnD working. The session log showed no errors or messages at all since 19:31.

Only PITA is I do not have a clue what exactly/specificaly resolved the issue but I can say I spent all my time in File Explorer settings? and the DnD started to work.

Will uninstall/ reinstall JMRI and try to replicate again.

When the problem was occurring, DnD would work in Windows itself? as I used DnD to move the images from USB drive to Hard drive, pictures folder.
No matter from where I tried to DnD the image file,? within DecoderPro it would not complete the task.

Unfortunately the problem is not present? when I re-installed JMRI 4.18.

False hope

Marc


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

 

I think it¡¯s just a bit of history.

Let me take a look at what it would take to go to nine. Are there any signals that need more?

Bob

On Jan 10, 2020, at 9:47 AM, mey-jmri@... wrote:

Is there a good reason that the "Output Matrix Mast" can only control 6 lamps? A german combined exit and distant signal can have up to 9 lamps (signal system DB HV 1969). Would be nice to control all 8 aspects via one signal mast.

Eckart
--
Bob Jacobsen
rgj1927@...


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

 

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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

Cliff in Baja SoCal


Locked Re: RR-Cirkits Motor Man vs DCC Specialities Jack Wabbit

 

Scott,

Thank you for your comments.? They are very helpful.

Mike Davis
Arnold, MD


Locked Re: Roster media? #rosterimage

 

So sorry Marc, It does kind of defy all reasoning! I drag and drop files, and photos all the time but just within my computer. Dragging and dropping to another program was new for me! What you describe is exactly what I have been dealing with.?


Locked Re: Making VSD Files and Config - Volume question #vsdecoder

 

Ok, I'm getting closer, but have something simple mixed up somewhere.? I have modified my code and the new code looks like this:
"...
??? <sound-event name="ENGINE" label="Throttle" buttontype="ENGINE">
????? <trigger name="ENGINE_STARTSTOP" type="THROTTLE">
??????? <event-name>F8</event-name>
??????? <target-name>ENGINE</target-name>
??????? <action>NOTHING</action>
????? </trigger>
????? <trigger name="ENGINE_NOTCH" type="THROTTLE">
??????? <event-name>SpeedSetting</event-name>
??????? <target-name>ENGINE</target-name>
??????? <action>CHANGE</action>
????? </trigger>
????? <trigger name="ENGINE_STOP" type="FLOAT" valtype="FLOAT">
??????? <event-name>SpeedSetting</event-name>
??????? <target-name>ENGINE</target-name>
??????? <match>0.0</match>
??????? <compare-type>LT</compare-type>??
??? ??? <action>STOP_AT_ZERO</action>
??????? <!--action>STOP</action-->
????? </trigger>
??? </sound-event>
..."

The F8 key does indeed stop and start my prime mover but it only starts when the speed is 0 but will shutdown anytime I press F8.? I commented out the action>STOP< line and I added the STOP_AT_ZERO.

I am also having to rebuild my Roster every time I start JMRI because I find no engines in the Roster until I do that.? I don't know if that is related to the VSD and when I saved to the Roster, because when I wanted to test a different vsd file, I went into the Roster/Media and deleted the values for the VSD file location and profile so that I could attach a new file and profile to that loco. That is, after making changes to the config file then attempting to test it, I could not find any way to modify what file it looked at (once I saved it to the Roster) other than editing the Roster VSD info.? Even though it said delete the name, it was not easy to do and I deleted the value instead.

Phil


Locked Re: Atlas snap switches not working with DR4018 and JMRI but work fine with MCR controller

 

I think you might be right about power even though it works on the Prodigy. It¡¯s on the SPROG3 were I have problem. I¡¯m going to get addon power supply.

Thanks. Fred


Locked Re: JMRI with NCE Pro Cab #procab #nce

 

Russ,

What voltage is going to the PowerPax? I have two at layouts that have 18VDC
supplies and they do very well with just about everything.

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


Locked Re: Function Map for SoundTraxx Econami locking up

 

Michael,
The ProCab system was pre sound decoders and therefore did not anticipate the use of indexed cvs - especially the most modern decoders with many indexed cvs.? It is incapable of writing indexed cvs in program track mode. What will happen if it does, is it will be writing values to the wrong cvs and you will really mess up your decoder.? Decoder Pro knows this and just doesn't do the writes to keep you from messing it up.? I dont know if it is documented in any of the inbuilt instructions or not - but it has been posted many times here in this forum and in the JMRI forum.
By the way, this does not affect PowerCab systems.

If you will write your changes in Program on the Main, it should work. Then you can return to Program track mode and read to confirm the changes took if you need that assurance.
Also, when you write, rather than choosing write all sheets,? after you have made all your changes, go to the Cvs pane and write changes on sheet from there. (Just be sure you are using Programming on the Main). There is a known issue in decoder pro that has data overruns and locks up or errors out when writing many cvs at once and this procedure is a work around to avoid that.?

Tom Wilson

Colorado Springs, CO


On Fri, Jan 10, 2020, 5:53 PM Michael Boyle <boyle10017@...> wrote:
I am using release 4.18 for Windows, connected to an NCE ProCab System. Using DecoderPro I have used "New Loco" to identify a locomotive with a SoundTraxx Eco-200 (P.N. 882002) for diesel. I have no trouble using the Roster Entry, Basic, Motor, and Speed Table tabs. In Program Mode using "Direct Mode," I always start by selecting "Read Full Sheet" to establish current values. I then change the desired variable and select "Write Changes on Sheet." I then confirm my changes by repeating the "Read Full Sheet." I then "Save."
However, when I select the Function Map tab I run into problems. When I enter a check into one of the boxes (the "Forward Driving" box of the "Brake" row for example) then try to "Write Changes on Sheet" I get a note "Writing CV1.257..." at the bottom of the page and the Status light on the command station momentarily blink then returns of a constant light. Beyond that nothing happens.
At this point the only thing I can do is shut down the window for this locomotive, shut down DecoderPro and restart.
Any suggestions?


Locked Re: JMRI with NCE Pro Cab #procab #nce

 

Installed the new Serial cable with included driver and there is a huge improvement in ability to read from the program track and read much faster.

Still won't detect my Broadway SD9 but does detect other Broadway engines.? Someone suggested replacing Tony's Powerpax booster with other.? Before I do that I'll try re-installing the resistor on one leg of the program track.


Locked Re: Digitrax programming and Track Power On (was JMRI 4.18 is available for download)

 

It looks like it is in the code. If you click any of the JToggleButtons(Roster window: four buttons on the bottom) it triggers the powermanager to evaluate itself and power on. I think it has to do
with the Change listener. If you read and quickly stop the event the bug still powers up indicating the bug is beyond? the read/writing code. All just a guess......? ? ?

Inobu ? ? ?




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

 

The Output Matrix Mast is designed to control a signal mast with 32 aspects. This is more than enough for a German mast looking at the DB HV 1969 system in JMRI.

If the mast is broken down in to two heads - Main and Distant, it simplifies things a little.
The main head can show five different aspects:-
  1. HP00/SH0 (two red lamps)
  2. HP0 (one red lamp)
  3. HP0/SH1 (one red lamp and two white lamps)
  4. HP1 (one green lamp)
  5. HP2 (one green lamp and one yellow lamp)

The distant head can show four aspects:-
  1. VR0 (two yellow lamps)
  2. VR1 (two green lamps)
  3. VR2 (one green and one yellow lamp)
  4. Dark
I guess that if I was to use the matrix driver the drive the lamps directly I would just drive the six key lamps with the matrix driver, and then use LOGIX to drive the remaining lamps which are really redundant (the ones where you know what the aspect is even when they are not showing!).

The top head green lamp is always on when the left red lamp is off (and vice versa), this is a simple LOGIX rule that can be used to drive the green lamp. You just have to drive the two red lamps, the pair of white lamps together, and the yellow lamp, on the top head using four of the matrix outputs.

On the distant head you can use the remaining two outputs to drive the lower yellow and top green, and use LOGIX to generate the remaining green (on when green on and yellow off), yellow (on when yellow on and green off) and white (on when either green or yellow are on).

So to recap, the matrix driver will drive the following lamps directly with the six outputs:-
  1. Left red lamp
  2. Right red lamp
  3. Double white lamps
  4. Yellow lamp (top head)
  5. Lower yellow lamp (distant head)
  6. Upper green lamp (distant head)

Logix will drive the remaining lamps:-
  1. Green lamp (top head) and white lamp (distant head) (on when left red lamp off)
  2. Upper green lamp (distant head) (on when lower green lamp on and upper yellow lamp off)
  3. Lower yellow lamp (distant head) (on when upper yellow lamp on and lower green lamp off)

Suzie x

A bit of a faf, but will work if you do not have a signal mast decoder that will drive all ten lamp groups.
Clearly if you don't have the HP00 and SH1aspects and signals are not close spaced outputs will be freed up so you should not need all the LOGIX and things will be simpler to implement.


Locked Re: Atlas snap switches not working with DR4018 and JMRI but work fine with MCR controller

 

Reading the Instruction sheet for it, Digokrejs recommend a 3A Power supply.If you're using the DCC Bus to power it, you might be overloading the Prodigy which only has a 3.5A input which means that some power is taken to run the Prodigy, and any other devices locos etc also will be taking power from the bus.So a separate power supply is advisable.


Locked Re: Roster media? #rosterimage

 

Marc
And the session.log? Anything there?
Steve G.


On January 10, 2020 7:10:23 PM EST, forfoum@... wrote:
Ladies and Gentelmen.. after playing around with this for many hours I now have the problem too.

I cleared all of my previously installed JMRI 4.18? (registry and all)? and then installed 4.18. I made sure to install for everynone

I open my Roster entry and Windows Explorer and try to Drag & Drop an image file ( with which I had absolutely no problems in the previous JMRI 4.18 install )
Now the minute I try and? Drag & Drop the image. the minute it leaves the bounderies of Explorer, the Image changes to the circle/slash? and I can not complete the DnD task.

I have no idea why nor how I did it, but I now have the problem to play with.

Marc

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Locked Re: Roster media? #rosterimage

 

Marc,

If you can open another Explorer or other application that uses drag and
drop, do any of them work? I've got the feeling is in the drag and drop code
of the OS that we are somehow getting caught on something.

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


Locked Re: Atlas snap switches not working with DR4018 and JMRI but work fine with MCR controller

 

I upgraded to latest version of JMRI tonight and connected my laptop to track using SPRG3. When ever I tried to change a snap switch, the locomotives on track restarted. It was like a short.

I¡¯m now thinking that a need separate power supply just for the DR4018 to use with my computer and JMRC.

I¡¯ve asked Iron Mountain Hobbies where I bought the unit about this.

Thanks for you feedback.

Fred


Locked Function Map for SoundTraxx Econami locking up

 

I am using release 4.18 for Windows, connected to an NCE ProCab System. Using DecoderPro I have used "New Loco" to identify a locomotive with a SoundTraxx Eco-200 (P.N. 882002) for diesel. I have no trouble using the Roster Entry, Basic, Motor, and Speed Table tabs. In Program Mode using "Direct Mode," I always start by selecting "Read Full Sheet" to establish current values. I then change the desired variable and select "Write Changes on Sheet." I then confirm my changes by repeating the "Read Full Sheet." I then "Save."
However, when I select the Function Map tab I run into problems. When I enter a check into one of the boxes (the "Forward Driving" box of the "Brake" row for example) then try to "Write Changes on Sheet" I get a note "Writing CV1.257..." at the bottom of the page and the Status light on the command station momentarily blink then returns of a constant light. Beyond that nothing happens.
At this point the only thing I can do is shut down the window for this locomotive, shut down DecoderPro and restart.
Any suggestions?


Locked Re: Webserver not showing all the tracks of panelpro editor #webserver

 

As the OP, The original fault was fixed. The coder then realised the the bridge wasn't being displayed either, and has attempted to cure that, but I think that the coding for the bridge is quite complex, and will take a little while to solve. There is another problem with JMRI and the turntable I'm using, a Fleischmann 6152C with switchable track exits, but I don't know how to describe it. I have used a bodge to get around the problem though.


Locked Re: Mapping USB to serial adapter to Decoder Pro

 

Thank you Jim that worked. Just to clarify, my computer did not tell me that the device was plugged in and Decoder Pro would not let me select COM3 until the device was plugged in.