Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: Java heap error
David K,
My memory recalls some issues where there were a lot of roster entries and many with large pictures. The effect was a Java memory error because it was trying to process every roster entry, and photo attached. That took all the memory and some. The way the photos are used only needs about 100k for resolution. On throttles you never see a real big picture so it doesn't matter. In this case a club had cataloged everything with a new phone and that was around 3Meg per picture, quite a few hundred roster entries as I recall. The original roster was around 5-10Gig and that crashed things. After downsizing the pictures, all was well. You would have to go into the roster, via Help->Locations, and use the detailed view in the file browser to see what size things were. Not sure if this fits but was something that triggered bad in the Java side of JMRI. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Java heap error
¿ªÔÆÌåÓýLooking for advice on what to do on a PC that is used only for programming locos. I only upgrade it to the production versions so last month I went from the version last Dec 2018 to 4.16. The machine is not ?on the internet.?
All seemed well until today when we got the fatal java error. The machine has java 1_8_0_221. Windows 7.?
Suggestions? ?Decoder Pro opens and can pull up the roster and then the error occurs. I don¡¯t think the steps matter, I think it is after a minute or so the error. I shut down and restarted the PC and still get the error.?
David Klemm
Xs Max
|
Locked
Re: Destination track missing from manifest at first stop. Long
#operationspro
Dave,
The default is for "Truncate" is disabled.? Note that the truncate option only applies to locations that have switchlists enabled. Dan |
Locked
Re: DecoderPro &ESU LokSound Factory reset
Frank,
On 4 Aug 2019, at 1:46 AM, Frank in Houston <upitrr@...> wrote:All CVs are reset by an ESU (JMRI Program Track->Resets menu). Once you've Reset, Read All CVs as per my earlier instructions, saved and closed the roster entry, you can: - Reopen the saved Roster Entry using Program on Main. - Put loco on Main and activate sound. - Go to Sound Levels pane. - Move the slider for Random Sounds to zero. Write Changes on Sheet. See if sound stops. - Move the slider for Sound Slot 1 to zero. Write Changes on Sheet. See if sound stops. - Move the slider for Sound Slot 2 to zero. Write Changes on Sheet. See if sound stops. - Move the slider for Sound Slot 3 to zero. Write Changes on Sheet. See if sound stops. - Repeat as needed until you find the offending sound slot. Once found, get back to us with the information for further instructions. Dave in Australia |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
¿ªÔÆÌåÓý
using IP already, and port number is correct.
hmm... kinda looks like i will have to manipulate MQTT some other way. I have a Raspberry Pi 4 that i was thinking of using as the "train" desktop. should be a good way to bypass whatever is on this computer blocking the connection. ;)
In any event, thanks?Dave, for your help!
~Travis
From: [email protected] <[email protected]> on behalf of Dave <db.mcmorran@...>
Sent: Saturday, August 3, 2019 5:11 PM To: [email protected] <[email protected]> Subject: Re: [jmriusers] JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server ?
Obviously it is trying to make the connection at startup. You get that error if the hostname is unreachable or the port number is incorrect (verified by changing the hostname of my broker to something fictitious). Try using the ip address. If that works,
then dig deeper to find why the name resolution is not finding it. Check the correct port number. Some Windows firewall products block outgoing connections based on the application being used so it could still be that. - Dave Mc |
Locked
Re: Multi decoders in a loco. How do I program them in DP?
On Sat, Aug 3, 2019 at 02:54 PM, Pete Mulvany wrote:
Since the Soundbug uses different CVs (except for address and CV 29) than the mobile decoder it's connected to, there is no real need to do this. -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Re: restoring sensors and blocks
Thomas,
Reading is what I would try first. Then writing something simple. If they are not responding, I'll guess they might only need a reset and then restore the addresses. Then dump the saved roster file to the board. You did save the roster entry when you programmed the board originally? GPON referrers to the 'global power on' and it is a set of messages asking all turnouts and sensors to report their current state during the power on of the command station. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: Multi decoders in a loco. How do I program them in DP?
Pete,
That is a method many use for decoders. The biggest trick is knowing the values for the short address. I use single digits and either paint a number, make scratches, or something on the bottom/hidden, to remind me. Then that single command to change CV29 back and forth does the trick. Now the theory of the soundbug is that there aren't conflicts, both decoder get the same values when they use the same value, but you would get read conflicts since neither responses at the same moment. Most of the values do not exist in each decoder, only one or the other. I keep them separate as I don't trust both doing something at the same time. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: Multi decoders in a loco. How do I program them in DP?
There is no way for JMRI to see the Soundbug as it doesn't provide any acknowledge
Manually select the appropriate SFX Sound Only Decoder from the digitrax list and create a roster entry and program from there. I suggest you read the manual for it and maybe check the Digitrax website for any specifics regarding programming this decoder. -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
Obviously it is trying to make the connection at startup. You get that error if the hostname is unreachable or the port number is incorrect (verified by changing the hostname of my broker to something fictitious). Try using the ip address. If that works, then dig deeper to find why the name resolution is not finding it. Check the correct port number. Some Windows firewall products block outgoing connections based on the application being used so it could still be that.
- Dave Mc |
Locked
Re: restoring sensors and blocks
Ken,
toggle quoted message
Show quoted text
I did try to program on the main with one of the boards. Nothing seemed to happen. The value boxes remained red after trying to write them. There are ¡°read¡± and ¡°compare¡± buttons as well. Are they what you are referring to on the configuration of the boards in JMRI Decoder Pro in the roster entry for those boards. Im not sure what GPON stands for. It seems that I had more luck programming these boards on the the programming track when instilling them instead of on the layout in programming on the main, so I think I will pull it from the layout and take it to the programming track. Thomas Cain Indianapolis, IN atsf93@... See my NEW website and layout at www.atsf93.com Modeling the Eastern Illinois Santa Fe from the prototype On Aug 2, 2019, at 7:53 AM, Ken Cameron <kcameron@...> wrote: |
Locked
Re: Multi decoders in a loco. How do I program them in DP?
You had best go to the Digitrax group, if there is one, ask Digitrax or read the
toggle quoted message
Show quoted text
instructions for the Sound Bug and if you don't have them, download them from the Digitrax site. Just a guess and from a weak memory, you give each decoder a unique address, program them the way you want, then give both decoders the same address. John ---------- Original Message ---------- |
Locked
Re: Multi decoders in a loco. How do I program them in DP?
Pete Mulvany
I wonder if you could use the long and short addresses to separate them out for programming?? Could you first set the short addresses of each one to be different and the long addresses to be the same. Maybe use the 4-digit cab number for the long address in both, then use the first 2 digits for the short address of the Soundbug and the second 2 digits for the short address of the motor decoder.
Then set CV29 to use the short address in each, program each one as required by its different short address. Then set CV29 in each back to the long address for operations where they would both respond to the long address. Pete |
Locked
Multi decoders in a loco. How do I program them in DP?
I have a Soundbug and a motor decoder in a loco. DP only sees the motor decoder. Thanks in advance.?
Jim K |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
toggle quoted message
Show quoted text
From: [email protected] <[email protected]> on behalf of Travis Farmer <travis.farmer@...>
Sent: Saturday, August 3, 2019 4:35 PM To: [email protected] <[email protected]> Subject: Re: [jmriusers] JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server ?
before i can setup devices, do i not have to establish a connection to the broker at startup?
~Travis
From: [email protected] <[email protected]> on behalf of Dave <db.mcmorran@...>
Sent: Saturday, August 3, 2019 4:22 PM To: [email protected] <[email protected]> Subject: Re: [jmriusers] JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server ?
Travis,
I doubt that JMRI will attempt to make a connection to the broker until it has an MQTT device created. - Dave Mc. |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
¿ªÔÆÌåÓý
before i can setup devices, do i not have to establish a connection to the broker at startup?
~Travis
From: [email protected] <[email protected]> on behalf of Dave <db.mcmorran@...>
Sent: Saturday, August 3, 2019 4:22 PM To: [email protected] <[email protected]> Subject: Re: [jmriusers] JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server ?
Travis, I doubt that JMRI will attempt to make a connection to the broker until it has an MQTT device created. - Dave Mc. |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
Travis,
I doubt that JMRI will attempt to make a connection to the broker until it has an MQTT device created. - Dave Mc. |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
¿ªÔÆÌåÓý
1) i have yet to get MQTT working on JMRI.
2) none yet, as i have yet to get it working. then i will build devices (Arduino based). I am using MQTT Explorer for checking pubs and subs.
3) "/trains/"
~Travis
From: [email protected] <[email protected]> on behalf of Dave <db.mcmorran@...>
Sent: Saturday, August 3, 2019 4:07 PM To: [email protected] <[email protected]> Subject: Re: [jmriusers] JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server ?
Travis, When did it last work for you? What MQTT devices have you set up? What channel name do you have? If you have the wild card on the end of the channel name, remove it, it no longer applies. Regards, Dave Mc. |
Locked
Re: JMRI 4.16, fails to connect to my LAN MQTT Mosquitto Broker/Server
Travis,
When did it last work for you? What MQTT devices have you set up? What channel name do you have? If you have the wild card on the end of the channel name, remove it, it no longer applies. Regards, Dave Mc. |
Locked
Re: Where to put shutdown.py script and how to use it?
#scripting
Jason,
toggle quoted message
Show quoted text
- 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: |
to navigate to use esc to dismiss