¿ªÔÆÌåÓý

Date

Locked Re: Q about programming modes (was Re: New fileuploaded to jmriusers)

Jon Miller
 

Joe,
Do you think Bob's discussion on decoder modes would be good to add to
the manual or just confusing? If added it probably would go with "How to
select the right decoder programmer" Your thoughts?

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: Q about programming modes (was Re: New file uploaded to jmriusers)

 

At 2:30 PM +0000 9/5/02, barr_ceo wrote:

I've been playing around with the software some more in conjunction with writing up this manual, and the programming modes have thrown me. Bit mode and byte mode I can at least guess at, but "address mode" doesn't appear to be what I thought it would be - another name for ops mode.

Just what are the specific differences of these modes, and how are they best applied? I can't put it in the manual iffn' I don't know... <<grin>>

Address-mode is the original form. I've never encountered a decoder that does only address mode, nor a DCC system that only does address mode. But I put it in there because the NMRA spec says you gotta have it. The NMRA specs are a wonder of options for things like this, but they aren't really a good description of what _really_ goes on...

Register mode is an extension of address mode. You literally cannot have register mode without address mode, as a write to the short address in register mode is an identical sequence to an address mode write. But register mode only allows you to change a few things, not all the various CVs. There are some older register-mode-required decoders still being sold, mostly from MRC and Wangrow. And a _lot_ of people have them!

When trying to identify a decoder, register mode is the right way to start, as most decoders can do it. But note that register mode can't read a long address (it can read the long/short selection bit, and the short address), so if the program tries to identify a roster entry and finds the loco in long-address mode, it has to pick another programming mode.

The two most common/relevant modes are "paged" and "direct" for current decoders.

Paged mode is an extension of register mode. By setting a "page" value, you can change the location that a register read/write acts on.

Direct mode has the advantage that you can test whether a decoder of unknown type can do direct mode. Unfortunately, there are two submodes in "direct" mode. Not all older decoders implement both, and few (no?) DCC systems allow you to select which to use! The test doesn't help you sort all this out.

To help, I allowed specifying whether the decoder (in the XML file) and system (in the adapter classes) can do either, both or none of the two modes. I called them "bit" and "byte"; they don't have officialy names.

For example, some early Digitrax decoders do direct byte mode but not direct bit mode. This will matter if a system (e.g. some Lenz hardware) only does direct bit mode. For that combination, the right choice is to use neither direct mode, but rather paged or register.

The program will gray-out modes that the attached DCC system can't use. But it _won't_ gray out modes that the current decoder can't use. It won't select those automatically, but it does allow you to select them manually. This may be a mistake, but my logic was "We don't have files for every decoder ever made, and not all files are perfect. People might have a decoder that's a 'XXX except it also allows this other mode', etc, so let's let them override the program's choices". If the concensus is that this is just too error prone, we can change it.

There are various times when the program has to pick a mode: When you open a new selection/ID window, when you start programming of a decoder with multiple modes for the first time, etc. But it will generally remember the mode used last, and try to use that again.

About the only time a user needs to be aware of the mode selection in when having trouble with the ID buttons. In that case, they might want to try another mode to see if communication can be established better.

(Sorry for the stream-of-consciousness nature of this, wanted to get it out quickly. I'm sure others have a better understanding of the details of how the modes work, why you'd use one, etc.)

Bob

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


Locked Q about programming modes (was Re: New file uploaded to jmriusers)

barr_ceo
 

--- In jmriusers@y..., "Bob Blackwell" <rc_blackwell@h...> wrote:
In review of this amazing user manual, I offer the following for
consideration;
<<bunch of good catches snipped...>>

OK, I got those corrected, and they'll appear in the next update.

I've been playing around with the software some more in conjunction with writing up this manual, and the programming modes have thrown me. Bit mode and byte mode I can at least guess at, but "address mode" doesn't appear to be what I thought it would be - another name for ops mode.

Just what are the specific differences of these modes, and how are they best applied? I can't put it in the manual iffn' I don't know... <<grin>>


Locked Re: New file uploaded to jmriusers

Bob Blackwell
 

In review of this amazing user manual, I offer the following for
consideration;



