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: Racetrack
Mark Gurries
I agree that this would be useful.
It is true that a closed loop interface with the loco would be the best solution. But I bet most people will not take the time to do anything that complicated. I expect most people would simply mark two points on the layout with a known distance and time it. Hence I would go with the easiest approach and let the user determine how to make the speed measurement. In the programs most basic form, the user enters the known test track length. At most it would provide a timer function where the user hits a key to stop and start the timer and which time when it stops, the speed is calculated. But I propose something more MANUAL but elegant from a user point of view. Here is how I think the program should work from this point of view. (Clearly other more Automatic operation modes could be supported at the same time.) PROGRAM OPERATION: The program starts and a user enters a locomotive address to be tested. Speed is set to zero and user is instructed to place the locomotive on the test section. Clinking that window away, the locomotive database is called up and a pane pops up showing the current speed steps along with Kick, Start, Mid and Max values. The user is then told that the Acceleration and Deceleration CV will be set to Zero and restored when all the test are done. (this may be presented as a choice to the user with a note as to why) The user is then presented with two mode of operations. Continuous loop running or back and forth. (more on that later). If not save in a preference file, the user is also asked for a the distance between the two start and stop points of the test section. If it is a loop, you could also provide a calculator for the length in the program. Obviously the longer and straighter the test section, the more accurate the measurement. But in most cases, people are more interested matching the locomotive relative speeds as opposed to making a speed step match an accurate scale speed. Anyway.... The user is then given the choice of setting one of the following test: 1) KICK, START V, 1st SPEED TABLE setting 2) START V, MID V, MAX V 3) SPEED TABLE. The program then opens to a panel with a manual throttle and the appropriate variables shown. =========== TEST #1 (KICK) This test should be run first for it can effect the results for Start Voltage or the lowest speed steps in the Speed Table. The window open and presents the START V and the first Speed Step of the Speed table. (The user need to make sure the track is clean!) The user must then choose START V or 1st Speed Table value to be set. The program then enables the value chosen by turning off or on the speed table setting. The test comes in two phases. First phase is Setting the Start Voltage or First Speed Table value. Second is setting the kick start value. The concept behind this test is to first establish the minimum speed that can be sustained coming down from a running position so that Kick start is NOT involved. Once the values for START V or 1st SPEED TABLE variable are determine, we go to Kick start phase. Here the kick start value is adjusted so that from a stopped position, the first throttle speed step setting gets the locomotive to run reliable at the value established by in the first phase. First Phase: The engine is placed on the test track behind a marked starting point. A) From a stop condition, the clicks on the START button which starts the test by starting the loco. The loco starts at a medium speed that is high enough to guarantee motion. A timer is started to prevent runaway. If the timer times out, we go to D step. B) The users Click the TEST button which then changes the the Speed Step to 1. The Countdown timer is re-started to prevent loco runaway if there is no response on the next step. C) The user is then asked to observe the locomotive and click one of two buttons labeled STALLED or MOVING on the screen. The locomotive is stopped when a button is pressed or the timer times out. If the MOVING button is pressed, we skip to step G If the time times out, we got to step H. STALL BUTTON IS PRESSED D) If the Stall Button is pressed, the user is asked to PRESS the VERIFY KEY. The VERIFY key sends a new speed step value that would guarantee the locomotive should move. A timer starts to prevent runaway again. E) The user is then asked if the locomotive started again. IF yes, then the STALL is verified because the CV value is to low as opposed to dirty track. Proceed to Step F below. IF no, then the test must be repeated by first fixing the locomotive via a note to the user and then proceeding to step H STALL VERIFIED F) If the stall is verified, the CV value is reset to the PREVIOUS value which we knew the Loco DID NOT stall at. The system then restores the Accel and Deceleration CV's. The user is told the Test Phase 1 is complete. Goto step H. MOVING BUTTON IS PRESSED. G) If the moving button is pressed, then the CV value is lowered in preparation for the next test. RESET TEST H) The user then holds down a key which reverses the engine back to the starting point again. Releasing the key stop the engine. IF the test is NOT COMPLETE we Goto Step A. ELSE we exit to second phase. ---------------- Second Phase: KICK START The kick start value is first set to 1. A) From a stop condition, the clicks on the START button which starts the test by setting the speed step to 1. A timer is started to prevent runaway. If the timer times out, we go to H step. B) The user is then asked to observe the locomotive and click one of two buttons labeled STALLED or MOVING on the screen. The locomotive is stopped when a button is pressed or the timer times out. If the MOVING button is pressed, we skip to step G. If the time times out, we got to step H. STALL BUTTON IS PRESSED D) If the Stall Button is pressed, the user is asked to PRESS the VERIFY KEY. The VERIFY key sends a new speed step value that would guarantee the locomotive should move. A timer starts to prevent runaway again. E) The user is then asked if the locomotive started again. IF yes, then the STALL is verified because the KICK START value is to low as opposed to dirty track. Proceed to Step F below. IF no, then the test must be repeated by first fixing the locomotive via a note to the user and then proceeding to step H STALL VERIFIED F) The KICK start value is too low and must be incremented by one and the test repeated. MOVING BUTTON IS PRESSED. G) If the MOVING is verified, the CV value is correct. The system then restores the Accel and Deceleration CV's. The user is told the TEST IS COMPLETED. Exit. RESET TEST H) The user then holds down a key which reverses the engine back to the starting point again. Releasing the key stop the engine. ===================== TEST #2 (STRT,MAX) and TEST#3 (SPDTBL) For Test #2 and #3 above, the user chooses which variable to be tested or adjusted. If TEST#1 was performed, the STATV and First Speed Step are locked out by default. The user is given the option of unlocking them. Also note that when the timer is running, the user is not allowed to adjust any values. Only stop is allowed. The program then proceeds to the test phase. Test Phase: As mention before, I see two operator modes of operations. LOOP and BACK AND FORTH The engine is placed on the test track at one end before the start mark. From a stop condition, the user Hits (pressing momentarily) the control key starts the test by starting the loco. 1) LOOP. The engine is place on a section of track in a form of a loop. A) The users hit the key again to start the timer when the loco passes the mark. B) When the loco passes the same mark after completing one pass around the loop, the key is hit again, the timer stops and the speed is calculated. However the engine continues running around the loop in preparation for the next test. During this lap, the user can change the CV value. C) Go to step A above. 2) BACK AND FORTH. This simply means that the engine is on a section of track that is not continuous. The engine must go back and forth to be tested. (This would work for loop too and might be faster!) Here is the procedure: A) The users hit the key again to start the timer when the loco passes the start mark. B) When the loco passes the stop mark, the key is hit again, the timer stops and the speed is calculated. At the same time the engines is also stopped. The user can change the CV value at this time. C) Press and HOLDING the key again allows the engine to move again in the same direction but at a slow speed to make sure it goes past the mark in preparation for a run in the opposite direction. D) Releasing the key stops the engine then changes direction and starts the engine again. E) Go to step A above. Pressing the key twice in a row in quick succession stops the test and restores the Accel and Deceleration CV's. A Display always tell the user what state the system is in a what to do next. The idea is to make as much of the control hands off as much as possible. So there it is....... Mark Gurries Michael Mosher wrote: I've been contemplating creating a program similar to Racetrak that talked Hi- Best Regards, Mark Gurries Linear Technology Power Supply & Battery charger Applications Engineer/Manager --------------------------------------------------------- Model Railroad Club and NMRA DCC presentations are at: -------------------------------------------------------- Audio Enthusiast (Love SAE equipment) ---------------------------------------------------------- |
Locked
Re: Decorder pro
I want to down load decoder pro . can I down load to floppy dis so I(Sorry, hit send too soon on that last one. I really need to get some sleep...) If the laptop has a CD drive, write me off-list with your mailing address and I can send you a CD with all the needed installers, including Java. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
Locked
Re: Decorder pro
At 10:37 PM +0000 8/13/02, nhn1758 wrote:
I want to down load decoder pro . can I down load to floppy dis so IDoes the laptop have Java already installed? That's a pretty big installer, and I don't know if its available in parts. The DecoderPro installer is just under 2MB. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
Locked
Re: CVS
At 10:18 PM +0000 8/13/02, sixth_rule wrote:
i downloaded wincvs went admin commandline and typed in this exactI think the \n (which might have been a newline or carriage return you typed in the window) is the problem. Bob -- -------------- Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957) |
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. |
to navigate to use esc to dismiss