¿ªÔÆÌåÓý

Date

Locked Re: Probem with feedback from MGP sensor.

 

¿ªÔÆÌåÓý

Hej Bo and others
I have no answer to what is wrong but some more info to those that know JMRI and perhaps Z21:

You have Z21 as an interface between JMRI and the LocoNet.

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,
? or it is transformed to a format not accepted by JMRI ( but then it should be seen on the JMRI log - or? ).

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.
In that case and with the JMRI "Monitor LocoNet", the log for "INPUT_REP: address: 202 state: LO" looks like:
? "[B2 64 60 49]? Sensor L2S202 () is Low.? (BDL16 # 13, DS10; DS54/DS64/SE8c # 26, SwiA/S1/DS02)"

One thing comes to my mind.
Is the examples that you have, a turnout with address 201 and a track occupancy with address 202, correct?
If so you probably have both turnouts and track occupancy using the same addresses 200-204?
That works normally on a stand alone LocoNet, but can Z21 handle it when transforming it to what ever format that is used between Z21 and JMRI?

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@...:

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?
?


Locked Re: DCS52, Loksound Select, JMRI Eror 308 during identify decoder

 

¿ªÔÆÌåÓý

James,

On 5 Aug 2019, at 12:10 PM, James Koretsky <jameskoretsky@...> wrote:

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?


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:

James,
?
?

On 5 Aug 2019, at 3:57 AM, James Koretsky < jameskoretsky@...> wrote:

It gets through reading CV8 and CV7, and then goes on to reading Set SI and Set PI before it comes up with Stopping due to error: No Acknowledge from Locomotive (308).

?


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: 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

 

¿ªÔÆÌåÓý

Dave,

Thank you for the response, I¡¯ll try this out and report back.

Thank you,

Jasen

Jasen


On Aug 3, 2019, at 3:39 PM, Dave Sand <ds@...> wrote:

Jason,

- Copy ShutDownExample.py to your user files location. ?See Help >> Locations for the actual path.
- Edit your private copy with a text editor. ?Avoid NotePad if using Windows. ?I use WordPad.
- Add a line after the "def execute(self):" line:
? ? ? ? turnouts.getTurnout(¡¯turnout name¡¯).setCommandedState(THROWN)
- Replace turnout name with the user or system name for the turnout that controls the funicular. ?Keep the quotes around the name.
- Make sure that the added line has the same number of leading spaces as the following lines.
- Go to Preferences >> Start Up
- Select Add >> Run script¡­
- Navigate to your user files location and select the shutdown script.
- Save your preferences change and restart.

The script will start when you start JMRI. ?It will then wait until JMRI is stopped, at which time it will send the turnout command.


Dave Sand




On Aug 3, 2019, at 2:11 PM, Jasen Krueger via Groups.Io <jasenk2@...> wrote:

Hi all,

I¡¯m wanting to set a turnout to throw when I shutdown JMRI. I¡¯m using a turnout control to turn on and off an automated funicular and when I shutdown I?want it to default to ¡°THROW¡± so it stops running even if the Arduinos still have power.

I see an example ?¡°ShutDownExample.py¡± but I don¡¯t understand where it should go and how to activate it since there is only a Start Up¡± in preferences.

Any help is much appreciated!

Thank you,

Jasen


Locked Re: Java heap error. Solved?

 

David,

On 5 Aug 2019, at 8:45 AM, David Klemm <davidklemm7511@...> wrote:

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

On 5 Aug 2019, at 3:57 AM, James Koretsky <jameskoretsky@...> wrote:

It gets through reading CV8 and CV7, and then goes on to reading Set SI and Set PI before it comes up with Stopping due to error: No Acknowledge from Locomotive (308).


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





On Aug 4, 2019, at 14:10, David Klemm <davidklemm7511@...> wrote:

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





On Aug 4, 2019, at 01:29, Dave Heap <dgheap@...> wrote:

David K,

On 4 Aug 2019, at 12:15 PM, David Klemm <davidklemm7511@...> wrote:

What I meant earlier was after starting DP, I clicked on an entry and then open programmer. Things stall and then the error.?

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

 

¿ªÔÆÌåÓý

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





On Aug 4, 2019, at 01:29, Dave Heap <dgheap@...> wrote:

David K,

On 4 Aug 2019, at 12:15 PM, David Klemm <davidklemm7511@...> wrote:

What I meant earlier was after starting DP, I clicked on an entry and then open programmer. Things stall and then the error.

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 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:
/g/jmriusers/files/ProblemsBeingWorkedOn/David%20K/Java%20Error.pdf

Cheers,
The Groups.io Team


Locked Re: Probem with feedback from MGP sensor.

 

On Aug 4, 2019, at 8:59 AM, bossevest@... wrote:
I have JMRI PanelPro - Z21 - MGB sensor (loconet). All feedback works except the feedback from the sensor when a locomotive passes the block.
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 Z21XpressNet
I 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: LO
"SW_REP: address 201 state: closed" goes well.
Is that the address I have to recalculate?
Any experience with the above problems?
My 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:

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:

Hi All,


I am having some issues with JMRI for the first time while I have been programming a Loksound Select decoder as part of using the Read type from decoder function. I am trying to standardize a process for some people to program their locomotives, and if they all do the same thing it might make them programming their own units simpler and not have to get me involved.


I am using a DCS52 (With USB Interface), a Lenovo Tablet running WIndows 10 Build 1803, JMRI Test Version 4.17.2+Re9dde08, and a Digirax for the System Manuifacturer, DCS52 USB Interface as the System Connection, the Serial Port is COM3, Command Station Type is DCS52 USB interface as standalone programmer, L as the Connection Prefix and LocoNet as the Connection Name.


Anyway, as part of the standard programming features for a new locomotive, I use the Read type from decoder button on the Create New Loco window, to keep things standard.


We had programmed some 15 units without sound, and all was going well. I knew there were limitations with some Soundtraxx Sound decoders due to the power requirements needed on to power up the decoder on the Programming track. Most of these locomotives are N Scale and there's very few N Scale units owned by members with Soundtraxx so wasn't worried about the setup for that, then I went to program our first Scaletrains N Scale unit with Factory Sound from ESU, a select I believe in N Scale, and ran into the problem.


It gets through reading CV8 and CV7, and then goes on to reading Set SI and Set PI before it comes up with Stopping due to error: No Acknowledge from Locomotive (308).


I added a Soundtraxx Programming booster, thinking that there wasn't enough power on the programming track to power the decoder, which by the way, I have never seen before on a LokSound Select not be able to have the cv values be read from the programming track before, but then again, I always use the LokProgrammer.


I am getting the same error with the programming track booster, as I was getting before adding the programming booster. This is happening on 3 different locomotives, one from Scale Trains, One from Kato and One from Rapido (HO Scale), all have Loksound Decoders. I myself use the LokProgrammer to program my LokSound decoders, and I don't want a different setup for Loksound units, as we're trying to build a roster of all lococomotives.The LokProgrammer reads the decoders without issue.


Non Sound decoders function just fine, as they should, I have ruled out the porgramming track wiring, as well as the USB connection to the Command station, as we've tried different cables, etc...


Using a throttle in JMRI, and setting the Command Station type to DCS52 (Zephyr Express), I am able to run locomotives on the track outputs of the DCS52, without any issue. So JMRI is communicating just fine with the DCS52 and all 3 Locomotives that I can't read the decoder value using the programming track function just fine with the throttle, in DCS52 (Zephyr Express) mode, but still get the same issue when trying to program..

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.


What am I missing here? Anyon


Regards


James


?


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:

Hi All,


I am having some issues with JMRI for the first time while I have been programming a Loksound Select decoder as part of using the Read type from decoder function. I am trying to standardize a process for some people to program their locomotives, and if they all do the same thing it might make them programming their own units simpler and not have to get me involved.


I am using a DCS52 (With USB Interface), a Lenovo Tablet running WIndows 10 Build 1803, JMRI Test Version 4.17.2+Re9dde08, and a Digirax for the System Manuifacturer, DCS52 USB Interface as the System Connection, the Serial Port is COM3, Command Station Type is DCS52 USB interface as standalone programmer, L as the Connection Prefix and LocoNet as the Connection Name.


Anyway, as part of the standard programming features for a new locomotive, I use the Read type from decoder button on the Create New Loco window, to keep things standard.


We had programmed some 15 units without sound, and all was going well. I knew there were limitations with some Soundtraxx Sound decoders due to the power requirements needed on to power up the decoder on the Programming track. Most of these locomotives are N Scale and there's very few N Scale units owned by members with Soundtraxx so wasn't worried about the setup for that, then I went to program our first Scaletrains N Scale unit with Factory Sound from ESU, a select I believe in N Scale, and ran into the problem.


