开云体育


Re: Difference Between Compare and Reset #decoderpro

 

开云体育

Continuing the conversation, Don responds:

?

      Are you saying that CV 19 would somehow elude the Compare?

Not likely – CV19 is just another location in the decoder to be compared to the data stored in the record in the Decoder Pro Decoder index.

This could be tested by changing CV19 in either the decoder itself or in the record in Decoder Pro, then running the compare function on the CV page.


      You read the part where I say the settings had been working... for years in fact, right? No mysterious brake, BEMF, consist, or the like. And Economies don't, to my knowledge, have Drive Hold, Reverser Centered, or such features that could even accidentally be activated.

Yes, I did.

The symptoms are identical to those reported previously by others where the braking functionality _has_ been revealed to be the cause.? While you are adamant this is not the case (no reason to doubt you), the symptoms _do_ seem to match that possibility.

So, if not braking related, what is left?

From your description, a reset decoder works fine until the values stored in Decoder Pro are written to the decoder, at which time the decoder ceases to respond.

I don’t recall the specifics;? Can you share the make and model of both your DCC system and the decoder again??

After you issue the decoder reset command, the loco/decoder responds at short address three, correct?

And after that you write the data stored in Decoder Pro back to the decoder, correct?

Does writing the settings from Decoder Pro back to the decoder itself result in the address being changed from short address 3 to some other address (short or long), and that is the address the decoder is not responding to?

I’m starting to suspect some type of potential disconnect between data loaded into the decoder via the reset, and data the command station has stored in regard to the address that doesn’t work after the decoder data is written to the decoder.

Various DCC systems store different pieces of data about a loco/decoder in their memory.

I’m not a specialist on the internal workings of various command stations, so folks with knowledge of your specific system’s internal workings would have to chime in here.

Hopefully this will give you some additional paths to explore.

Keep us posted.

Best regards,

Steve

Steve Haas

Snoqualmie, WA











?

Regards


Re: Cannot start to read decoders

 

True. The complete session would be best, but that runs the risk of getting not just one session but the last - many (from the "other" file). You're right, I should have been clearer.

Wouter

On Thu, 3 Apr 2025 at 20:58, Dave Sand via <ds=[email protected]> wrote:
Wouter,

"salient part" is subject to missing important data.

Dave Sand



----- Original message -----
From: "whmvd via " <vandoornw=[email protected]>
Subject: Re: [jmriusers] Cannot start to read decoders
Date: Thursday, April 03, 2025 2:53 PM

Erik,

You can either do a cut-and-paste of the salient part, or add the file to directory "problemsbeingworkedon" in the file area, following that with the posting of a link to it in this thread.

Wouter

On Thu, 3 Apr 2025, 20:26 erik via , <erik=[email protected]> wrote:
Wouter,
can you please explain how to post the logfile here so one knows it belongs to this discussion?
Thank you
Erik





Re: Cannot start to read decoders

 

Wouter,

"salient part" is subject to missing important data.

Dave Sand



----- Original message -----
From: "whmvd via groups.io" <vandoornw=[email protected]>
Subject: Re: [jmriusers] Cannot start to read decoders
Date: Thursday, April 03, 2025 2:53 PM

Erik,

You can either do a cut-and-paste of the salient part, or add the file to directory "problemsbeingworkedon" in the file area, following that with the posting of a link to it in this thread.

Wouter

On Thu, 3 Apr 2025, 20:26 erik via , <erik=[email protected]> wrote:
Wouter,
can you please explain how to post the logfile here so one knows it belongs to this discussion?
Thank you
Erik





Re: Cannot start to read decoders

 

Erik,

You can either do a cut-and-paste of the salient part, or add the file to directory "problemsbeingworkedon" in the file area, following that with the posting of a link to it in this thread.

Wouter


On Thu, 3 Apr 2025, 20:26 erik via , <erik=[email protected]> wrote:
Wouter,
can you please explain how to post the logfile here so one knows it belongs to this discussion?
Thank you
Erik


Re: Cannot start to read decoders

 

Erik,

Go to "Help -> System Console". ?Click on the "Copy to clipboard" button and paste into a reply.

Dave Sand

----- Original message -----
From:?erik@...
Subject: Re: [jmriusers] Cannot start to read decoders
Date: Thursday, April 03, 2025 2:25 PM

Wouter,
can you please explain how to post the logfile here so one knows it belongs to this discussion?
Thank you
Erik


Re: Cannot start to read decoders

 

Wouter,
can you please explain how to post the logfile here so one knows it belongs to this discussion?
Thank you
Erik


Re: Train tracking, dealing with gaps #traintracking

 

George,

Maybe you could put a long going "inactive delay" on block A. ?Or both if bi-directional.

Dave Sand



----- Original message -----
From: "George Hofmann via groups.io" <george.hofmann=[email protected]>
Subject: Re: [jmriusers] Train tracking, dealing with gaps #traintracking
Date: Thursday, April 03, 2025 1:54 PM

