Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
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:
|
Locked
Re: DCS52, Loksound Select, JMRI Eror 308 during identify decoder
¿ªÔÆÌåÓýHi All, I had one thought, could this be related to the firmware version contained in the LokSound Select decoders themselves, not being at a level high enough, or the reverse, that the firmware level is to new and JMRI is having an issue reading the decoder? Regards James On August 4, 2019 at 1:57 PM James Koretsky <jameskoretsky@...> wrote:
|
Locked
DCS52, Loksound Select, JMRI Eror 308 during identify decoder
¿ªÔÆÌåÓýHi All,
So what is the issue here, is this an issue with the DCS52, or some other issue, and why can I read the decoders CV values with the LokProgrammer and not JMRI.
|
Locked
Probem with feedback from MGP sensor.
Hi.
I have JMRI PanelPro - Z21 - MGB sensor (loconet). All feedback works except the feedback from the sensor when a locomotive passes the block. 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 Z21XpressNet
The feedback name is: INPUT_REP: address: 202 state: LO
"SW_REP: address 201 state: closed" goes well.
Is that the address I have to recalculate?
Any experience with the above problems?
?
bossevest@... |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
Travis, also get the MQTT broker running with verbose output that you can see. Mosquitto has an option to include a configuration file that can help with this.
(I had two JMRI instances running and would not have seen the rapid ACK exchanges if the verbose output was not shown.? Note for those who wants to do this, your "client" names can't be the same, so change one of the MQTT system names to MQTT2 in Preferences) And while watching the broker's output, you'll be able to see if JMRI is at least connecting and then subscribing. This will help getting all the network and firewall problems solved first. Speed |
Locked
Re: Java heap error
Key is right after the crash, before starting JMRI again, the session.log is
the last words of the system. Now it is also the last entry in the messages.log.1 file. If you had started JMRI again, then the messages.log.1 file would be the key, and this trail of prior issues sometimes helps too. It can show us what other things might have been happening or prior errors. Both of those are included with the 'Upload Debug Info...' tool. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: Can I have two points with the same DCC address on a control panel?
Thanks for all the advice guys, very helpful to get such helpful and good advice so quickly, I know where I am now!
|
Locked
Re: Java heap error
David K,
On 4 Aug 2019, at 12:15 PM, David Klemm <davidklemm7511@...> wrote:That's a further clue. Were you opening one of the new LokSound 5 decoder models? These need 512MB of Java Heap Space (over 2,000 CVs and around 10,000 individual settings to configure and display) and some low-memory machines can't provide this much heap space. The problem is likely to be worse if you combine this with large roster image files. Dave in Australia |
Locked
Re: Java heap error
In at least one or two occasions in the dim past, when the JMRI program quit suddenly, there were several extra lines of information in the session.log file than there were visible on the JMRI System console window. The extra "on the way down failure messages" in the log file did provide a clue as to what had gone wrong. Sometimes a subtle clue, but at least better than what could be copied from the screen. In short, I strongly endorse what Dave has said in this thread about additional info, but my preference would be for a copy of the text in the session.log file. Cliff in Baja SoCal |