¿ªÔÆÌåÓý

Date

Locked Re: Help getting JMRI working on a new WIN10 computer

 

There are a number of issues around Digitrax track power that have not yet been resolved. The best advice is to ensure that track power is on before starting JMRI PanelPro or DecoderPro. And do not turn it off or on from JMRI.
The problem is particularly acute with any of the command stations with built in USB ports, and/or slow computers (think Acer One or Pi 2's.)
Steve G.




Locked Re: DecoderPro &ESU LokSound Factory reset

 

¿ªÔÆÌåÓý

Frank,

On 3 Aug 2019, at 4:56 PM, Dave Heap <dgheap@...> wrote:

2) While some DCC systems support only Paged Mode, most modern systems now support a Direct mode that is much faster and more reliable (with most systems).?

3) Some legacy decoders support only Paged Mode, most modern decoders support a Direct mode.

I've improved the identification routine by only falling back to Paged Mode if a Direct Mode read of CV8 fails (indicating a legacy decoder).


A test build with the fix is available at <> (#3406 or later).

Dave in Australia


Locked Re: Raspberry Pi Servo pHAT

 

On Tue, Jul 30, 2019 at 11:46 AM, Paul Bender wrote:
My intention is to use that second file as a guide for writing the script, with the changes required to make this work within JMRI.
?
Paul, this sounds great! I use lots of servos on my layout, currently driven by the excellent Tam Valley QuadLN-S boards, but I also have the SparkFun pHat board and would love to be able to use it from JMRI. I'd be glad to help with testing or even coding once you get the basic JMRI framework in place.
--SteveT


Locked Re: DecoderPro &ESU LokSound Factory reset

Frank in Houston
 

Thank you.?


Locked Re: DecoderPro &ESU LokSound Factory reset

Frank in Houston
 

THANK YOU. I checked the ¡°Requires Drive Sound¡± and that solved the problem. I also reduced the volume. It was a fan on the prime mover and now it too shuts down when I click (shift F-8).?
PROBLEM SOLVED. THANK YOU?
Frank?


Locked Re: Help getting JMRI working on a new WIN10 computer

 

The slot monitor messages also contain the power on/off bit. If JMRI is, for some reason, not seeing messages come back from the LocoNet, the slot monitor messages might be fooling it into thinking that it knows the status anyway.

Bob

On Aug 5, 2019, at 5:22 PM, Ross Kudlick <Ross_Kudlick@...> wrote:

We use a LocoBuffer-USB ver 2.070. No dip switches.

What's interesting is seeming having communication with the Slot Monitor open.
--
Bob Jacobsen
rgj1927@...


Locked Re: Help getting JMRI working on a new WIN10 computer

 

Bob,

We use a LocoBuffer-USB ver 2.070. No dip switches.

What's interesting is seeming having communication with the Slot Monitor open.

Ken Cameron reviewed the 'debugging' information I posted. I've got some things to check tomorrow.

Thank you for all the help.

Ross

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Bob Jacobsen
Sent: Monday, August 5, 2019 6:51 PM
To: [email protected]
Subject: Re: [jmriusers] Help getting JMRI working on a new WIN10 computer

Since you can turn track power off from JMRI, messages are getting from JMRI through the LocoBuffer to the LocoNet and thence to the command station.

Since JMRI doesn¡¯t see that that has happened, that means that (some or all) messages are not getting _back_ from the LocoNet through the LocoBuffer to JMRI.

I¡¯m sorry, but I don¡¯t remember which LocoBuffer you have. Is it possible that you have one of the early ones that have a DIP switch that selects whether transmitted messages are echoed back?

Bob

On Aug 5, 2019, at 1:22 PM, Ross Kudlick <Ross_Kudlick@...> wrote:

I made an unexpected discovery today when I was able to make a short visit to our club.

If track power is on when DecoderPro starts the icon at the top of the roster correctly shows the track power on state. I can turn track power off but the icon changes to the yellow ¡®unknown¡¯ state. I¡¯m not able to turn track power on from DecoderPro. (I turned track power back on using the throttle.)

I added the PowerOn.py script to the startup and the behavior was the same as above.

When I opened the slot monitor I could control track power from the icon. Control was again lost when I closed the slot monitor.

I ¡®uploaded debugging info¡¯ titled ¡°NVMR Win10 New Computer¡± in case it will provide any helpful clues.

Will be back at the club tomorrow to continue working on this.

Ross
--
Bob Jacobsen
rgj1927@...


Locked Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server

 

Just an update for those interested: Travis discovered that Windows 10 treats normal users different than Administrators when it comes to opening TCP/IP connections as used for MQTT in JMRI.

So if anyone else ever experience this kind of problem, please suggest to run JMRI (like PanelPro) with "Run As Administrator", until we know a little more!

Speed


Locked Re: Probem with feedback from MGP sensor.

 

Bosse,

What I would like to know is which of these messages is supposed to be associated with the operation you are having problems with? Simply having a log of bunch of traffic does not help me understand where the problem might be.

You could help us understand the problem by telling us the exact sequence of events you expect. When I work on issues like this, I like to annotate _each line_ of the log file(s) to describe the events on the layout. Something like "this message happened when block X was occupied".

Did _anything_ cause the position of a turnout to change during this sequence of events? Is the "LT112 switch input is closed" happening to indicate that the occupancy of a particular block has changed?

Regards,
Billybob


Locked Re: Help getting JMRI working on a new WIN10 computer

 

Since you can turn track power off from JMRI, messages are getting from JMRI through the LocoBuffer to the LocoNet and thence to the command station.

Since JMRI doesn¡¯t see that that has happened, that means that (some or all) messages are not getting _back_ from the LocoNet through the LocoBuffer to JMRI.

I¡¯m sorry, but I don¡¯t remember which LocoBuffer you have. Is it possible that you have one of the early ones that have a DIP switch that selects whether transmitted messages are echoed back?

Bob

On Aug 5, 2019, at 1:22 PM, Ross Kudlick <Ross_Kudlick@...> wrote:

I made an unexpected discovery today when I was able to make a short visit to our club.

If track power is on when DecoderPro starts the icon at the top of the roster correctly shows the track power on state. I can turn track power off but the icon changes to the yellow ¡®unknown¡¯ state. I¡¯m not able to turn track power on from DecoderPro. (I turned track power back on using the throttle.)

I added the PowerOn.py script to the startup and the behavior was the same as above.

When I opened the slot monitor I could control track power from the icon. Control was again lost when I closed the slot monitor.

I ¡®uploaded debugging info¡¯ titled ¡°NVMR Win10 New Computer¡± in case it will provide any helpful clues.

Will be back at the club tomorrow to continue working on this.

Ross
--
Bob Jacobsen
rgj1927@...


Locked Re: I fell at the first fence

 

Partly, you have to expect to spend a bit of time working with it to figure out how the various controls work: What you have to fill in before you can drag something, what you do from the edit window vs what you do with a ctrl-click of the mouse, etc. Since the Panel Editor and Control Panel Editor do lots of things, there are lots of things to learn how to do.

It¡¯s certainly possible that there are bugs. But Panel Editor has been part of JMRI since 2002, Control Panel Editor since 2008, so large parts of them probably work OK.

If something doesn¡¯t seem to work, the best approach is to say ¡°How else can I do this?¡± or ¡°What might I have to do first?¡± or things like that. Saying ¡°well, it¡¯s probably broken and I can¡¯¡¯t do it¡±, although it might be true, is probably not the best way to get to know how to do things.

If you¡¯re falling at the first fence, perhaps you should look around for the gate.

Bob



On Aug 5, 2019, at 2:46 PM, Terry Metcalfe via Groups.Io <terrymetcalfe@...> wrote:

ps why is it i get the feeling that this has either not been fully debugged or am I doing the debugging? :-))
--
Bob Jacobsen
rgj1927@...