Dave
I think LogixNG would work here. I tried putting a dummy block in between that was constantly occupied but that did not work unsurprisingly.
?
But I'm confused about your third option. I'm already not telling JMRI that a gap exists. As far as it knows the two monitored blocks are abutting even though physically they are not. It's just that block A goes dark before block B lights up.?
?
Thanks for the help.
George
?


Re: Train tracking, dealing with gaps #traintracking

 

Dave
I think LogixNG would work here. I tried putting a dummy block in between that was constantly occupied but that did not work unsurprisingly.
?
But I'm confused about your third option. I'm already not telling JMRI that a gap exists. As far as it knows the two monitored blocks are abutting even though physically they are not. It's just that block A goes dark before block B lights up.?
?
Thanks for the help.
George
?


Re: How to delete a turnout with jython

 

Ralph,
?
In agreement with the previous posters on this thread, the concept of dynamically removing track seems like something for a bad horror movie.? Really?
?
However, since Sensors and Turnouts are both bean objects, the postings /g/jmriusers/topic/108527414#msg234620 "Deleting Objects in Scripts" seems like it has the information requested.? Of course, the "why?" was not answered there either.
?
Happy destruction.? But keep it contained to your layout.
?
Cliff in Baja SoCal


Re: How to delete a turnout with jython

 

I like the symmetry of constructors and destructors. I do understand that automatic garbage collection was a primary justification for Java (yet another programming language), and destructors per se do not exist. Fortunately I found deleteBean() and now can blow away all kinds of stuff.
?
Anytime I have to deal with a new programming or scripting language (currently python/java for JMRI) I am reminded of a truly classic article from 1982. My hard copy that I have had since then is titled "Real Programmers Don't Write Pascal." At the time I was a proficient Fortran 66 user, and yes did use punch cards and JCL on IBM 360/370 mainframes and had worked at Sandia National Labs, so I appreciated the tongue in cheek humor. The article can still be found, https://en.wikipedia.org/wiki/Real_Programmers_Don't_Use_Pascal.
--
-Ralph


Re: Train tracking, dealing with gaps #traintracking

 

George,

If you can use a test release, JMRI 5.11.2 introduced a concept called a ghost block. ?The allows Dispatcher to simulate a train going through the ghost block.

If you are just looking at train tracking, you can create a virtual block and use Logix or LogixNG to simulate occupancy. ?

Another approach is to pretend the gap does not exist. ?Don't tell JMRI about the gap. ?Of course, that will not work if the gap is a turnout.

Dave Sand


----- Original message -----
From: "George Hofmann via groups.io" <george.hofmann=[email protected]>
Subject: [jmriusers] Train tracking, dealing with gaps #traintracking
Date: Thursday, April 03, 2025 1:06 PM

I created a nice panel for the museum layout and created train tracking markers on it. It works well except for one show stopping thing. At one spot in the loop there is a detection gap between blocks that kills the tracking. The gap is only 1 or 2 seconds.?
?
Is there a workaround for this? Increasing train length is not an option. Installing a new detector is not likely either.
?
George


Cars Returning to Staging #operationspro

 