It gets through reading CV8 and CV7, and then goes on to reading Set SI and Set PI before it comes up with Stopping due to error: No Acknowledge from Locomotive (308).


I added a Soundtraxx Programming booster, thinking that there wasn't enough power on the programming track to power the decoder, which by the way, I have never seen before on a LokSound Select not be able to have the cv values be read from the programming track before, but then again, I always use the LokProgrammer.


I am getting the same error with the programming track booster, as I was getting before adding the programming booster. This is happening on 3 different locomotives, one from Scale Trains, One from Kato and One from Rapido (HO Scale), all have Loksound Decoders. I myself use the LokProgrammer to program my LokSound decoders, and I don't want a different setup for Loksound units, as we're trying to build a roster of all lococomotives.The LokProgrammer reads the decoders without issue.


Non Sound decoders function just fine, as they should, I have ruled out the porgramming track wiring, as well as the USB connection to the Command station, as we've tried different cables, etc...


Using a throttle in JMRI, and setting the Command Station type to DCS52 (Zephyr Express), I am able to run locomotives on the track outputs of the DCS52, without any issue. So JMRI is communicating just fine with the DCS52 and all 3 Locomotives that I can't read the decoder value using the programming track function just fine with the throttle, in DCS52 (Zephyr Express) mode, but still get the same issue when trying to program..

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.


What am I missing here? Anyon


Regards


James


?


Locked DCS52, Loksound Select, JMRI Eror 308 during identify decoder

 

¿ªÔÆÌåÓý

Hi All,


I am having some issues with JMRI for the first time while I have been programming a Loksound Select decoder as part of using the Read type from decoder function. I am trying to standardize a process for some people to program their locomotives, and if they all do the same thing it might make them programming their own units simpler and not have to get me involved.


I am using a DCS52 (With USB Interface), a Lenovo Tablet running WIndows 10 Build 1803, JMRI Test Version 4.17.2+Re9dde08, and a Digirax for the System Manuifacturer, DCS52 USB Interface as the System Connection, the Serial Port is COM3, Command Station Type is DCS52 USB interface as standalone programmer, L as the Connection Prefix and LocoNet as the Connection Name.


Anyway, as part of the standard programming features for a new locomotive, I use the Read type from decoder button on the Create New Loco window, to keep things standard.


We had programmed some 15 units without sound, and all was going well. I knew there were limitations with some Soundtraxx Sound decoders due to the power requirements needed on to power up the decoder on the Programming track. Most of these locomotives are N Scale and there's very few N Scale units owned by members with Soundtraxx so wasn't worried about the setup for that, then I went to program our first Scaletrains N Scale unit with Factory Sound from ESU, a select I believe in N Scale, and ran into the problem.


It gets through reading CV8 and CV7, and then goes on to reading Set SI and Set PI before it comes up with Stopping due to error: No Acknowledge from Locomotive (308).


I added a Soundtraxx Programming booster, thinking that there wasn't enough power on the programming track to power the decoder, which by the way, I have never seen before on a LokSound Select not be able to have the cv values be read from the programming track before, but then again, I always use the LokProgrammer.


I am getting the same error with the programming track booster, as I was getting before adding the programming booster. This is happening on 3 different locomotives, one from Scale Trains, One from Kato and One from Rapido (HO Scale), all have Loksound Decoders. I myself use the LokProgrammer to program my LokSound decoders, and I don't want a different setup for Loksound units, as we're trying to build a roster of all lococomotives.The LokProgrammer reads the decoders without issue.


Non Sound decoders function just fine, as they should, I have ruled out the porgramming track wiring, as well as the USB connection to the Command station, as we've tried different cables, etc...


Using a throttle in JMRI, and setting the Command Station type to DCS52 (Zephyr Express), I am able to run locomotives on the track outputs of the DCS52, without any issue. So JMRI is communicating just fine with the DCS52 and all 3 Locomotives that I can't read the decoder value using the programming track function just fine with the throttle, in DCS52 (Zephyr Express) mode, but still get the same issue when trying to program..

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.


What am I missing here? Anyon


Regards


James


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:

What I meant earlier was after starting DP, I clicked on an entry and then open programmer. Things stall and then the error.
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