¿ªÔÆÌåÓý

Date

Locked Re: JMRI lnwi

 

CFJ,

You want to substitute a WiFi connection between your computer and LocoNet instead of a LocoBuffer connection?

Remember, the LNWI is primarily intended to provide a mechanism for phones to control locomotives. So the communications protocol is focused on the messaging required to control locomotives.

While I have not specifically tested the LNWI and its communication protocol, I _suspect_ that the protocol used by the LNWI will not provide all of the capabilities of a LocoBuffer. For example, I would guess that you could _not_ apply firmware updates to your DCS210/DCS240/DT402/DT500/etc. via the LNWI communication protocol. This is just one of perhaps a hundred different LocoNet messages which I suspect cannot be communicated via the LNWI protocol.

Regards,
Billybob


Locked JMRI lnwi

 

Currently I have JMRI (on laptop with a loconet cable) working with loconet via a locobuffer.

Is it possible to have JMRI (on laptop with a wifi connection) working with loconet by substituting a LNWI to laptop wifi for the wired connection?

CFJ


Locked Re: Default mode for Digitrax command stations (Was DCS52, Loksound Select, JMRI Eror 308 during identify decoder

 

Thanks to everybody for all the help on this.

Lot¡¯s of interesting tests. It¡¯s clear that programming isn¡¯t always reliable, but there didn¡¯t seem to be a case where Paged mode worked and Direct Byte did not work. So that makes the case easy.

Starting with the next test releases, Digitrax programming will first try Direct Byte mode.

Thanks again.

Bob

On Aug 12, 2019, at 4:44 PM, davethomas1359 via Groups.Io <davethomas1359@...> wrote:

I have a DCS51 but had a DCS50 previously. I could only get it to read an older QSI decoder in Direct Mode with a PR3.

On Monday, August 12, 2019, 04:31:48 PM GMT-4, Breezlys via Groups.Io <livinthelife@...> wrote:


On Sun, Aug 11, 2019 at 02:34 PM, Bob Jacobsen wrote:
But there¡¯s still the open question as to whether (some) DCS100, DCS200 and DCS50 command stations have trouble reading and/or writing in Direct Byte mode some or all decoders. QSI decoders were mentioned several times in that context.

Is there anybody out there with one of those command stations and QSI decoders who could test reading and writing in Paged Mode and Direct Byte Mode?

Bob


--
Bob Jacobsen
rgj1927@...

Bob,

I tried QSI V7 and V9 decoders with both a PR4 and with a DCS100's programming outputs.

-The PR4 using Paged mode correctly read CV's 1 and 66 on both the V7 and V9 decoders, but corrupted CV29 (wrote 255 to it) on both of them. Writing 34 back to CV29 worked okay (verified by reading in Direct).
-The PR4 using Direct mode correctly read CV's 1, 34, and 66 on both the V7 and V9 decoders. Writing to these CV's worked okay.

-The DCS100 using Paged mode correctly read CV's 1 and 34 on the V7 decoder, but repeated read attempts all returned the same incorrect value for CV66. However, it did NOT corrupt this CV as a subsequent read with Direct returned the correct value. I did not attempt any writes with this combination.
-The DCS100 using Direct mode correctly read CV's 1, 34, and 66 on the V7 decoder. I did not attempt any writes with this combination.

-The DCS100 would not read the V9 decoder in either Paged or Direct mode. I did not attempt any writes with this combination.

HTH,
Steve
"Breezlys"
--
Bob Jacobsen
rgj1927@...


Locked Re: CTI/Acela panel load errors after updating to 4.16

 

Ken,
No, I have not tried 4.12 as the documentation recommends.? Should have read that instruction more closely.
I will set a restore point on my PC and then give 4.12 a shot tomorrow.
There was some logic I'd included for a grade crossing signal that must have been overwhelming the CTI network on start-up.? This came to light during the upgrade attempt - actually when I tried to go back to 4.11.6. For some reason, the network tolerated this logic okay before the upgrade attempt, but was adversely affected after the upgrade and continued not to like it after reverting back to 4.11.6, even though the panel xaml file I used was written by 4.11.6.

I have that issue cleared up and the panel is loading once again without hiccups in 4.11.6.
So, fingers crossed I will try 4.12 tomorrow, and if the panel loads without issues, I will move on to 4.17.3 with great optimism and report back on this thread.

Mike


Locked Missing scroll bars in Layout Editor #layouteditor

 

I've not used Layout Editor for a while. Just before I stopped working with it, I had an odd problem. The scroll bars disappeared. I set the option to have both vertical and horizontal scroll bars, but they didn't appear. I still have the problem. There must be some setting I accidentally changed. Can anyone tell me what it would be?

I could post the panel for someone to check if I can learn how to do it.

Don Weigt
Connecticut, USA


Locked Re: Layout Editor Panel with Web Server issues WARN messages

 

OK, I've created?to proceed with approach #3 for layoutturnout. If someone can identify similar warnings for other elements, I will look at those as well.


Locked Re: Question about Operations scenario with alternate tracks

 

Gary H.
Thanks for the update I have run into problems trying to do this same thing. I've figured work arounds still not quite what I'm wanting it to do. I just watch to see if someone comes up with a better way.
Keep at it
Thanks?
Matt Greenwood


Locked Re: JMRI operations How to set up for a complete session #operationspro

 

Here on my layout I use CATS for dispatching. A train occupying a certain block, station, location, will trigger an automation creating a train and its paperwork. When the CATS computer sees a certain train is at a certain "station" that move will trigger a train movement on my JMRI computer which in turn triggers an automation.?
Bill (or anyone), could you say a bit more about how you handle this?? I am a modestly experienced CATS and TrainStat user, but I'm just starting to use Operations.? I'm generally curious about how the programs share train and station/location info, and I'm specifically?curious how you trigger an automation in Operations from state information in CATS.? I have all 3 programs configured to communicate with each other, and I see CATS update TrainStat with station info, but I'm not sure where to look in Operations for any real-time info (let alone what to do with it).??


Locked Re: Question about Operations scenario with alternate tracks

 

Ok, there is one little twist I didn't appreciate when I wrote the previous post: if the spurs and interchange siding are in the same Location, then Ops will not request moves between the two for the Turn unless I do something prescriptive like set a Schedule or a Final Destination for cars in the siding.? I'd like to avoid being too prescriptive, so I decided to make the siding its own location (I'll call it Bs here), for interchange purposes.? Now my way freights run Routes C-Bs-A and A-Bs-C, while the Turn runs a Route A-Bs-B-Bs-A, so the spurs in B are like a branch line.

Now I run C-Bs-A first and spot cars on Bs-(IN) en route, then I run the Turn which pulls cars from Bs-(IN), works the spurs, and spots cars in Bs-(OUT), then I run A-Bs-C which pulls cars from Bs-(OUT) and takes them to C.? The train builds work like a charm, but I am sure I'll need to tweak the move counts to achieve a good steady state solution.? Looking forward to that. :)

One follow-up question about session builds and such.? Is there a way to restore *only* the cars database from a backup?? When I'm developing schemes, I want to start with a certain car configuration, then, after moving some built trains in simulator mode, I'll tweak a variety of things like location and route details.? Afterwards, I'd like to be able to save everything and start over with the new routes, etc. but with the cars in their original place.? Is there an easy way to do this?

Great program.? Thanks again.


Locked Re: Speed Matching

 

Jim,

On 19 Aug 2019, at 4:54 AM, Jim Kirwan via Groups.Io <cact25@...> wrote:

I have 2 Kato locos (same model). One starts moving at SS 1, while the other doesn't move until SS 6. What is the best way to speed match these two? Thanks.
This document is also helpful with speed matching, particularly if locos have a mixture of brands of decoder, as different manufactures have minor differences in the way settings interact:
<>

Note as well that the writer of the NCE document expresses opinions about whether BEMF should be on or off during speed matching which may not be appropriate for some brands models. For example, with the decoders I mainly use if you try to speed match with BEMF off it is very difficult to get repeatable results (you'll get a different settling each time you try), the speed performance and matching will be way off when you reenable BEMF and you'll get poor slow running behaviour if you leave it off.

Dave in Australia


Locked Re: Layout Editor Panel with Web Server issues WARN messages

 

The general approach for XML persistence of NamedBeanHandles is to store the name the user provided originally: If the user selected which Bean to use via a user name, persist that, otherwise persist the selected system name. This allows the NameBeanHandles to save/load back to the way they were. It would be better not to mess with that.

Bob

On Aug 17, 2019, at 6:17 PM, Steve Todd <mstevetodd@...> wrote:

I see a few of approaches to this particular issue with layoutturnout:
1) change the web server code to always return system name in "turnoutname", and leave the xml file storage routine as is
2) change the xml file storage logic always store system name in "turnoutname", then the web xml will continue to match
3) change the web server code to add an additional systemname attribute
4) change the xml file storage logic to store an additional systemname attribute
5) modify only the client-side code to "upgrade" any references to username to use systemname once the json value is returned. (most of the json messages include both systemname and username). Note that the warning would still be shown, but only for the initial definition, not for every subsequent change requested by the web panel.