Hello folks
?
I've been using JMRI for Operations for about 12 years, with good success, thanks in no small part to this forum.? I operate a windows 10 system computer with JMRI 5.10 with Java 17.? I use a 12 track staging yard which serves a large switching layout representing the Birmingham Industrial District (AL) in the steam era and very early diesel era.? The staging tracks hold about 12 to 15 or a few more cars.? There are two other smaller C/I yards and 7 interchange tracks,? plus individual industries and a steel mill.? We have monthly operating sessions.? The different trains and staging tracks represent the 9 trunk railroads that served Birmingham in the steam era.
?
Staged trains occupy a designated staging track - they always use the same one and return to the same one.? Staging tracks are numbered "-1 or -2", and trains are set for "trains may return to staging".? So, a train may leave staging 1-1 and then return to staging 1-2.? This has worked fine for years and still does, but with a difference.? ? (The overall goal of the RR's operation is to serve the on-layout steel mill, with multiple trains assembling required materials to deliver to the blast furnaces - not a part of this question.? Some trains originate at the two smaller C/I yards, rather than staging.)
?
Since upgrading to version 5.10 a month or two ago, I notice that some trains now show part of a (longer) train with cars going out to the layout and part of that same train being moved from the departure track to the future arrival track in staging.? In the past, prior to 5.10, I believe all the cars would leave staging, including those with no destination on the layout, and return to staging.? Basically these cars "took a ride" and then returned home.? The cars "taking a ride" would be included in the departing train's car count as well as the returning train's car count.? I liked having the "extra" cars taking a ride and increasing the interest of the various switching operations, and then returning to staging.
?
As an example, the NB L&N Local Freight, is assigned to staging 1-1, and has 18 cars in staging.? The build is successful and shows 9 cars departing for the layout, and 9 cars "moving" from track 1-1 to 1-2.? Upon inspection of the build report, I find that these 9 "stay at home"? cars have no destination on the layout -- either no room or no allowable location.? The 9 cars that do have an available destination go away, get set out and 9 new cars return from the layout.? The car count leaving and returning is 9 cars.? (It would previously have been 18 out and 18 back)
?
Now, I realize that I could instruct my operators to ignore the "move" instruction for cars remaining/returning to staging, but they get confused about the car count along the train's route.? I also realize I can just let the cars sit in staging rather than "go for a ride", but what's the fun in that?
?
There are also situations where the train may rightly move a car from an interchange track to a local industry.? This is OK and the car count for the train's advance is "correct".? So a "blanket" instruction to operators about ignoring "move" instructions wouldn't work either.
?
So, my question is, "cars returning to staging used to go out on the layout, and take a ride back to staging -- can this be made to happen as it used to?"? That is, the "move" instruction would have been a "P/U" instruction for leaving staging, and a "S/O" instruction upon return instead of what I'll call a "move to remain" instruction.
?
Thanks for the help.
?
John Stewart
Birmingham, AL?


Train tracking, dealing with gaps #traintracking

 

I created a nice panel for the museum layout and created train tracking markers on it. It works well except for one show stopping thing. At one spot in the loop there is a detection gap between blocks that kills the tracking. The gap is only 1 or 2 seconds.?
?
Is there a workaround for this? Increasing train length is not an option. Installing a new detector is not likely either.
?
George


Re: Train tracking markers lacking when editing #blocktracking

 

George,

What I do is use the shift click to added the block contents label (marker) and immediately do a right click to get the right click menu before moving the mouse.

Dave Sand



----- Original message -----
From: "George Hofmann via groups.io" <george.hofmann=[email protected]>
Subject: Re: [jmriusers] Train tracking markers lacking when editing #layouteditor #traintracking
Date: Thursday, April 03, 2025 8:39 AM

I found that if I drew a selection box around the invisible marker that it would appear as a tiny yellow box. Then if I right clicked the yellow box a popup menu would appear giving me a couple choices of "alignment" and nothing else. I clicked one of the alignment options in desperation. After doing that the marker turned black and stayed that way. Its right click menu then functioned normally.
?
Another way of forcing the marker to appear is to enter text in the value field of the block, a PITA.
?
Am I overlooking something or does this area need a little work?
?
The train tracking itself is working great.
?
George


Re: Script output delayed #scripting

 

Today I was watch other run trains....
?
one engineet was going in reverse. Nothing wrong with that, but as the lovomotive travelled, it activated the sensor, and the signal sequence for train going forward.
?
So, I need to check is the locomotive is going forward or backward before running the signal sequence.
?
At least I can do that.


Re: Train tracking markers lacking when editing #blocktracking

 

I found that if I drew a selection box around the invisible marker that it would appear as a tiny yellow box. Then if I right clicked the yellow box a popup menu would appear giving me a couple choices of "alignment" and nothing else. I clicked one of the alignment options in desperation. After doing that the marker turned black and stayed that way. Its right click menu then functioned normally.
?
Another way of forcing the marker to appear is to enter text in the value field of the block, a PITA.
?
Am I overlooking something or does this area need a little work?
?
The train tracking itself is working great.
?
George


Re: Script output delayed #scripting

 

Thank you Dave,
?
With what hardware I have (under the table) I'm trying to get the most effect above the table.
?
As switch machines and sensor get installed. the effect will be more reallistic.
Another rabit hole.
?
But for now I'm happy. I've also added a javascrpt in the webthrottle.hrml to turn the room lights on, and automatically turn them off in ten minutes. Giving the user/engineer ten miutes to drive the train with lights on. Electricity is not cheap runing 24/7


Re: How to delete a turnout with jython

 

Can I ask why you would want to remove a turnout dynamically?


Re: Cannot start to read decoders

 

Erik,

Someone might be able to look at this properly if you post the log-file for a session where you can't read a decoder. Meanwhile, it's best to stop re-installing things. It does not help in 99% of the cases anyway, except in making issues harder to track down.

Wouter

On Thu, 3 Apr 2025 at 11:35, erik via <erik=[email protected]> wrote:
Helle again,
?
I have nor reinstalled JMRI with the newest Java V17 and it still does not work...
Any Help from JMRI ??
?
Erik


Re: Problems with an SML Pair #signalmasts #sml

 

>This is probably caused by three turnouts in BD17
Last night I deleted paths and SML, removed/replaced masts and turnouts. After a rebuild it worked correctly. Nothing is obvious comparing the two files but as you imply there was something making the LayoutBlockManager think the two masts were unconnected. Must have been a hidden track segment zig-zag. Thanks!