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
CVP's AD4 Programming Error
original_black_bart
To Jon and other testing CVP's AD4 DecoderPro file,
I managed to get a little time this afternoon to modify the screen format for the AD4. I've run into a little bug and wondered if someone would be kind enough to program their AD4 to an address greater than 63, then read the data back and confirm the write. Based on what I've seen while testing this out this afternoon, any address greater than 63 is not written properly to the decoder. I don't think CV9 is being set correctly but I can't tell for sure as I'm working with a PR-1 to read back my data. Your confirmation of such would be appreciated. Bob |
Locked
Compilling and running JMRI
sixth_rule
i downloaded Jbuilder
and got the zip file on the sourceforge pagei loaded up the code and hit the run button and i get 5 erros all involving this line static org.apache.log4j.Category log = org.apache.log4j.Category.getInstance(LocoNetMessage.class.getName()); Chad Spickett |
Locked
Re: CVP's AD4 Decoder
Jon Miller
Mine is revision 62. I see the data. The 4, 5, and 6 are probably
major revisions and the second digit are minor revisions. Just a guess until I hear from Keith. Will put a note on the Yahoo site and see what comes for an answer. I know it says to be compatible with the Chief it needs to be 5.0 or greater. Jon Miller AT&SF For me time has stopped in 1941 Digitrax DCC owner, Chief system NMRA Life member #2623 Member SFRH&MS |
Locked
Re: CVP's AD4 Decoder
original_black_bart
John,
Information found in the AD4 Accessory Decoder Manual [See page 5, Accessory Decoder CV's, CV 519 (7)]indicates software versions 4, 5 and 6 have shipped since the manual was printed in 1999. What version number do you read via CV7? Bob --- In jmriusers@y..., "Jon Miller" <atsf@i...> wrote: Once I got my head screwed on straight I tested my AD4's.Little things like "Direct Mode only" and removing the jumper help<G>. As mineare for slow motion machines I don't have the pulse part on my boards.Programming seems to be fine. I didn't test the flash rate part.519 (7) and 520(8). CV8 works just fine and identifies my unit as CVPproducts but CV7 doesn't pick up my revision of 62. I guess we would have to checkwith CVP to determine the revision numbers associated with the AD4's, whichI will do sometime today. Bob (Black Bart) as you are playing with the AD4file I will get the information to you as some as I can! |
Locked
Re: CVP's AD4 Decoder
Jon Miller
Once I got my head screwed on straight I tested my AD4's. Little things
like "Direct Mode only" and removing the jumper help<G>. As mine are for slow motion machines I don't have the pulse part on my boards. Programming seems to be fine. I didn't test the flash rate part. There is a manufactures ID and version number for AD4's CV's 519 (7) and 520(8). CV8 works just fine and identifies my unit as CVP products but CV7 doesn't pick up my revision of 62. I guess we would have to check with CVP to determine the revision numbers associated with the AD4's, which I will do sometime today. Bob (Black Bart) as you are playing with the AD4 file I will get the information to you as some as I can! Jon Miller AT&SF For me time has stopped in 1941 Digitrax DCC owner, Chief system NMRA Life member #2623 Member SFRH&MS |
Locked
Getting ID info (was Re: 1.0.3 test installer uploaded)
original_black_bart
Bob,
toggle quoted message
Show quoted text
With a clearer understanding of the need, I'd be willing to take on the task of compiling the decoder information. I assume you'd want to know the Decoders Manufacturer, Model Number and Version Number(s). How do you wan the data collected - spreadsheet (Excel), database (Access) or other means? Bob afticarr@... --- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote:
<Snip, Snip, Snip...> Can I ask other people to spend a few minutes gathering that info?and click "read" for each decoder you've got.info, that would let me work on some other stuff. (I do have a day job, |
Locked
Re: 1.0.3 control panel questions
Alex Shepherd
needs some more research to reallyFound it - the MouseEvent.isPopupTrigger() needs to be checked in the Released event not the Pressed I shifted showPopUp() to the Released event and it works as expected Alex |
Locked
Re: 1.0.3 control panel questions
Alex Shepherd
Thanks, I'd appreciate it. The mouse events are handled primarily inWell making the change below if (e.isPopupTrigger() || ( ( e.getModifiers() & MouseEvent.META_MASK ) != 0 ) ) { allows a "Right-Click" to activate the popup so it now works for Win2K at least. I'm not really sure how isPopupTrigger() will ever return true as it is not obvious from the source - needs some more research to really determine what is supposed to happen. I'll have a did into the swing demo samples, maybe they will reveal the secret... Alex |
Locked
Re: 1.0.3 control panel
At 9:32 AM -0700 8/8/02, Robin Becker wrote:
I think there is a naming issue here with turnouts that might causeI was using "right" to mean "train going right goes along the main route". But of course it also means "right-hand turnout". I'd been using "upper" and "lower" for which direction the turnout goes, but that's even more confusing because "upper" could be "right-hard" if the direction was "left" or "left-hand" if the direction is "right", etc. The whole thing ends up sounding like an Abbott & Costello routine, and should be abandoned. How about "east" for "is oriented to the right", "north" for is oriented up the screen, etc? Then turnouts can be called by their handedness. Of course, somebody will come up with a prototype where "east-bound" trains went left on the control panel.... Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: CVP's AD4 Decoder
At 12:12 AM +0000 8/9/02, original_black_bart wrote:
I've had an opportunity to test functionality of the AD4 file.Thanks for checking! Which modes work for it? I couldn't tell from the manual. Trusting that it's okay with you and the readers of this NG, I'mSounds great, thanks. All of the formatting is in the "pane" section at the bottom of the "CVProducts_AD4.xml" file. Eventually, some of that should move to the programmer files, so that its common across multiple stationary decoders, but since we've just got the one now I put it all in the single file. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel questions
Robin Becker
Bob,
From what I gather about the menu, right mouse click would be the usual way. Robin > >> >Once icons are placed on the control panel, the tooltip says >> "Alt-click to > > >see menu, drag with meta key..." >... >Tried CTRL or ALT with left and right mouse buttons but nothing causes a >menu to pop up. > >The right mouse button seems to be the "meta" key. OK, I'm clearly confused. What does one normally do to get pop-up menus on a Windows machine? e.g. in other applications, etc. Is there a standard? |
Locked
Re: problem compiling source code
Try the file "jb1.0.3.zip" from the usual download location. It'll (hopefully) unpack to a file tree with a "java" directory, containing a "jmri.jpx" file that JBuilder can work from.
Bob (Who's about to go offline for about 36 hours) -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel questions
At 4:00 PM +1200 8/9/02, Alex Shepherd wrote:
> What does one normally do to get pop-up menus on a Windows machine?Thanks, I'd appreciate it. The mouse events are handled primarily in jmri.jmrit.display.PositionableLabel where I decode what's going on, then invoke a subclass method to really display the popup. There's a lot of debugging there, so if you just turn on the log4j category withe.g. in other applications, etc. Is there a standard?Bob, jmri.jmrit.display.PositionableLabel = DEBUG and click around you'll probably find what I did wrong. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: problem compiling source code
At 8:15 PM +0000 8/8/02, sixth_rule wrote:
what is a CVS checkout. and what repository all i found was theThe code snapshots are really meant as "snapshots" for browsing, rather than a starting point for working with the code. CVS is a tool for keeping lots of copies of files up to date. The people at SourceForge.net host a "repository" that has master files. Via the CVS tool, you can create a local copy where you can compile, make changes, etc. Then, when somebody else updates the central copy (e.g. we fix bugs, add features, etc), you can just say "cvs update" to get all those changes made in your local copy. This is better than just downloading a new set of files, because all of your local changes are still in your local copy. Once CVS is installed on your machine, you start the process by saying: cvs -d:pserver:anonymous@...:/cvsroot/jmri co ant I'll add some more on how to get CVS, start this, etc to the tech web page in a day or two when I've got a better net connection (I'm in the last stages of a trip now and sending mail from pay phones) I'll also package up a .zip file with everything you do need to get started, just as if you'd done that with CVS. That'll let you play with the code for a while without having to install any other tools. But it'll be a couple of days until I'm able to do this, sorry for the delay. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel questions
At 8:52 AM -0700 8/8/02, Robin Becker wrote:
Can you view the sensor or turnout number once you place them on the panel?Sorry, gave a confusing answer to that before. The ID numbers are in the popup menu. But that doesn't help until we get the popup working for you. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 test installer uploaded
At 12:12 PM -0700 8/8/02, Jim Hanna wrote:
Although I don't know that much about computers(just ask Robin)I will be more than happy to test any of my decoder equipped locos per your instructions if you are in need of feedback on a particular decoder that i might have in my roster.(Sorry for the burst of messages; am working on this on an airplane, and sending them when I get a chance) It would be great if you could go through your roster and check for decoders that don't identify. Getting the CV7 value and the model number for those would let me fix the identification, at least most of the time. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel questions
At 11:58 AM -0700 8/8/02, Robin Becker wrote:
Bob,OK, I'm clearly confused.>Once icons are placed on the control panel, the tooltip says> >see menu, drag with meta key..." What does one normally do to get pop-up menus on a Windows machine? e.g. in other applications, etc. Is there a standard? Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 1.0.3 control panel
At 11:53 AM -0700 8/8/02, Robin Becker wrote:
Thanks. I'll look into it. It seems to be a Windows-specific (or at least not on my Mac), so I'll have to wait a couple days until I get home. Sorry, should have been clearer. The code that code confused is one of my tools, which generated the Java for the panel editor wrong. It's fixed now. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
Locked
Re: 19.2 Kb
At 10:41 PM +0200 8/8/02, Sip Bosch wrote:
Bob, magician,"Runs like a roller coaster" is good, right? I have this mental image of the program zooming downhill while everybody screams... When I first moved to France a while back, I was fond of the expression "Best thing since sliced bread". It took a couple of weeks for me to realize that most people listening thought I meant that something was a dumb idea when I said that. Will work on the Zimo line of decoders.Great, let me know if I can help. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) At CERN until August 10, replies may be slow. |
to navigate to use esc to dismiss