I seem to recall an effort a while back to store references as usernames instead of systemnames, but I'm not sure if that's still valid.
--
Bob Jacobsen
rgj1927@...


Locked Re: Layout Editor Panel with Web Server issues WARN messages

Randall Wood
 

I¡¯d use #3. That maintains the panels as they are and allows any web/json client to get the data it needs to ¡°just work¡±. Although every client I am currently aware of uses the panel.js for JavaScript handling logic, we should fix this issue in a way that does require reimplementation if the panel.js is not used.


Locked Re: Speed Matching

 

¿ªÔÆÌåÓý

Dan

Thank you for sharing the Speed Matching link

Very useful guide

John Pearson

?

From: [email protected] <[email protected]> On Behalf Of Dan Howard via Groups.Io
Sent: 18 August 2019 20:16
To: [email protected]
Subject: Re: [jmriusers] Speed Matching

?

Jim,

The document at this link may be helpful:



-Dan


Locked Re: Panel displays on Android tablet from JMRI running on Raspberry Pi 3B+ #layouteditor #rpi

 

Yes, the web server and Withrottle are two different things.? I use Android tablets to display panels via the web server and it works like a charm.? You can either use a standard browser, or you can use the Webview feature in Engine Driver to have a split screen in the throttle app.


Locked Re: Panel displays on Android tablet from JMRI running on Raspberry Pi 3B+ #layouteditor #rpi

 