- Under the heading "How to select the right decoder
programmer"
(
rogramming.html#Setting%20Up); not all Command Systems provide read-back
capability. In cases such as these, the Indent Button will not be
available and the manual method of decoder selection must be utilized.



- Under the heading "Using the Basic Programmer"
(
rogramming.html#Setting%20Up); as noted above, not all Command Systems
provide read-back capability. In cases such as these, the Read-Sheet and
Read-All Buttons will not be available for use.



- In the first paragraph following the graphic displayed under
the heading "DecoderPro Comprehensive Programmer Motor Pane Control"
(
tor.html); the words acceleration and deceleration, which appear in
bold, are incorrectly spelt. There is only one "L" in each, not two as
typed. The same error occurs again in the third paragraph of the same
page.



- First sentence in the first paragraph following the graphic
displayed under the heading "DecoderPro Comprehensive Programmer
Consisting Functions Pane"
(
nsist.html); what is "EPS?"



- Third sentence in the first paragraph following the graphic
displayed under the heading "DecoderPro Comprehensive Programmer
Consisting Functions Pane"
(
nsist.html); the word Think is spelt wrong, it's missing the letter "i."



- First paragraph following the heading "DecoderPro
Comprehensive Programmer Sound FX Pane"
(
undFX.html); the current sentence reads "These sounds can be
coordinates..." Shouldn't it read "These sounds can be coordinated..."?
Note the spelling of the word coordinate.



Bob



--- In jmriusers@y..., jmriusers@y... wrote:

Hello,
This email message is a notification to let you know that
a file has been uploaded to the Files area of the jmriusers
group.
File : /DecoderPro_Manual/Index.html
Uploaded by : barr_ceo <filker@m...>
Description : Online HTML user manual for DecoderPro 1.0.6
You can access this file at the URL

ml

To learn more about file sharing for your group, please visit
Regards,
barr_ceo <filker@m...>


Locked Re: New file uploaded to jmriusers

Jon Miller
 

Just printed out Joe's manual and will start to digest it now. I have
to say it's an impressive piece of work and it's just what we needed. Thank
you Joe.

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: New file uploaded to jmriusers

barr_ceo
 

--- In jmriusers@y..., jmriusers@y... wrote:

Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the jmriusers
group.

File : /DecoderPro_Manual/Index.html
Uploaded by : barr_ceo <filker@m...>
Description : Online HTML user manual for DecoderPro 1.0.6

You can access this file at the URL


<<snip>>

OK, I _think_ I've got all the big kinks worked out... links going to
pages (where they should)instead of graphics, that sort of thing. I
_am_ interested in comments, whatever... especially typos I need to
fix.

The main page will always keep the same name (index.html) so links to
it should be stable as long as Yahoo is... <<grin>>


Locked New file uploaded to jmriusers

 

Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the jmriusers
group.

File : /DecoderPro_Manual/Index.html
Uploaded by : barr_ceo <filker@...>
Description : Online HTML user manual for DecoderPro 1.0.6

You can access this file at the URL



To learn more about file sharing for your group, please visit



Regards,

barr_ceo <filker@...>


Locked Re: 1.0.5 version in two forms

 

At 5:23 AM +0000 9/3/02, barr_ceo wrote:


I'll have to take a look at the code for the graphing functions. The PR1 software has a feature where you can input a few elements of the speed table and it will "connect the dots". It would be nice to be able to do that to non-zero random midpoints, not just the endpoints. It would save a lot of mousework. Ah, well... it's almost 1:30 AM here... time enough for that tomorrow!
I think the hard part is figuring out a nice interface for this. I''m not familar with the PR1 software, perhaps they've solved that?

A while back, somebody (I think it might have been Dave Falkenberg, but am not sure) suggested adding a check box at the bottom of each slider in the speed table. If an unchecked slider was moved, it would do the same thing they do now. But if you moved a checked slider, it would draw a straight line to the nearest checked slider on either side.

In other words, you could checkmark a couple of sliders which would server as the "midpoints", and then slide them around with the program filling in straight-line interpolations in between.

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


Locked Re: 1.0.5 version in two forms

barr_ceo
 

--- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote:

I think I've got this fixed in the 1.0.6 version. You can try
downloading that from:



This is a complete new folder, rather than parts you need to move to
the existing folder. That makes it a little larger, but is so much
simpler for people that it seems the right way to distribute this.

Bob
I'll keep this simple...

Y Y EEEEE SSSS !
Y Y E S !
Y EEE SSS !
Y E S
Y EEEEE SSSS @

<<big silly grin>>

I'll have to take a look at the code for the graphing functions. The PR1 software has a feature where you can input a few elements of the speed table and it will "connect the dots". It would be nice to be able to do that to non-zero random midpoints, not just the endpoints. It would save a lot of mousework. Ah, well... it's almost 1:30 AM here... time enough for that tomorrow!


Locked Re: German to English Translation Required !!!

original_black_bart
 

Thanks Gents. Both work great.

Bob

--- In jmriusers@y..., David Harris <dpharris@t...> wrote:
I use for the same thing.
David

tomgrayll wrote:

You can get a good idea of what is said by using the following
translator...



Tom....

--- In jmriusers@y..., "original_black_bart" <rc_blackwell@h...:
A member of the DCCUK NG has provided me with a few links to
sites
containing decoder information. The sites are based written in
German but I'm not capable of translating to English. If
someone
here is capable of doing so and is willing to assist, please
contact
me off list.

Thanks
Bob Blackwell

To unsubscribe from this group, send an email to:
jmriusers-unsubscribe@y...



Your use of Yahoo! Groups is subject to


--
David Harris
OmniPort Home Page:
Discussion egroup:
Swiki:


Locked Re: German to English Translation Required !!!

 

I use for the same thing.
David

tomgrayll wrote:

You can get a good idea of what is said by using the following
translator...



Tom....

--- In jmriusers@y..., "original_black_bart" <[email protected]:
A member of the DCCUK NG has provided me with a few links to sites
containing decoder information. The sites are based written in
German but I'm not capable of translating to English. If someone
here is capable of doing so and is willing to assist, please
contact
me off list.

Thanks
Bob Blackwell

To unsubscribe from this group, send an email to:
jmriusers-unsubscribe@...



Your use of Yahoo! Groups is subject to
--
David Harris
OmniPort Home Page:
Discussion egroup:
Swiki:


Locked Re: 1.0.5 version in two forms

 

At 11:59 PM +0000 8/30/02, barr_ceo wrote:
DL went well, and I moved the files to the JMRI folder as directed. The splash screen and decoder selection worked OK, but when I tried to
open a full (complex) decoder window the JAVA pane opened and I got the
following error messages:

--------
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: java.awt.Font: method deriveFont(F)Ljava/
awt/Font; not found

I think I've got this fixed in the 1.0.6 version. You can try downloading that from:



This is a complete new folder, rather than parts you need to move to the existing folder. That makes it a little larger, but is so much simpler for people that it seems the right way to distribute this.

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


Locked JMRI/DecoderPro 1.0.6 test version for Windows, Macintosh

 

I've uploaded a new Windows installer, plus archive files for MacOS X and Macintosh OS 8 & 9. The downloads are:

Mac OS 8, 9:

MacOS X:

Windows:

You only need to download _one_ of these, depending on your computer type! In all cases, you need to have the 1.0 version installed and working first.

Windows users, just download and execute the file to install.

Users of the new and old Macintosh just download the appropriate file and expand the contents onto their disk. This will give you a folder from which you can run the program.

If anybody wants a version for Linux, OS/2 or another system, just let me know your preferred form.

Note that this is a test version; you should make a copy of your existing version first.

Changes include:

1) New PM4 programming tool in JmriDemo and LocoTools apps.

2) Can now rotate turnout, sensor, signal icons on control panels

