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
CVS
sixth_rule
i downloaded wincvs went admin commandline and typed in this exact
line cvs -d:pserver:anonymous@...:/cvsroot/jmri co jbuilder into and this is the result i get afetwards cvs -d:pserver:anonymous@...:/cvsroot/jmri co jbuilder \n \n (in directory C:\cvs) cvs server: cannot find module `jbuilder ' - ignored cvs [checkout aborted]: cannot expand modules CVS exited normally with code 1 and i get no code Chad Spickett 970636670 |
Locked
Re: Racetrack
Hi -
I thought it might look like the Speed Page, but doubled. I made a spoof of it at: Instructions: 1. load in a preexisting speed table for a loco, 2. start at lowest speed, run the two locos, adhust the speed of the following until it matches, 3. step to the next speed .... 4. Finally, write the values to the loco How should we handle updating the Roster entries? David Bob Jacobsen wrote: --We've taken a couple steps in that direction. In the most recent David Harris OmniPort Home Page: Discussion egroup: Swiki: |
Locked
Re: Racetrack
We've taken a couple steps in that direction. In the most recent download, there's a "Speedometer" tool that Roger Gleason and I have been working on. Given some LocoNet-readable sensors (e.g. block occupancy detector, a button you push or whatever), you specify how far apart they are in scale feet, and then it starts reporting the scale MPH whenever it sees activity. It seems to work OK, with acceptable accuracy as long as you're timing over a few seconds of travel (e.g. not too short a distance). It would require a little work to hook that code into the programming part. I'd be happy to help somebody do it, but don't really have the opportunity to spend time on it right now. It will require some thought to figure out what values go where, etc. If I set up the basics, e.g. an example that would load one CV with a value, perhaps somebody else would be willing to handle the rest of the details? Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
Locked
Re: Racetrack
Michael Mosher
I've been contemplating creating a program similar to Racetrak that talked
toggle quoted message
Show quoted text
through a MS100 or LocoBuffer to the command station instead of driving a booster directly. That would be much more convenient to me and for the club. Also since the club has a Toth speedometer, I was think of making a option to use the speedometer in place of the master loco. i.e.: "For speed step xx (CV yy) adjust the speed of test loco until the speedometer reads zz" But since I don't know java, I would write it in C, probably using John's LN1 interface. I think the only tricky thing would be the option of filling in blank values using existing known values. Michael Mosher Webmaster Daylight Division PCR/NMRA www.trainweb.org/daylight Golden Empire Historical & Modeling Society www.trainweb.org/gehams San Luis Obispo Model Railroad Club www.trainweb.org/slomrc Personal Member Kern County Live Steamers www.trainweb.org/kernctyls ----- Original Message -----
From: "David Harris" <dpharris@...> To: "jmri" <jmriusers@...> Cc: "John E. Kabat Jr." <sljkrr@...> Sent: August 13, 2002 09:53 AM Subject: [jmriusers] Racetrack Hi- |
Locked
Re: Compilling and running JMRI
sixth_rule
I actually got it to compile strait up
i went into Tools Configure JDK's and added in the 7 .jar files from the library my actual goal in this hole thing is to figure out simply how to make a java program that 1) acesses the serial ports 2) reads all the loconet packets that come over the system 3) Write packets to the serial ports |
Locked
Racetrack
Hi-
My oNeTrak club now has its act together getting our modules finished and connected to the NTrak club's modules. We would now like to MU some engines together. (I in particular, as I just installed some decoders into three SD40-2s :-) However, getting two engines to perform similarly is harder than you would think. Fortunately, there is a program to help: Racetrack (see: ). I have asked John Kabat if he supported the DC100 or Locobuffer, but unfortunately, he is not supporting the program at this time. I think a Racetrack module would be great for JRMI. Before I start, has anyone done this or do any of you have some suggestions? David |
Locked
Re: Compilling and running JMRI
I downloaded a copy of JBuilder Personal Edition 7 to my son's PC last night, and have been working with it (I can only get to that machine while he's asleep, unfortunately).
The Personal Edition has a couple of limitations that I didn't know about. I think I understand some of them now, though there's still one that needs a workaround. I've also updated the page on compiling with some instructions on how to get and use CVS. _Please_ do that; this method of passing .zip files, etc, is just not reliable enough to be worth the time. So the steps I recommend are: Install CVS - for links, etc please see Check out a copy of the "jbuilder" module: create a "project folder" do the checkout (see the instructions at the link above) start jbuilder with the jmri.jpx file in the java folder you just created. There's one remaining problem, that I hope Alex or somebody can resolve. The personal version of JBuilder apparently gets confused if you have multiple programs to build. So you have to tell it which one to run: Using the file/folder tree at the upper left, navigate apps -> DecoderPro -> DecoderPro.java (or which ever app you want to run, e.g. JMRIdemo.java, LocoTools.java) Double click that file; it will open to the right. Right-click on the "DecoderPro" tab at the top of the right window. (Click would select this, right-click or control-click brings up a menu) From the pop-up menu, select "Run". This tells it that you want to build & run _that_ program, which it then does. All of the above works for me now. Hopefully it will work for you, and we can resolve the need for that last "click-click-right-click" workaround shortly. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
Locked
Re: DecoderPro / Digitrax DN146A decoder
At 9:25 AM -0400 8/13/02, Maloney, Michael wrote:
All-Have you got the 1.0.3 version of the program? It seems to show FX functions for the outputs of a DN146 decoder. They're on the "Lights" pane. Note that you've got to be using the "Comprehensive" programmer format to see these; the "Basic" one is too basic... To get it to recognize 105, edit that in as the "lowVersion" in the "decoderIndex.xml" file on the line for the DN146. It's only 106 now, as nobody had even mentioned seeing a 105 there. I've changed the file in CVS so this will work for everybody starting with the next release. And thanks for the version info. Bob Blackwell is trying to get a comprehensive set of that info so we can make the id process reliable. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
Locked
DecoderPro / Digitrax DN146A decoder
Maloney, Michael
All-
I have a new DN146A decoder that decoder pro doesn't recognize. It knows it's Digitrax, but doesn't know the version, which from CV8(?) is 105. When I manually choose a DN146A, I don't get any of the options for the FX lighting. However, I was able to choose one of the FX decoders and get some of the FX lighting to work. I guess my questions are: Where in the XML file can I add the "105" so DecoderPro can recognize it via IDENT? Can I modify the DN146A XML file to add the FX lighting info (and where is that info)? regards, Mike M. |
Locked
Re: Compilling and running JMRI
sixth_rule
ok one step foward and 2 back
i do have a jb1.0.3/lib dir and in it is CVS/ collections.jar comm.jar crimson.jar jdom-jdk11.jar junit.jar log4j.jar Serialio.jar Readme security.policy i also went through all the steps again on my school computer and came up with the exact same 5 errors so i am assuming from what you said its just not using the library correctly Chad Spickett |
Locked
Re: Compilling and running JMRI
At 3:54 PM +0000 8/12/02, sixth_rule wrote:
Ok i got rid of the other 3 errors and am now down to these 2Sorry, but this is not progress. The error is because you're not picking up the classes in "collections.jar", which should be in the "lib" directory one level above the "java" directory. By changing that name, you're using a _different_ class from the Java distribution. It won't interoperate with the serial libraries. the lines in question look as follows"log4j" is the name of the package containing the "Category" class. Actually, the complete name of the package is "org.apache.log4j". Those are defined in the "log4j.jar" file in the "lib" directory, which has to be located by the compiler. That's the same problem we're trying to resolve, so hopefully these will all clean up at the same time once we get that. "log" is a variable that's defined at the bottom of the file. But the _type_ of that variable, e.g. the class info needed by the compiler, has to come from the class definition in a jar file. i don't see where log4j has been previously declairedThe "JMRILibraries.library" file is text, and points to the location of the .jar file that JBuilder will use during compilation. It should contain lines like: <path>[../lib/log4j.jar]</path> which say that the library "one directory up and then in the lib folder" is needed. So please check that there's a C:\jn1.0.3\lib directory, and that it contains 7 .jar files, a README file (not needed) and a "security.policy" file (only needed at runtime) Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
Locked
Re: Compilling and running JMRI
sixth_rule
Ok i got rid of the other 3 errors and am now down to these 2
i got rid of the first 3 errors by changing import com.sun.java.util.collections.linkedlist yo import java.util.linked list the lines in question look as follows Error "LocoNetMessage.java": Error #: 302 : cannot access classcorisponds to line static org.apache.log4j.Category log = org.apache.log4j.Category.getInstance(LocoNetMessage.class.getName()); and Error "LnTrafficController.java": Error #: 302 : cannot access classcorrisponds to line static org.apache.log4j.Category log = org.apache.log4j.Category.getInstance (LnTrafficController.class.getName()); becasue of the com.sun.java errors i am worried about the org.apache part of the code becasue that looks like a web adress also why is it log4j instead of just log ? i don't see where log4j has been previously declaired i have been playing around with the wording in this line but have yet to fix this part any help would be helpful Chad Spickett i also checked in my c:\jb1.0.3\java dir and here is what is there: |
Locked
Re: Consisting/Programming on the main
At 9:07 PM -0700 8/11/02, David Harris wrote:
I have about 3/4 of an implementation for Digitrax systems, and haven't started on the details of the others yet. I keep getting distracted by cool little projects... With the start of school, I doubt I'll get a chance to work on this in the next couple weeks. Sorry. Perhaps somebody else would like to. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
Locked
Consisting/Programming on the main
Hi all-
I have installed some LE0511Ws into three SD40-2s and now am in a position to want to consist them. I understand there is three methods for consisting: 1. give all three the same address; 2. use Digitrax advanced consisting to alias a consist address onto each; 3. program a consist address into the decoders If I program the appropriate CV to a consist address, then all three repond to the consist address for speed and direction. Lights are active on each at its own address. However, it would appear to be difficult to make and beak a consist off the programming track. So, does Decoder Pro support programming-on-the-main? Thanks, David |
Locked
Obtaining Decoder ID Info
original_black_bart
I've assumed the role of data gathering to assist Bob in managing
decoder ID information. I'll be using Excel spreadsheet to expand on Bob's previous list of decoder manufacturer and version information. If you would like to contribute to the list, please forward your decoder information to me at decoderpro_id_program@... Be sure to include the following information; Name of Manufacturer Decoder Model Number (Name) Decoder Type (Mobile, Stationary, Accessory) Value of CV7 Value of CV8 Your contact information Any comments that you may have with respect to the manufacturer of the decoder or its version. Bob (Original_Black_Bart) decoderpro_id_program@... --- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote: At 12:20 PM +0000 8/9/02, original_black_bart wrote:onBob, want tothe task of compiling the decoder information. I assume you'd (s).know the Decoders Manufacturer, Model Number and Version Number CV8.How do you wan the data collected - spreadsheet (Excel), databaseThanks! A specific model might have several values for these, and weshould catch as many as we can.part of the Yahoo groupmethod=reportRows&tbl=1 whole thing. |
Locked
Re: CVP's AD4 Programming Error
original_black_bart
Bob
Using the card address of the AD4, I'd like calculate then display the cards range of associated switch numbers. For example, based on a decoder address of 1, switch numbers would be 1 through 4. With a decoder address of 10, switch numbers would be 37 through 40. Switch addresses can be calculated as follows; SwitchNumber_High = Card Address * 4 SwitchNumber_Low = SwitchNumber_High - 3 Thanks, found the slider information. Know to figure out how to make it work with the radio buttons! Bob --- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote: At 7:37 PM +0000 8/11/02, original_black_bart wrote:canSorry to be a pest, but can you identify how I might calcualte andFor slider values, take a look at the "Speed" pane (I think) in the set up another variable type pretty easily. |
Locked
Re: Compilling and running JMRI
sixth_rule
K i did every step the same as you except when i hit rebuild i got
the following errors and no warnings "LnMessageBuffer.java": Error #: 302 : cannot access class com.sun.java.util.collections.LinkedList; java.io.IOException: class not found: class com.sun.java.util.collections.LinkedList at line 11, column 38 "LnMessageBuffer.java": Error #: 300 : class LinkedList not found in class jmri.jmrix.loconet.locormi.LnMessageBuffer at line 18, column 3 "LocoNetMessage.java": Error #: 302 : cannot access class org.apache.log4j.Category; java.io.IOException: class not found: class org.apache.log4j.Category at line 226, column 29 "LnMessageBuffer.java": Error #: 300 : class LinkedList not found in class jmri.jmrix.loconet.locormi.LnMessageBuffer at line 28, column 25 "LnTrafficController.java": Error #: 302 : cannot access class org.apache.log4j.Category; java.io.IOException: class not found: class org.apache.log4j.Category at line 75, column 26 i also checked in my c:\jb1.0.3\java dir and here is what is there: classes/ cvs/ doc/ src/ test/ jmri.jpx jmri.jpx.local jmri.jpx.local~ JMRILibraries.library i think the last one was the one you wanted to know if it was there could there be any class path settings i have wrong or do i have to move that library file into jdk1.3.1/lib ??? |
Locked
Re: CVP's AD4 Programming Error
Jon Miller
Forget my previous remark about not being able to program. It seems if
you enter a number in "DCC Address" even if it changes in "Card Address" you can't program! However if you enter the number in "Card Address" it still changes in both locations but you can program. Would "Card Number" be better than "Card Address" as that's the way CVP refers to it? Is there any way for the "DCC Address" to actually show the addresses without referring to some kind of lookup table? As in; Card Number=128 DCC Addresses=509-512 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 Programming Error
Jon Miller
Bob and Bob,
Just hooked up a "Switchmaster", switch machine motor to test programming and actual control using a DT400. I programmed (using the individual CV programmer) for card #250 and put the switch motor on the first output #997. It worked. The DT400 will only go to 999 so am guess as Bob did it's the software in the throttles that prevent higher numbers. The Chief seems to be able to program the numbers it just that the throttles can't select them. 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 Programming Error
At 7:37 PM +0000 8/11/02, original_black_bart wrote:
Sorry to be a pest, but can you identify how I might calcualte andFor slider values, take a look at the "Speed" pane (I think) in the programmers/Comprehensive.xml file. Basically, you display a variable multiple times, once as a slider, and another time as a numeric field. You can then orient them as you'd like, put the labels as desired, etc. I think switch numbers is going to require some code, as there's no way right now to add, subtract and multiply in between the numeric values and the CV contents. What exactly would you like to do? I can set up another variable type pretty easily. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
to navigate to use esc to dismiss