Search the web
Sign In
New User? Sign Up
jmriusers · JMRI users

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
How to handle the Digitrax multiple-decoder system?   Message List  
Reply Message #2219 of 78094 |
Re: [jmriusers] How to handle the Digitrax multiple-decoder system?

I've thrown together a JMRI tool to play with the Digitrax decoder
lock. It's in CVS now, for people who compile their own copies of
the program, and I'll put out a test version later today.

The new tool is called "Multi-decoder control" because I can't think
of a more glamorous name. There's a screen shot of it at:

http://groups.yahoo.com/group/jmriusers/files/MultiDecoder.gif

(This is in the "Motif/CDE" style; yours might look slightly
different, depending on what type of computer you're using).

At the top are a bunch of radio buttons for selecting a particular
decoder within the current locomotive. Below that are three buttons
for general controls, then a status field, then controls for
selecting either programming on the service track or on the main.

If you have multiple decoders installed in a loco and they've been
configured as Digitrax suggests, you can select one by just clicking
a button in the top section. The others will be disabled, so that
programming operations (in other panels) won't effect them (but see
below about the "legacy" decoder).

If you have multiple decoders installed and configured, but you can't
remember which ID numbers they have, click "Search". It will walk
through the 8 possibilities and disable the buttons that correspond
to decoders that don't respond. You can then select one of the
enabled buttons. Note that this requires a command station that can
read decoders! And it can take a while; watch the status field.

The "Reset" button re-enables all of the possible ID numbers. It's
there to make it easier to play with this. This does not reset the
decoders, just the display.

A "legacy" decoder is one that doesn't have the decoder lock feature
installed, e.g. a non-Digitrax decoder. The most common special case
seems to be a Digitrax motor decoder and a Soundtraxx decoder, so
I've written some special purpose code to handle the case of one
decoder with the feature, and one without. In that case _only_ the
"Init DH163 + Legacy" button will configure the two decoders to work
with this feature. You don't have to open up the locomotive and
separately configure them, etc. The Digitrax decoder will be ID 1.

Note that this doesn't completely solve the problem for decoders that
don't implement this feature. If you select "Legacy" button, only
that decoder will respond to reads and writes, so you can use it
conveniently. But if you click on "ID 1" in this case, _both_
decoders will act on reads and writes. This means that you might not
be able to read (as their replies are likely to interfere), and
writes will effect _both_ decoders. After you've finished changing
the Digitrax decoder, you'll have to click the "Legacy" button and
rewrite the correct CV values to that decoder. Luckily that's pretty
fast.

Right now, this is a standalone tool, not integrated into the
DecoderPro panels themselves. We should talk about how to do that.
For example, DecoderPro could handle re-writing the legacy decoder
values after changing the Digitrax decoder, etc.

What do people want this to look like?

Bob


--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)



Sat May 31, 2003 2:27 pm

Bob_Jacobsen15
Offline Offline
Send Email Send Email

Message #2219 of 78094 |
Expand Messages Author Sort by Date

Digitrax has proposed a way to handle more than one decoder in a locomotive: http://digitrax.com/LOCK.htm Their "3" series decoders already have it working,...
Bob Jacobsen
Bob_Jacobsen15 Offline Send Email
May 30, 2003
1:09 am

Bob and all, ... TCS already has a lock feature on their "fleet lighter' function only decoder. They use CV14 on the group I have but have noticed they have ...
Jon Miller
atsfus Offline Send Email
May 30, 2003
1:57 am

Aloha First How do I find out what decoders are included in decoder pro. i.e. Can I print the list of decoders on the program menu. Second If I have a decoder...
Train
ericminton Offline Send Email
May 30, 2003
5:59 am

... Unfortunately, you can't print the list of decoder definitions directly. There's an almost-human-readable file with that information in each distribution: ...
Bob Jacobsen
Bob_Jacobsen15 Offline Send Email
May 30, 2003
2:29 pm

Aloha Bob ... Thanks for this information but in looking at this file it makes it difficult to tell if there is a decoder definition file. I was looking for ...
Train
ericminton Offline Send Email
May 30, 2003
10:44 pm

... difficult to tell if there is a decoder definition file. I was looking for just a list of decoders.< If you actually download the program and run it you...
Jon Miller
atsfus Offline Send Email
May 30, 2003
10:50 pm