Locked Re: Probem with feedback from MGP sensor.

 

Hi Bob

When a locomotive passes the blocks, I get the following logs in Z21 Traffic and Monitor Loconet.
Looks like there is a hexadecimal code from the sensors and Z21 when comparing the logs.
Maybe can be of some help?

Z21 Traffic? JMRI
?
23:39:17.597: [04 00 10 00]? ?Z21 Serial Number Request
23:39:17.600: [08 00 10 00 94 4D 02 00]? ?Z21 Serial Number Reply.? Serial Number: 150 932
23:39:35.353: [0E 00 40 00 EF 00 03 0C 25 00 00 00 00 C5]? ?XpressNet Tunnel Reply: Z21 Mobile decoder info reply for address 3: Reverse,in 128 Speed Step Mode,Speed Step: 36. Address in use by another device.
23:39:35.628: [0E 00 40 00 EF 00 03 0C 33 00 00 00 00 D3]? ?XpressNet Tunnel Reply: Z21 Mobile decoder info reply for address 3: Reverse,in 128 Speed Step Mode,Speed Step: 50. Address in use by another device.
23:39:35.903: [0E 00 40 00 EF 00 03 0C 32 00 00 00 00 D2]? ?XpressNet Tunnel Reply: Z21 Mobile decoder info reply for address 3: Reverse,in 128 Speed Step Mode,Speed Step: 49. Address in use by another device.?
?
23:39:40.763: [08 00 A4 00 01 91 01 01]? ?08 00 A4 00 01 91 01 01
23:39:41.179: [08 00 A4 00 01 CB 00 00]? ?08 00 A4 00 01 CB 00 00
23:39:43.894: [08 00 A4 00 01 CC 00 01]? ?08 00 A4 00 01 CC 00 01