3) Fix inconsistent turnout icons on the panel editor.

Windows only:

4) DOS windows should now be hidden when program is running, close when programs exit

5) Java2D option set to avoid problems drawing certain screens

Macintosh only:

4) Remove small fonts from speed-table edit pane to avoid a problem with older Java version on Macintosh.


Please let me know of any problems.

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


Locked Re: German to English Translation Required !!!

tomgrayll
 

You can get a good idea of what is said by using the following
translator...



Tom....




--- In jmriusers@y..., "original_black_bart" <[email protected]:
A member of the DCCUK NG has provided me with a few links to sites
containing decoder information. The sites are based written in
German but I'm not capable of translating to English. If someone
here is capable of doing so and is willing to assist, please
contact
me off list.

Thanks
Bob Blackwell


Locked German to English Translation Required !!!

original_black_bart
 

A member of the DCCUK NG has provided me with a few links to sites
containing decoder information. The sites are based written in
German but I'm not capable of translating to English. If someone
here is capable of doing so and is willing to assist, please contact
me off list.

Thanks
Bob Blackwell


Locked Re: 1.0.5 version in two forms

barr_ceo
 

--- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote:

<<snip>>

It would be great if somebody wanted to write some better
documentation. A manual, even a very basic one, would be _really_
great.
Hmmm... Mebbe I'm being stupid... but I'll take a shot at it.

Given the frequency of change of the program, I suspect an HTML format would be best (and simplest to allow inclusion of screen shots), with one "page" per tab. I'll play with it and see what I can come up with.


Locked Hornby Zero One

sswcharlie
 

Anyone worked with the Hornby Zero One system?

Charlie


Locked Re: 1.0.5 version in two forms

 

