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: Train Tracking
#traintracking
开云体育Dave Amendments done and all is working as it should. This is really good news for this is a problem which has been niggling me for months and will make our Ops sessions much easier. Many thanks for your help with this. Brian Clark On 16/11/2019 22:19, Dave Sand wrote:
|
Locked
Re: Write changes
Jerry,
On 17 Nov 2019, at 6:53 AM, gerardh1031@... wrote:Please be more specific about the family and model of TSU decoder you are using. This information is vital because, due to a firmware issue in the Power Pro, some CVs (any CV>256) in some TSU decoders cannot be written in Program Track mode and will cause the type of error you are seeing. The Function Map in some TSU decoders contains such CVs. The only workaround for these CVs is to read and save them in Program Track mode, then use Program On Main to make changes to those CVs. Dave in Australia |
Thanks Mick and Marc.? I thought I replied earlier, but might have accidentally hit Discard instead of Reply.? I checked PREFERENCES->DEFAULTS and all checked items were in the DCC++ row, all items were checked.? For good measure, I redownloaded all software - JMRI and DCC++.? Nothing has changed.? I will be borrowing an MRC DCC controller to validated that my decoder is functioning properly, will post results.? But as of now, no changes in the JMRI/DCC++ results.??
Russ |
Locked
Re: Write changes
Please provide the System Console log. This log is available under HELP, System log.? Copy to clip board and paste it to this thread.
Marc |
Locked
Re: Write changes
NCE PH PRo, Pro Cab and Soundtraxx decoders.?
Your message indicates that the last operation selected did not complete and it throws a " Programmer in Use" at you if you try and execute another operation. Older Soundtraxx decoders require? that a Program Track Booster be present, preferred is the Soundtraxx PTB-100. If this is a Tsunami2 PNP then PTB is not, required and something else is the source of issue. Marc |
Locked
Re: Train Tracking
#traintracking
toggle quoted message
Show quoted text
|
Locked
Re: Train Tracking
#traintracking
Brian, The script is designed to be started once and then activated as needed using the sensor. Use the following steps:
This will create a RTXINITIALIZER Logix which will be automatically invoked at the completion of panel loading. Now you can use the SetBlocks sensor to redo the check for active blocks without a value. Dave Sand ----- Original message ----- From: Brian & Cherry Clark <freyweslian@...> Subject: Re: [jmriusers] Train Tracking Date: Saturday, November 16, 2019 3:54 PM Dave Panel file uploaded to the same folder. File name Spokane Division.xml. Thanks for your help. Brian Clark On 16/11/2019 21:33, Dave Sand wrote: > Brian, > > I suspect the problem is not the script but how you are invoking it. > > To check that out, we will need to see the panel xml file. > > Dave Sand > > > > ----- Original message ----- > From: Brian & Cherry Clark <freyweslian@...> > To: [email protected] > Subject: Re: [jmriusers] Train Tracking > Date: Saturday, November 16, 2019 12:27 PM > > Dave > > Thanks for your help > > I have uploaded the file into ProblemsBeingWorkedOn new folder Brian Clark > > I thought I had been careful not to alter anything I didn't understand, > but seemingly not. > > Look forward to hearing from you > > Brian Clark > > On 16/11/2019 16:21, Dave Sand wrote: >> Brian, >> >> The script is designed to be started one time after the panel xml file has been loaded.? Each time the sensor is set active, it looks for occupied blocks that have no assigned value which causes a prompt to enter a value. >> >> It sounds like you have modified the script so that it no longer works as designed.? If you upload it the group's ProblemsBeingWorkedOn folder I can check your version of the script. >> >> Dave Sand >> >> >> >> ----- Original message ----- >> From: Brian & Cherry Clark <freyweslian@...> >> To: [email protected] >> Subject: Re: [jmriusers] Train Tracking >> Date: Saturday, November 16, 2019 9:46 AM >> >> Dave >> >> Thanks for your advice. >> >> I now have the script working ( having amended the original script I >> have saved this as SetBlocksValue2.py) and am able to allocate trains >> numbers from the .txt file. >> >> However there is one minor issue, which is when I activate the panel >> sensor (set as momentary) a box pops up saying 'SetBlockValue already >> running'. Clicking the 'ok' button then alllows the block allocation to >> proceed. >> >> I am guessing that, as was suggested, that I need to stop the script >> after every 'use' but, being entirely unfamiliar with scripts, have no >> idea how to do this. >> >> Can you help please? Does this need an additional conditional in the >> existing logix and if so what is the format for this? >> >> Thanks for your help. This really is a wonderful program. >> >> Brian Clark >> >> On 05/11/2019 15:28, Dave Sand wrote: >>> Brian, >>> >>> You definitely want to use Notepad++ to make any changes to the script.? I would also use it to create the text file. >>> >>> The text file, Trains.txt, contains a list of train names.? There is no format, just a list of names, one per line.? The file is placed in the User Files Location.? See Help >> Locations.? Depending on the Notepad++ settings, it may start with a new document.? If not, select File >> New. >>> >>> The program merges the built in list with the contents of the text file.? You can comment either by placing a # at the beginning of the appropriate lines in the LoadCBORows section of the program.? I would delete the 1234 and 4321 rows and just use Trains.txt. >>> >>> Dave Sand >>> >>> >>> ----- Original message ----- >>> From: Brian & Cherry Clark <freyweslian@...> >>> To: JMRI Users <[email protected]> >>> Subject: [jmriusers] Train Tracking >>> Date: Tuesday, November 05, 2019 6:42 AM >>> >>> Hello Group >>> >>> I have train tracking set up on my panel and this works ok. >>> >>> However when contact is lost with a loco (dirty track) the block >>> contents are also lost. >>> >>> Following previous advice from this group, I have set up an internal >>> sensor on my panel and linked this to a script to recover the information. >>> >>> However the script I am trying to use (SetBlocksValue.py) is looking for >>> a .txt file which presumably has the relevant loco/train numbers in. >>> >>> (I have verified that the sensor button works correctly by using >>> AllocateRosterEntryToBlock.py.) >>> >>> I do not have such a file and understand that I need to create it. >>> However I know next to nothing about how to do this. >>> >>> I tried to create such a file using Notepad to no avail. I have seen it >>> mentioned on the group before about usinng Notepad++ which I have >>> downloaded. >>> >>> Where I think I am stuck is in the formatting of the data in the .txt file. >>> >>> Is there some kind soul who can advise me, preferably in words of one >>> syllable, how to format the data I would be grateful. >>> >>> We use train numbers so an example would be #32West or #671East. >>> >>> Using Windows 10, JMRI 4.17.4, Java 1.8.231 >>> >>> Thanks in advance for assistance. >>> >>> Brian Clark >>> >>> Bedford UK >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > >? > > |
Locked
Re: Write changes
toggle quoted message
Show quoted text
|
Locked
Re: Train Tracking
#traintracking
Dave
toggle quoted message
Show quoted text
Panel file uploaded to the same folder. File name Spokane Division.xml. Thanks for your help. Brian Clark On 16/11/2019 21:33, Dave Sand wrote:
Brian, |
Locked
Re: Write changes
开云体育Jerry, Have a look in the Task Manager and see home many copies of Decoder Pro are running.? If there is more than one get rid of all but one copy.? Hope this helps. Paul On 11/16/2019 1:40 PM,
gerardh1031@... wrote:
Gentlemen |
Locked
Re: Write changes
Gentlemen
Is it possible the problem may have something to do with Win 7 Jerry? |
Locked
Re: Train Tracking
#traintracking
Brian,
toggle quoted message
Show quoted text
I suspect the problem is not the script but how you are invoking it. To check that out, we will need to see the panel xml file. Dave Sand ----- Original message -----
From: Brian & Cherry Clark <freyweslian@...> To: [email protected] Subject: Re: [jmriusers] Train Tracking Date: Saturday, November 16, 2019 12:27 PM Dave Thanks for your help I have uploaded the file into ProblemsBeingWorkedOn new folder Brian Clark I thought I had been careful not to alter anything I didn't understand, but seemingly not. Look forward to hearing from you Brian Clark On 16/11/2019 16:21, Dave Sand wrote: Brian, |
Locked
Re: Train Tracking
#traintracking
Peter
toggle quoted message
Show quoted text
Amended back as suggested. Script is already in the user files location. No change in behaviour however. Brian Clark On 16/11/2019 19:21, Peter Ulvestad wrote:
I would suggest you change any SetBlockValues2 in your script back to SetBlockValues. You seem to be using both and that is possibly the issue. |
Locked
Re: Write changes
开云体育
Jerry,
Reinstalling almost always is a bad idea. The error is telling you that the programmer is already running. I see that when I click read or write multiple times.?
David Klemm
11 PRO Max
From: [email protected] <[email protected]> on behalf of gerardh1031@... <gerardh1031@...>
MarcSent: Saturday, November 16, 2019 13:53 To: [email protected] Subject: Re: [jmriusers] Write changes ?
Ver 4.16 NCE Pro Cab NCE Pro Cab Wireless TSU PNP When attempting to read or write I get the following statement " Exception during read; programmer exception : programmer in use In addition I have downloaded and reinstalled 4.16 Jerry Hampton |
Locked
Re: Write changes
Marc
Ver 4.16 NCE Pro Cab NCE Pro Cab Wireless TSU PNP When attempting to read or write I get the following statement " Exception during read; programmer exception : programmer in use In addition I have downloaded and reinstalled 4.16 Jerry Hampton |
Locked
Re: Train Tracking
#traintracking
I would suggest you change any SetBlockValues2 in your script back to SetBlockValues. You seem to be using both and that is possibly the issue.
If you haven't done already make sure your SetBlockValues2.py is in your user directory so it isn't accidentally removed by a JMRI update. -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Re: Best practices of building trains after run
#operationspro
Tony,
I have to disagree with everything that you stated.? The program can pretty much do everything you described.? The program can use up to 5 trains to move a car from one location to another, and will use up to four C/I or Yard tracks to accomplish this.? Note that the use of "Yard" tracks to route cars is optional, and can be found in the "Options" window. Dan |
Locked
Re: Train Tracking
#traintracking
Dave
toggle quoted message
Show quoted text
Thanks for your help I have uploaded the file into ProblemsBeingWorkedOn new folder Brian Clark I thought I had been careful not to alter anything I didn't understand, but seemingly not. Look forward to hearing from you Brian Clark On 16/11/2019 16:21, Dave Sand wrote:
Brian, |
Locked
Re: Best practices of building trains after run
#operationspro
开云体育Dear danI haven’t yet reached trying to sort with schedules and loads but based on what you say here i assume that a car with a load cant travel from/to or thru a classification yard or large regular yard or a small local yard? ? I assume from what you say i cant have a train with cars with loads leave a classification yd and terminate in a regular yard, have another train get that car and bring it to a local yard and have a third train switch the spurs/industriries in that area? tony On Nov 16, 2019, at 10:24 AM, Dan Boudreau <daboudreau@...> wrote:
|
Locked
Re: Write changes
Post lacks much detail for anyone to help you.
What JMRI version ? What DCC system ? What Programming device ? What decoder ? Post the System Console Log from HELP, System Console Marc |
to navigate to use esc to dismiss