... If the future, what if there was a menu function within the program that did this for you while stripping away all the unneeded XML text and data that note...
Mark Gurries
gurriesm Offline Send Email
May 31, 2003
12:52 am

Aloha Mark Gurries Idea is exactly what I was looking for. Mahalo - Thanks...
Train
ericminton Offline Send Email
May 31, 2003
1:06 am

I just committed the code to print the list of defined decoders. A sample printout (as a .pdf file) is available in the files section as ...
Bob Jacobsen
Bob_Jacobsen15 Offline Send Email
May 31, 2003
5:50 am

Nice report! It provides a "clean" way of identifying which decoders are supported by Decoder Pro Bob...
Bob Blackwell
original_bla... Offline Send Email
May 31, 2003
10:35 am

Did some additional research on this item this morning. It kind of tweaked me as I had discussions about it when TCS came out with a decoder lock-out in their...
Jon Miller
atsfus Offline Send Email
May 30, 2003
8:31 pm

John, any idea how to use this feature in decoderpro??? Don Borden Doylestown, Pa. dborden@... ... From: Jon Miller To: jmriusers@yahoogroups.com Sent:...
Don Borden
cajonpassdb Offline Send Email
May 31, 2003
12:44 pm

I've thrown together a JMRI tool to play with the Digitrax decoder lock. It's in CVS now, for people who compile their own copies of the program, and I'll put...
Bob Jacobsen
Bob_Jacobsen15 Offline Send Email
May 31, 2003
2:28 pm

I like what I see. Even though my locos have single decoders installed, I for one would benefit from such a lock. I'd hate to tell you how many times in the...
Bob Blackwell
original_bla... Offline Send Email
May 31, 2003
2:05 pm

I'd like people's opinions on a question of strategy. People have requested a better-organized roster. Being able to group the roster entries, and being able...
Bob Jacobsen
Bob_Jacobsen15 Offline Send Email
Jun 2, 2003
1:25 am

... version of the program ---sic---Does this sound like an acceptable strategy?< I doubt I would ever use a older version. The only possibility I could every...
Jon Miller
atsfus Offline Send Email
Jun 2, 2003
1:41 am

This may seem like an overly-simply idea but what if you keep the folder with all of the roster items then add subfolders with shortcuts back to the main...
Seth Cohen
scohen4061 Offline Send Email
Jun 2, 2003
2:20 am

Your solution works. The problem is that when changes are made to programs it can create compatibility problems. A couple of suggestions. 1. If you can...
Bob Rohwer
robertrohwer Offline Send Email
Jun 2, 2003
4:39 pm

Bob, Sometimes we have to give and take a little. I, for one, would certainly welcome the proposed change and can certainly live with making a "backup" of my...
Paul R. Fraker
prfraker Offline Send Email
Jun 3, 2003
7:29 pm

If you forced to do some level of compability break, maybe thats the point to call it Decoder Pro 2.0 ... Best Regards, Mark Gurries Linear Technology Power...
Mark Gurries
gurriesm Offline Send Email
Jun 4, 2003
12:21 am

Hi Bob, If you are going to be proceeding with changing the roster configuration and this is going to result in a "file structure" change that would prevent...
Paul Fraker
prfraker Offline Send Email
Jun 9, 2003
9:43 pm

(I've rearranged this a little) ... Those files are put in "~/.jmri" on Linux, so the actual location depends on who is logged-in. But you might be able to...
Bob Jacobsen
Bob_Jacobsen15 Offline Send Email
Jun 10, 2003
3:51 am

... Creating a symbolic link to a location that is accessible by all users would not seem to be a problem, so that would certainly take care of that issue. ......
Paul R. Fraker
prfraker Offline Send Email
Jun 10, 2003
6:11 pm

... You could serve up the .jmri directory under the home directory for the user DecoderPro is running under on the server using NFS or SAMBA, but I guess the...
Alex Shepherd
kiwi64ajs Offline Send Email
Jun 10, 2003
12:19 am

... If you are talking about the lock feature of TCS fleet lighter it's explained on the data sheet available at the TCS site. (use the single CV programmer to...
Jon Miller
atsfus Offline Send Email
May 31, 2003
4:30 pm

OK, This Lock feature sounds so darn intriguing to me. Here is the setup that I would more than likely want to use it for......... F-Unit "A" DH-163 with a...
Thomas Johnson
teejay0469 Offline Send Email
Jun 1, 2003
10:58 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help