Don,

You need to start the JMRI web server: PanelPro Tools >> Start JMRI Web Server

The default port for the web server is 12080.

I believe there can be an issue with the Android version, someone else can explain that situation.


Dave Sand

On Aug 18, 2019, at 2:57 PM, Don Weigt <dweigt47@...> wrote:

I am quite new to JMRI, and newer to using the Raspberry Pi 3B+, so this probably is a "dumb" question (I prefer "ignorant", as that can be cured!)

I've loaded and installed Steve Todd's JMRI software image on my Pi,and VPNed a LE control panel to it. The Pi runs, and displays the panel on a monitor, I've just installed Engine Driver on an Android tablet, and have it connected. A lot is working! So far, so good!

Here's where I get stuck. I'd like to be able to display the control panel on my tablet, too. Not necessarily at the same time, but it would be nice if I could switch between the panel and Engine Driver.

I haven't found the way to display the panel. I tried to find it with my tablet's web browser, while the tablet was connected to the Pi for Engine Driver at 192.168.6.1:12090. Of course, I didn't know what to search for. JMRI and control panel didn't work. The browser says it can't find a connection. What am I doing wrong, or not doing? I thought I might need to load Java and JMRI on my Android tablet, but want confirmation that's necessary, or even possible. I hope I just need to use a different port. Would someone please tell me how to do this?

Also, can more than one tablet or smart phone display the same panel at once? And, if so, can one be panned or zoomed individually, or do all of them change together?

