Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Probem with feedback from MGP sensor.
Anders and Bosse,
If some of the expected LocoNet messages do not appear, then there is nothing that I can contribute to help solve this problem. If it can be shown that the expected LocoNet messages are present but JMRI is not acting upon them properly, then I may be able to contribute. Regards, Bob |
Locked
Re: Probem with feedback from MGP sensor.
Hej Billybob,
toggle quoted message
Show quoted text
No, the problem is not about the Turnout messages around address 1xx. The turnout feedback is OK. The problems are with track occupancy sensor message with addresses 2xx (and 4xx). If you look in the log from the "loconet interface connection" (Monitor LocoNet JMRI), there are a lot of sensor messages. The next log, "Monitor Z21LocoNet JMRI",? are for the same messages but for the Z21-JMRI connection, but there the Sensor messages are not visible! These are logs from the same loconet but coming to JMRI through two different interfaces. Everything looks as expected when the messages came through the "loconet interface connection" but not when they came through the Z21-JMRI connection. Somewhere between LocoNet and the JMRI log, the sensor messages for 2xx are lost. These are perfectly normal LocoNet sensor messages as in "[B2 64 60 49]? Sensor L2S202 () is Low." mvh/anders Den 2019-08-05 kl. 16:03, skrev billybob experimenter: Bosse, |
Locked
Re: Probem with feedback from MGP sensor.
Bosse,
Please confirm that JMRI is having problems with the L2T112 item? That would make sense to me, as JMRI sees L2T112 as a LocoNet "turnout" item (as specified by the "T" in the system name). LocoNet Turnout items cannot be interpreted by JMRI as "Sensor" items, and JMRI cannot interpret LocoNet turnout messages for the purpose of receiving block occupancy information. If you are indeed having difficulties with L2T112, then the solution will likely be to configure the MGP device so that the input that generates the L2T112 message is using different LocoNet messaging and generating L2Snnn messaging. How to re-configure the device will be very specific to the MGP device, and I have no direct experience in reconfiguring those devices. Note that LocoNet devices sometimes "pair" two inputs for the purposes of reporting "exact" feedback of turnout position. When using LocoNet "Exact" feedback, each of two paried inputs is connected to a "microswitch", and each of the switches is activated physically by opposite ends of the turnout point throw. A specific type of LocoNet messaging is used when "exact" feedback is configured. If you configure the LocoNet device to report via "exact" feedback messaging but are using only one of the inputs (as "single-sensor" feedback reporting), then the other input of the pair will generally _also_ use that messaging type. If you use that other input for some other purpose, like occupancy detection, you will likely get the "exact" feedback message type. Many software packages make it difficult to make use of information found in "exact" feedback messages for purposes other than turnout position feedback. JMRI is one of those packages which do not (easily) allow interpretation of LocoNet "exact" turnout messaging for anything other than turnout position reporting. If you are implementing "single-sensor" turnout position feedback using "exact" turnout position LocoNet messaging, then it would be better to configure the MGP so that the inputs are treated as "general sensors", and simply configure JMRI's L2Txxx turnout's feedback to be sensitive to one of the "L2Syyy" messages. With that configuration, the "L2Syyy" would be for turnout position feedback and "L2S(yyy+1)" could be used for other purposes, such as a block occupancy input. With your MGP device properly configured to report via general sensor LocoNet messaging, it is necessary to configure JMRI properly. Any JMRI turnout which uses two microswitches to report "exact" feedback via general sensor LocoNet messaging needs to be configured for JMRI "two sensor" feedback. Any JMRI turnout which uses one microswitche to report "exact" feedback via general sensor LocoNet messaging needs to be configured for JMRI "one sensor" feedback. Regards, Billybob |
Locked
Re: Probem with feedback from MGP sensor.
Hi Billybob
You can call me Bosse.
?
My setting is Roco, Roco Z21 in Preferences now I have added Digitrax, BT Locobridge
and goes towards the bluetooth interface to MGP servers and sensors on the advice of Anders and then it works.
?
I send with 3 different logs from JMRI that are taken at the same time?
when a locomotive passes the blocks.
?
Regards Bosse
?
?
Monitor LocoNet JMRI
?
13:24:24.252: [A0 02 24 79]? Set speed of loco in slot 2 to 36.
13:24:26.008: [B2 65 50 78]? Sensor L2S203 (B1-B2) is High.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
13:24:26.971: [B2 64 60 49]? Sensor L2S202 (2-East) is Low.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02).
13:24:36.486: [B2 48 51 54]? Sensor L2S401 (2-West) is High.? (BDL16 # 26, DS1; DS54/DS64 # 51, AuxA/A1).
13:24:37.115: [B2 65 40 68]? Sensor L2S203 (B1-B2) is Low.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
13:24:41.149: [B2 65 70 58]? Sensor L2S204 (G1-G2) is High.? (BDL16 # 13, DS12; DS54/DS64/SE8c # 26, SwiB/S2/DS04).
13:24:41.149: [B1 6F 70 51]? Turnout L2T112 () Switch input is Closed (input off).
13:24:41.701: [B2 48 41 44]? Sensor L2S401 (2-West) is Low.? (BDL16 # 26, DS1; DS54/DS64 # 51, AuxA/A1).
13:24:47.750: [B2 64 70 59]? Sensor L2S202 (2-East) is High.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02).
13:24:48.170: [B2 65 60 48]? Sensor L2S204 (G1-G2) is Low.? (BDL16 # 13, DS12; DS54/DS64/SE8c # 26, SwiB/S2/DS04).
13:24:53.953: [B2 65 50 78]? Sensor L2S203 (B1-B2) is High.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
13:24:54.495: [B2 64 60 49]? Sensor L2S202 (2-East) is Low.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02).
13:25:04.006: [B2 48 51 54]? Sensor L2S401 (2-West) is High.? (BDL16 # 26, DS1; DS54/DS64 # 51, AuxA/A1).
13:25:04.575: [B2 65 40 68]? Sensor L2S203 (B1-B2) is Low.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
13:25:08.651: [B2 65 70 58]? Sensor L2S204 (G1-G2) is High.? (BDL16 # 13, DS12; DS54/DS64/SE8c # 26, SwiB/S2/DS04).
13:25:08.651: [B1 6F 70 51]? Turnout L2T112 () Switch input is Closed (input off).
13:25:09.192: [B2 48 41 44]? Sensor L2S401 (2-West) is Low.? (BDL16 # 26, DS1; DS54/DS64 # 51, AuxA/A1).
13:25:15.218: [B2 64 70 59]? Sensor L2S202 (2-East) is High.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02).
13:25:15.658: [B2 65 60 48]? Sensor L2S204 (G1-G2) is Low.? (BDL16 # 13, DS12; DS54/DS64/SE8c # 26, SwiB/S2/DS04).
13:25:21.429: [B2 65 50 78]? Sensor L2S203 (B1-B2) is High.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
13:25:21.969: [B2 64 60 49]? Sensor L2S202 (2-East) is Low.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02).
13:25:31.509: [B2 48 51 54]? Sensor L2S401 (2-West) is High.? (BDL16 # 26, DS1; DS54/DS64 # 51, AuxA/A1).
13:25:32.047: [B2 65 40 68]? Sensor L2S203 (B1-B2) is Low.? (BDL16 # 13, DS11; DS54/DS64/SE8c # 26, AuxB/A2/DS03).
13:25:33.619: [A0 02 22 7F]? Set speed of loco in slot 2 to 34.
13:25:33.732: [A0 02 0B 56]? Set speed of loco in slot 2 to 11.
13:25:33.828: [A0 02 00 5D]? Set speed of loco in slot 2 to 0.
13:25:33.952: [A0 02 00 5D]? Set speed of loco in slot 2 to 0.
?
Monitor Z21LocoNet JMRI
?
13:24:24.506: [A0 02 24 79]? Set speed of loco in slot 2 to 36.
13:24:41.513: [B1 6F 70 51]? Turnout LT112 () Switch input is Closed (input off).
13:25:09.528: [B1 6F 70 51]? Turnout LT112 () Switch input is Closed (input off).
13:25:34.539: [A0 02 22 7F]? Set speed of loco in slot 2 to 34.
13:25:34.539: [A0 02 0B 56]? Set speed of loco in slot 2 to 11.
13:25:34.539: [A0 02 00 5D]? Set speed of loco in slot 2 to 0.
13:25:34.539: [A0 02 00 5D]? Set speed of loco in slot 2 to 0.
?
Monitor XpressNet JMRI
?
13:24:24.610: [EF 00 03 04 24 00 00 00 00 CC 00 00 00 00 00 00 00]? ?EF 00 03 04 24 00 00 00 00 CC 00 00 00 00 00 00 00
13:25:33.635: [EF 00 03 04 22 00 00 00 00 CA 00 00 00 00 00 00 00]? ?EF 00 03 04 22 00 00 00 00 CA 00 00 00 00 00 00 00
13:25:34.636: [EF 00 03 04 0B 00 00 00 00 E3 00 00 00 00 00 00 00]? ?EF 00 03 04 0B 00 00 00 00 E3 00 00 00 00 00 00 00
13:25:34.638: [EF 00 03 04 00 00 00 00 00 E8 00 00 00 00 00 00 00]? ?EF 00 03 04 00 00 00 00 00 E8 00 00 00 00 00 00 00
13:25:34.638: [EF 00 03 04 00 00 00 00 00 E8 00 00 00 00 00 00 00]? ?EF 00 03 04 00 00 00 00 00 E8 00 00 00 00 00 00 00
? |
Locked
Re: DCS52, Loksound Select, JMRI Eror 308 during identify decoder
¿ªÔÆÌåÓýDave, Thanks, I will verify this tonight, and see how it goes. Hopefully all will be resolved once I am in Direct Mode. Regards James On August 4, 2019 at 10:51 PM Dave Heap <dgheap@...> wrote:
|
Locked
Re: Probem with feedback from MGP sensor.
¿ªÔÆÌåÓýOK,
I read a submitter that TC silver had to recalculate the feedback after a formula when it was INPUT-REP but not when it was SW_REP could there be such a problem?Don't think so. TC-silver uses the Digitrax way of looking at addresses, with the addresses split up as a "card address" + "input number". The address you work with in the decoders and see in the logs are the plain LocoNet addresses. If there would be a "address mapping problem" in Z21, then you would probably still see a message in the logs, but then with the mapped address. Hope someone can understand what happens when the message goes the Z21->JMRI way. mvh/anders
Den 2019-08-05 kl. 08:54, skrev
bossevest@...:
|
Locked
Dcc4pc simulator or lack thereof
I might be overlooking something but I can't find a setting to create a dcc4pc connection using simulated hardware. I haven't yet purchased any dcc4pc hardware and was wanting to create a version of my layout with simulated hardware to get a feel for how it might work before committing to a purchase. Thanks Matthew Chambers, CBT, NR0Q M Chambers Communications Engineering LLC Contract Broadcast Engineer & 2-Way Radio Sales & Service Excuse my typos, I sent this email from my Samsung Galaxy Tab A Tablet |
Locked
Re: Probem with feedback from MGP sensor.
Hello Anders.
?
I wrote the wrong address on "SW_REP: address 201 state: closed" should be 112.
My setting was Roco, Roco Z21 in Preferences now I added Digitrax, BT Locobridge.
I got another tab in table sensors named LokoNet where I put my sensors.
Now I get the feedback "INPUT_REP: address: 202 state: LO" in Monitor LocoNet in JMRI.
Now the blocks in JMRI also work.
When I look at the logs Z21XpressNet, X21LocoNet and LocoNet then only the Loconetlog responds when I run into a block. I read a submitter that TC silver had to recalculate the feedback after a formula when it was INPUT-REP but not when it was SW_REP could there be such a problem?
Thank you for the tip about going on Bluetooth? now it works.
?
Regards.
Bosse |
Locked
Re: Probem with feedback from MGP sensor.
¿ªÔÆÌåÓýHej Bo and others On the LocoNet you have a track occupancy that can be seen on LocoNet but not in JMRI ("INPUT_REP: address: 202 state: LO" - that is "B2 64 60 49" ). Other messages, like feedback from a turnout ("SW_REP: address 201 state: closed", that is "B1 48 71 77") works well. The track occupancy feedback seems to get stuck in the Z21 and
not seen by JMRI, There is no problem with that type of occupancy detector when the
LocoNet is connected directly to JMRI though an interface like the
Bluetooth interface or LocoBuffer USB. One thing comes to my mind. Bo, have you tried to connect JMRI directly to LocoNet through e.g. the Bluetooth interface and if so, can JMRI then see all the messages? mvh/anders
Den 2019-08-04 kl. 14:59, skrev
bossevest@...:
|
Locked
Re: DCS52, Loksound Select, JMRI Eror 308 during identify decoder
¿ªÔÆÌåÓýJames,
Almost (if not) all modern decoders support Direct mode programming (read/write). Direct mode is very much faster and (for many DCC systems and decoders) gives more reliable results. JMRI is coded to know what mode(s) each decoder definition supports. Most modern DCC systems support Direct mode. JMRI is coded to know what mode(s) each system supports) and in many cases the list has been ordered to prioritise the fastest. Trying to read a modern ESU decoder in Paged mode can take an hour or more depending on DCC system. A V4/Select has ~1,000 CVs and a LokSound 5 has ~2,000 CVs. Dave in Australia |
Locked
Re: DCS52, Loksound Select, JMRI Eror 308 during identify decoder
¿ªÔÆÌåÓýDave, I will test Monday night when I get back to the system, using Direct Mode and making the preference changes as well. Can CV's be read in Direct Mode, and is this true for all decoder brands, trying to idiot proof how to do this, without having to switch between paged and direct mode? Two of the units tested, were N Scale, and there is no V5 in an N Scale package from what I understand, the drop in N Scale decoders will remain Selects for now. The Scaletrains unit is a rivet counter unit, so it should have a select in it, the Kato unit is a select per the instructions sheet and labeling of the box. The HO Scale Rapido SW1200RS, is a select from my understanding, I don't believe it's a V4, and while it's reasonably new, the production build is probably to old to be a V5, as I don't think that they were available at that point in time, but I will confirm on Monday. None of the 3 locomotives tested, have keep-alives, based.on removing them from track power and headlights turning off immediately. I will also try the test you did with track power to see if it does the same thing. Regards James On August 4, 2019 at 6:52 PM Dave Heap <dgheap@...> wrote:
|
Locked
Re: Probem with feedback from MGP sensor.
bossevest,
(Is that a "friendly name"? If not, please provide us something to call you.) Below is information about LocoNet messaging and JMRI. I have _zero_ experience and knowledge about Z21, so cannot help at that level. Please provide the hexadecimal values related to one of the problematic LocoNet messages. Without seeing the actual hexadecimal LocoNet message information, I cannot tell exactly what type of message is being used, and so cannot predict how JMRI's LocoNet functionality is likely to react. There are at least two types of LocoNet messages that you could be seeing. The exact message type used will impact what JMRI can do with the message. The "General Sensor" LocoNet message form can be used as a source for JMRI "occupancy" information (among other things). The "Switch feedback" is only used by JMRI for switch point position information. It is likely that the MGP device can be re-configured to generate the "correct" LocoNet message type. If that is done, then you should be able to easily configure JMRI so the JMRI block follows the MGP "general sensor". Exactly how that can be done is something that I do not have a good answer to, as I have not done any work with MGP's devices acting as sensor inputs. A skilled programmer _might_ be able to implement code to see a "switch feedback" LocoNet message and interpret it as containing "general sensor" information, and update a JMRI sensor based on that interpreted information. Such a mechanism would be needed for each case where the "wrong" type of message is being sent. It seems like a poorer solution than the MGP device re-configuration. Regards, Billybob |
Locked
Re: Where to put shutdown.py script and how to use it?
#scripting
toggle quoted message
Show quoted text
On Aug 3, 2019, at 3:39 PM, Dave Sand <ds@...> wrote:
|
Locked
Re: Java heap error. Solved?
David,
On 5 Aug 2019, at 8:45 AM, David Klemm <davidklemm7511@...> wrote:In most cases, good advice. Any "decoders" folder and the "decoderIndex.xml" found in User Files Location are best quarantined, they often indicate installation of between-releases updates, with possible issues after a new release. Dave in Australia |
Locked
Re: DCS52, Loksound Select, JMRI Eror 308 during identify decoder
¿ªÔÆÌåÓýJames,
It sounds like a DCC system-specific issue, or a loco-specific issue. Try turning off the caching options in Preferences->Roster->Programmer. (Enable Show CV numbers in tooltips but turn the rest off). I assume the loco doesn't have a keep-alive? Don't assume a Select, ScaleTrains also used the ESU Essential Sound Unit (a cut-back 5) and may now be using the 5. JMRI knows about identifying all these. Just now doing ?some tests with my test decoders, I found that one Select I had been recently identifying correctly was having trouble (indicated by switching to Paged mode). Switched decoder tester to track power, made coupler activation noises and then went silent. Switched back to Program Track and all was well. Seemed as if decoder was trying to use program track power to activate coupler sound (ESU decoders remember function states) and upsetting CV reading! First time I've seen that particular problem. Always use Direct mode with all ESU decoders, despite some OEMs' advice to the contrary. Dave in Australia |
Locked
Re: Java heap error. Solved?
¿ªÔÆÌåÓýAnother member was at the club today and found something while googling the issue and here is what I got from him. ?The local decoder file and decoder index.xml cause the bug. ?I pulled them into a quarantine folder on the desktop and it fired up okay. ?Seems to work without putting them back, internet said it would. ?Just dump both before updates to avoid. David Klemm
|
Locked
Re: Java heap error
¿ªÔÆÌåÓýDave/Ken;My hunch last night was confirmed today. ?I started up DP and after a bit I attempted to go to get the log file and still got an error. ?I uploaded a screen shot of the error in the folder David K under problems being worked on.
I did go to the roster folder and it has 1195 entries. ?Though about half would be duplicates as they have a .bak extension. ?I know that there are a lot of Lok Sound decoders in there as well. ?I don¡¯t believe there are photographs. ?I forgot
to look at the amount of RAM on the PC before I left. David Klemm
|
Locked
New file uploaded to [email protected]
[email protected] Notification
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the [email protected] group. File: Java Error.pdf Uploaded By: David Klemm Description: You can access this file at the URL: Cheers, |
Locked
Re: Probem with feedback from MGP sensor.
On Aug 4, 2019, at 8:59 AM, bossevest@... wrote:I have never heard of this particular sensor. Can you point to any documentation on it? The feedback that does not arrive I can see the log on the loconet where the sensor is located but not in the log on JMRI Z21LocoNet or Z21XpressNetI am having some trouble deciphering this statement. There are three different monitors involved here: The raw Z21 communication monitor The XPressNet communication monitor The LocoNet communication monitor The Raw Z21 communication monitor shows all of the communication between the computer and the Z21. The XpressNet and LocoNet monitors show the communication in those message formats once the raw Z21 headers have been removed. Since you are talking about a LocoNet device, the communication should appear in both the Raw Z21 monitor ( where it may or may not be translated into human readable form ) and the LocoNet monitor. I read your statement above as saying that isn¡¯t happening. Do I have that right, or are you seeing the messages in both places. The feedback name is: INPUT_REP: address: 202 state: LOMy experience with LocoNet feedback is pretty limited. I will need to defer to someone else on those particular LocoNet messages. Paul |
Locked
Re: DCS52, Loksound Select, JMRI Eror 308 during identify decoder
¿ªÔÆÌåÓýHi All,I forgot to add to my original post, that i am using Java 1.8.0_211 and that reading Soundtraxx Decoders works just fine on the same programming track, in this case an Athearn Genesis SD70ACe with factory sound. James On Aug 4, 2019, at 2:08 PM, James Koretsky <jameskoretsky@...> wrote:
|