At 4:54 PM -0400 8/30/02, jerry snyder wrote:
I'm puffing pretty hard trying to catch on to what's up with JMRI. I have
downloaded Decoder Pro and now JMRI.1.0.5.exe The extracted JMRI.1.0.5.exe
put files in my JMRI folder (running WinME). But the JMRI.1.0.5_Readme
talks about changing some files in some folders.
How you update depends on which type of computer you've got. If it's some form of Windows, just run the .exe file.

If you're using Linux, Macintosh or OS/2, the .exe file isn't going to do you any good. Instead, you take the .zip file, unpack it to create a folder, and move the files into place by hand. Hopefully I'll be able to create a Macintosh installer to automate that process Real Soon Now, but I don't know how to do that for Linux or OS/2.

Note that the 1.0.5 update et al is really intended for testing; as you've seen in the Yahoo group, those updates occasionally backfire for some people.

And I'm lost. Can you point me to someplace that can give me an overview
of this project?
The best overview we've got is:



or for the DecoderPro part:



For installing the original program, but not the update, please see:



It would be great if somebody wanted to write some better documentation. A manual, even a very basic one, would be _really_ great.

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


Locked Re: 1.0.5 version in two forms

 

At 11:59 PM +0000 8/30/02, barr_ceo wrote:
DL went well, and I moved the files to the JMRI folder as directed. The splash screen and decoder selection worked OK, but when I tried to
open a full (complex) decoder window the JAVA pane opened and I got the
following error messages:

--------
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: java.awt.Font: method deriveFont(F)Ljava/
awt/Font; not found
at jmri.jmrit.symbolicprog.SpeedTableVarValue.getRep(Compiled
Code)
at
jmri.jmrit.symbolicprog.VariableTableModel.getRep(VariableTableModel.ja
va:114)
Oops. My mistake.

The Mac "classic" version of Java uses an older set of libraries. The code to put "little" editable numbers on the speed table sliders uses a routine that's not present in this older version, hence the error. I didn't catch this in testing, sorry.

I'll protect against the error, retest on an older Mac and get an update out shortly.

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


Locked Re: 1.0.5 version in two forms

barr_ceo
 

--- In jmriusers@y..., Bob Jacobsen <Bob_Jacobsen@l...> wrote:
The 1.0.5 version is available as a Windows installer at:



For those using Macintosh (MacOS X or "Classic"), OS/2 and Linux can
update their existing 1.0 installations from a .zip file that's
available at:



The instructions for updating are in the README.txt file in the .zip
archive, please let me know of any problems.

Bob
DL went well, and I moved the files to the JMRI folder as directed.
The splash screen and decoder selection worked OK, but when I tried to
open a full (complex) decoder window the JAVA pane opened and I got the
following error messages:

--------
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: java.awt.Font: method deriveFont(F)Ljava/
awt/Font; not found
at jmri.jmrit.symbolicprog.SpeedTableVarValue.getRep(Compiled
Code)
at
jmri.jmrit.symbolicprog.VariableTableModel.getRep(VariableTableModel.ja
va:114)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgPane.getRep(PaneProgPane.ja
va:684)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgPane.getRepresentation(Pane
ProgPane.java:674)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgPane.newVariable(PaneProgPa
ne.java:610)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgPane.newColumn(Compiled
Code)
at jmri.jmrit.symbolicprog.tabbedframe.PaneProgPane.<init>
(Compiled Code)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgFrame.newPane(PaneProgFrame
.java:491)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgFrame.readConfig(Compiled
Code)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgFrame.loadProgrammerFile(Pa
neProgFrame.java:304)
at jmri.jmrit.symbolicprog.tabbedframe.PaneProgFrame.<init>
(Compiled Code)
at
jmri.jmrit.symbolicprog.tabbedframe.PaneProgAction$2.startProgrammer(Pa
neProgAction.java:85)
at
jmri.jmrit.symbolicprog.CombinedLocoSelPane.openNewLoco(CombinedLocoSel
Pane.java:416)
at
jmri.jmrit.symbolicprog.CombinedLocoSelPane.openButton(CombinedLocoSelP
ane.java:376)
at
jmri.jmrit.symbolicprog.CombinedLocoSelPane$5.actionPerformed(CombinedL
ocoSelPane.java:186)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstract
Button.java)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.j
ava:378)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonLis
tener.java:204)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java)
at java.awt.Component.processMouseEvent(Compiled Code)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Container.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled
Code)
at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java)

--------

Version 1.0 was working OK on this computer. I'm going to try the
download process again and see if it didn't just get corrupted in
transit, but that's not likely...