23:39:43.899: [08 00 A0 00 B1 6F 70 51]? ?LocoNet Tunnel Rx: Turnout LT112 () Switch input is Closed (input off).
?
23:39:44.308: [08 00 A4 00 01 91 01 00]? ?08 00 A4 00 01 91 01 00
23:39:48.377: [08 00 A4 00 01 CA 00 01]? ?08 00 A4 00 01 CA 00 01
23:39:48.692: [08 00 A4 00 01 CC 00 00]? ?08 00 A4 00 01 CC 00 00
23:39:52.567: [08 00 A4 00 01 CB 00 01]? ?08 00 A4 00 01 CB 00 01
23:39:52.976: [08 00 A4 00 01 CA 00 00]? ?08 00 A4 00 01 CA 00 00
?
23:39:54.594: [0E 00 40 00 EF 00 03 0C 22 00 00 00 00 C2]? ?XpressNet Tunnel Reply: Z21 Mobile decoder info reply for address 3: Reverse,in 128 Speed Step Mode,Speed Step: 33. Address in use by another device.
23:39:54.936: [0E 00 40 00 EF 00 03 0C 02 00 00 00 00 E2]? ?XpressNet Tunnel Reply: Z21 Mobile decoder info reply for address 3: Reverse,in 128 Speed Step Mode,Speed Step: 1. Address in use by another device.
23:39:55.210: [0E 00 40 00 EF 00 03 0C 00 00 00 00 00 E0]? ?XpressNet Tunnel Reply: Z21 Mobile decoder info reply for address 3: Reverse,in 128 Speed Step Mode,Speed Step: 0. Address in use by another device.?
?
23:40:17.599: [04 00 10 00]? ?Z21 Serial Number Request
23:40:17.601: [08 00 10 00 94 4D 02 00]? ?Z21 Serial Number Reply.? Serial Number: 150 932
?
Monitor LocoNet

23:39:35.428: [A0 02 25 78]? Set speed of loco in slot 2 to 37.
23:39:35.639: [A0 02 33 6E]? Set speed of loco in slot 2 to 51.
23:39:35.925: [A0 02 32 6F]? Set speed of loco in slot 2 to 50.

23:39:40.839: [B2 48 51 54]? Sensor L2S401 (2-West) is High.? (BDL16 # 26, DS1; DS54/DS64 # 51, AuxA/A1).
23:39:41.195: [B2 65 40 68]? Sensor L2S203 (B1-B2) is Low.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
23:39:43.973: [B2 65 70 58]? Sensor L2S204 (G1-G2) is High.? (BDL16 # 13, DS12; DS54/DS64/SE8c # 26, SwiB/S2/DS04).

23:39:43.973: [B1 6F 70 51]? Turnout L2T112 () Switch input is Closed (input off).

23:39:44.319: [B2 48 41 44]? Sensor L2S401 (2-West) is Low.? (BDL16 # 26, DS1; DS54/DS64 # 51, AuxA/A1).
23:39:48.402: [B2 64 70 59]? Sensor L2S202 (2-East) is High.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02).
23:39:48.717: [B2 65 60 48]? Sensor L2S204 (G1-G2) is Low.? (BDL16 # 13, DS12; DS54/DS64/SE8c # 26, SwiB/S2/DS04).
23:39:52.654: [B2 65 50 78]? Sensor L2S203 (B1-B2) is High.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
23:39:53.001: [B2 64 60 49]? Sensor L2S202 (2-East) is Low.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02).

23:39:54.621: [A0 02 22 7F]? Set speed of loco in slot 2 to 34.
23:39:54.956: [A0 02 02 5F]? Set speed of loco in slot 2 to 2.
23:39:55.232: [A0 02 00 5D]? Set speed of loco in slot 2 to 0.
?
Regards.
Bosse?



Locked Re: I fell at the first fence

 

Terry,

? ? Look up in the far left top side of your panel and try to click on what ever is up there and drag to where you want it.

Roger


Locked Re: I fell at the first fence

 

Dave S,

I figured I'd stick to the default mode for LE. I suspect that's what most
users use. I wanted to make sure he'd know which was which that he was
looking at.

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


Locked Re: How to save a control panel which has been zoomed.

 

Sorted!


Locked Re: I fell at the first fence

 

Terry,

You need to drag two turnouts to the East Turnout and West Turnout boxes before the Add to Panel is enabled.

Dave Sand

On Aug 5, 2019, at 4:46 PM, Terry Metcalfe via Groups.Io <terrymetcalfe@...> wrote:

So I am now in Panel editor. Trying to add a double slip icon. I follow the instructions on the screen, that is I select a slip from my turnout table. The box ¡°Add to Panel¡± remains greyed out.

BTW i can add a turnout without problems as the ¡°Add to Panel¡± is active.

Terry

ps why is it i get the feeling that this has either not been fully debugged or am I doing the debugging? :-))