Don Weigt
Connecticut, USA


Locked Panel displays on Android tablet from JMRI running on Raspberry Pi 3B+ #layouteditor #rpi

 

I am quite new to JMRI, and newer to using the Raspberry Pi 3B+, so this probably is a "dumb" question (I prefer "ignorant", as that can be cured!)

I've loaded and installed Steve Todd's JMRI software image on my Pi,and VPNed a LE control panel to it. The Pi runs, and displays the panel on a monitor, I've just installed Engine Driver on an Android tablet, and have it connected. A lot is working! So far, so good!

Here's where I get stuck. I'd like to be able to display the control panel on my tablet, too. Not necessarily at the same time, but it would be nice if I could switch between the panel and Engine Driver.

I haven't found the way to display the panel. I tried to find it with my tablet's web browser, while the tablet was connected to the Pi for Engine Driver at 192.168.6.1:12090. Of course, I didn't know what to search for. JMRI and control panel didn't work. The browser says it can't find a connection. What am I doing wrong, or not doing? I thought I might need to load Java and JMRI on my Android tablet, but want confirmation that's necessary, or even possible. I hope I just need to use a different port. Would someone please tell me how to do this?

Also, can more than one tablet or smart phone display the same panel at once? And, if so, can one be panned or zoomed individually, or do all of them change together?

Don Weigt
Connecticut, USA


Locked Re: No feedback with Digitrax DCS240

 

¿ªÔÆÌåÓý

Wayne,

Conventional English understanding would make you think that a 'Shorted' LocoNet would be a bad thing. However it just means that pins 3 & 4 are both connected to the LocoNet. In fact this is a good thing, not a bad thing, because it improves the redundancy of the connections. The LocoNet is a duplex connection only at the computer end. On the network itself there is just a single electrical signal? (LocoNet) and a ground. Both the LocoNet and ground are normally two wires with the same information for redundancy. The Railsync lines (1 & 6) are differential signals that drive the boosters. (Rail A and Rail B) If one of those goes bad, then there are issues.

Dick :)

On 8/16/2019 1:14 AM, Wayne Swearingen wrote:

I may have found a possible problem.. correct me if I'm wrong.?


This PDF: ?page 9 has the following diagram:

?

Condition

LEDs Lighted

Comment

OK

3

The outside Rail-sync LEDs should always light, and either one of the two inside LEDs should light

OK, Properly Phased

3

LEDs 1, 2 and 4 should light.

OK, Reverse Phased

3

LEDs 1, 3 and 4 should light.

Both LocoNet + and ¨C shorted (Note)

4

All 4 LEDs should light.

Any Other LocoNet Device Connected

4

All 4 LEDs should light.



I know for sure I had a couple cables test with four LED's and no throttle connected. In my tired mind I think I figured three is good four is better and didn't give it much extra though since Digitrax didn't say anything in their write up about four lights and no throttle.?
So that being said, if Digitrax didn't mention anything about four lights no throttle is the above information accurate? And, why can I run things just fine but the feedback is messed up? My thinking would say that nothing should work with shorted LocoNet.?


Wayne

?


Locked Re: Speed Matching

 

Jim,

The document at this link may be helpful:



-Dan


Locked Re: Speed Matching

 

¿ªÔÆÌåÓý

Jim,

?

What decoder(s) are you using?

?

Are you using ¡®Basic Speed Control¡± or the ¡®28-Step Speed Table?¡¯

?

Ross

?

From: [email protected] <[email protected]> On Behalf Of Jim Kirwan via Groups.Io
Sent: Sunday, August 18, 2019 2:54 PM
To: [email protected]
Subject: [jmriusers] Speed Matching

?

I have 2 Kato locos (same model). One starts moving at SS 1, while the other doesn't move until SS 6. What is the best way to speed match these two?? Thanks.

Jim K


Locked Speed Matching

 

I have 2 Kato locos (same model). One starts moving at SS 1, while the other doesn't move until SS 6. What is the best way to speed match these two?? Thanks.

Jim K