Hi,
I have been running transponding on my layout since about 2009 and have made changes to the scripts I use as JMRI has new releases.
I run two scripts, Transponding_Startup and Transponding. ?The first displays on the panel where locos are located at the startup of a run. ?It use MemoryVariables in the 6xxx range to store the loco address. ?The second displays the location of locos that are run during the normal running of the layout. ?It records the location of the locos using MemoryVariables in the 3xxx range. I use the script locostartup.py to run all locos at zero speed for 3 seconds to find the initial location block for each loco.
With JMRI 4.18 the Transponding_Startup.py script senses a loco at the correct location, but when the loco moves to another block the initial block location is removed. ?This should not happen as I have #ed out the 'departure' portion of the script. ?Further more if there are two locos in a block when one moves out to another transponding block both entries are disappear. ?If the loco returns to the original block both entries reappear. ?I can also follow this in the MemoryVariables table of JMRI Tools.
The files I use are:
Transponding_Startup_7_2-2020.py
Transponding_7_2_2020
Locostartup.py
The first two scripts have been added to Files, see Transponding.
Any help or advise would be appreciated.
Regards
Peter