Locked Re: I fell at the first fence

 

So I am now in Panel editor. Trying to add a double slip icon. ? I follow the instructions on the screen, that is I select a slip from my turnout table. ?The box ¡°Add to Panel¡± remains greyed out.

BTW i can add a turnout without problems as the ¡°Add to Panel¡± is active.

Terry

ps why is it i get the feeling that this has either not been fully debugged or am I doing the debugging? ?:-))


Locked Re: I fell at the first fence

 

You¡¯re looking at the wrong window.

The Panel Editor shows the panel _and_ (when it¡¯s in edit mode) a separate Panel Editor window. The File menu on that Panel Editor window is where you change from Panel Editor to Control Panel Editor.

Bob

On Aug 5, 2019, at 11:46 AM, Terry Metcalfe via Groups.Io <terrymetcalfe@...> wrote:

I thought I'd try using the Control Panel Editor as I have been using the layout editor for some time.

The help section for the Control Panel Editor states....

Changing the view between editors
In either editor, when in edit mode, the last item in the File menu is Change view to "XX'

Mine has only two options under File - save or delete the panel!!!

What am I doing wrong?

Help please.

Terry
_._,_._,_
--
Bob Jacobsen
rgj1927@...


Locked Re: DecoderPro &ESU LokSound Factory reset

 

Frank,

On 6 Aug 2019, at 6:51 AM, Frank in Houston <upitrr@...> wrote:

Hello....OK....I did as you requested and the sound stopped when I moved Slot 8 from max to ZERO. (0)

What do I do next?
- Make sure you have read the Function Map pane.
- Look for a row (or rows) that contain(s) "Sound Slot 8" in the Sounds column.
- Look in the Conditions column for the row(s) that mentioned "Sound Slot 8". The Conditions column will detail the F key(s) that trigger "Sound Slot 8".

If the Fan Sound is only a problem when the loco is shut down, you could simply check the "Requires Drive Sound" checkbox next to "Sound Slot 8" on the Sound Levels pane. Also set the desired volume and Write Changes on Sheet.

Dave in Australia


Locked Re: I fell at the first fence

 

Ken,

Layout Editor has grown up a lot in the last couple of years.

/g/jmriusers/photo/79886/0?p=Created,,,20,2,0,0

It also has an option for a floating toolbox.

Dave Sand

On Aug 5, 2019, at 4:20 PM, Ken Cameron <kcameron@...> wrote:

Terry,

As I understand it, you have a Layout Editor panel and it knows about the
layout. But you'd like to make some panels to control things on the layout.
That is what the 'other' editors work on. Remember the key difference: LE
uses stick figure icons that you draw connections between, CPE or PE uses
icon images. Under the menu item "Panels"->"New Panels"->"Panel Editor",
this will open a new pane for you to start building your control panel. That
one can switch between the PE or CPE modes. Why two, history mostly, but
there are somethings easier to edit in one of them than the other. At least
I find myself flipping back and forth for that reason. When editing, it uses
a separate pane for the editing features instead of taking a strip of space
in the same pane (which is what LE does).

PE - Panel Editor (original)
CPE - Control Panel Editor
LE - Layout Editor (more for layout part relationships and locations, used
by many tools)
SPE - Switch Panel Editor (I've not used it, intended for massive number of
controls I think)

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