¿ªÔÆÌåÓý

Locked Loklsound and JMRI


 

I seem to be having trouble programming my Loksound micro v4 with jmri.
I am still finding my way with Loksound.Find them very confusing at times.for e.g..can i program Loksound on the "main "as well as "program track"? I am battling to load the speed tables.The decoder doesn't seem to accept the programming.
I guess i just want to know if loksound is good with jmri?


 

As far as CV programming is concerned, the latest version (V4.7.7) of JMRI is just as capable as the latest LokProgrammer (V4.5.3).

LokProgrammer is very much faster at Read All Sheets and Write All Sheets than JMRI.
JMRI can Read and Write single sheets or Variables/CVs. Lokprogrammer cannot
JMRI can Program on Main. LokProgrammer cannot.
JMRI can read CV export lists from LokProgrammer. LokProgrammer cannot read any CV export lists.
LokProgrammer can write new Sound Projects and rewrite project default CV settings. JMRI cannot do either.
JMRI can correctly identify the decoder type of any fourth generation ESU decoder.
You must "Read Type from decoder" in New Loco and use the chosen definition.
You MUST Read Sheet before making any changes to ESU decoders. Every sound project has different default values.


If you are programming speed tables, ESU interprets speed tables slightly differently. You ned to use the correct ESU definition and read the instructions on the Speed table pane carefully. Program Track or Program on main work equally well for Speed Tables (or any other pane, but you must Read Sheet first for the complex panes where you are not changing everything).
I added the last ESU updates only a few days ago and they are in V4.7.7.
I have a good working relationship with Matthew Herman of ESU LLC. The latest ESU firmware incorporates a change I negotiated on behalf of NCE system users for full compatibility with NCE Advanced Consisting.
I have put a lot of development time into adding ESU-specific features to JMRI.

--
Dave in Australia

On 5 Jul 2017, at 7:43 pm, peter.hambidge@... [jmriusers] <jmriusers@...> wrote:

I seem to be having trouble programming my Loksound micro v4 with jmri.
I am still finding my way with Loksound.Find them very confusing at times.for e.g..can i program Loksound on the "main "as well as "program track"? I am battling to load the speed tables.The decoder doesn't seem to accept the programming.
I guess i just want to know if loksound is good with jmri?


 

There are some "gotchas" with programming speed curves in various decoders:

- The NMRA S9.2.2 specifies that all decoders must provide CV2 (Vstart). The provision of CV6 (Vhigh) and CV5 (Vhigh) is optional. These three CVs are to be active only when Bit 4 of CV29 is 0. Speed tables are optional and use CVs 66 (Fwd Trim) 67-94 (the actual speed curve) and 95 (Rev Trim).These thirty CVs are to be active only when Bit 4 of CV29 is 1. The disadvantage of this speed table specification is that any tweaking of starting or maximum speeds requires reshaping of the entire speed curve.

- SoundTraxx Tsunami decoders differ from the standard. When the speed table is active (Bit 4 of CV29 is 1), the value in CV2 is not ignored but is effectively (in the decoder) added to CVs 67-94 in the speed table, pushing it upwards. The advantage of this variation from the NMRA standard is that you can tweak the starting speed without reshaping the whole curve, but the disadvantage is that you can effectively flatten the top end of the speed table it the maximum speed was already high.

- QSI decoders differ from the standard. When the speed table is active (Bit 4 of CV29 is 1), the values in CVs 2 and 5 are not ignored. If either of CVs 2 or 5 are non-zero, these become the actual Vstart and/or Vhigh and the effective values in CVs 67-94 are compressed or expanded (scaled) in the decoder so the actual curve starts and/or ends on any non-zero value in Vstart and/or Vhigh. The advantage of this variation from the NMRA standard is that you can tweak both starting and maximum speeds without reshaping the whole curve, but the disadvantage is that if your speed table already covered a restricted range, the curve will be expanded, with possible integer multiplication errors producing glitches in the speed table.

- ESU V4 and Select decoders differ from the standard (except in some early firmware versions) . When the speed table is active (Bit 4 of CV29 is 1), the values in CVs 2 and 5 are not ignored, but ALWAYS specify the actual Vstart and Vhigh of the loco. In addition the value of CV67 is fixed (read only) at 1 and the value of CV94 is fixed (read only) at 255. You therefore need to fit your speed table curve shape between these fixed end points. The effective values in CVs 67-94 are compressed (in the decoder) so the actual curve always starts and ends on the values in Vstart and Vhigh. The advantage of this variation from the NMRA standard is that you can tweak both starting and maximum speeds without reshaping the whole curve and without the possible multiplicative errors in the QSI approach. The LokProgrammer and JMRI DecoderPro software both enforce the restrictions on CVs 67 and 94 so you know what your speed table will actually look like. Also, the minimum value for CV2 is 1, so you cannot set the loco to be stationary at step 1.

The important thing to make very clear is that ALL FOUR DIFFERENT APPROACHES ALLOW FULL CONTROL OF SETTING THE ENTIRE SPEED RANGE OF THE LOCO. There is no limitation on setting of starting or maximum speed. But you MUST be aware of the different ways of setting up different decoders. The other important point is that THIS DOES NOT PREVENT SPEED MATCHING of different brands, you just have to be aware of the different ways of setting up each brand.

The best way of avoiding problems is with any brand or mix thereof is to match speed steps in this order 1,28,14,7,21,... This will avoid any problems with any brand.

Footnote: Speed tables must always increase monotonically (i.e. no speed step can have a value lower than the previous speed step). Failure to do observe this restriction can cause strange behaviour in some decoders so both LokProgrammer and JMRI DecoderPro prevent you from doing so.
--
Dave in Australia

On 5 Jul 2017, at 7:43 PM, peter.hambidge@... [jmriusers] <jmriusers@...> wrote:

I am battling to load the speed tables.The decoder doesn't seem to accept the programming.


 

Slight correction. I haven't yet added the special SUSI Function Map available in some multiprotocol decoders (but not applicable to the vast majority of users).
--
Dave in Australia

On 5 Jul 2017, at 10:04 PM, Dave Heap <dgheap@...> wrote:

As far as CV programming is concerned, the latest version (V4.7.7) of JMRI is just as capable as the latest LokProgrammer (V4.5.3).


 

Thanks for feed back.Will do some work on it.


 

This is a _great_ summary.

OK if I copy it into the Help pages, e.g.



Thanks

Bob


On Jul 5, 2017, at 5:13 AM, Dave Heap dgheap@... [jmriusers] <jmriusers@...> wrote:

There are some "gotchas" with programming speed curves in various decoders:

- The NMRA S9.2.2 specifies that all decoders must provide CV2 (Vstart). The provision of CV6 (Vhigh) and CV5 (Vhigh) is optional. These three CVs are to be active only when Bit 4 of CV29 is 0. Speed tables are optional and use CVs 66 (Fwd Trim) 67-94 (the actual speed curve) and 95 (Rev Trim).These thirty CVs are to be active only when Bit 4 of CV29 is 1. The disadvantage of this speed table specification is that any tweaking of starting or maximum speeds requires reshaping of the entire speed curve.

- SoundTraxx Tsunami decoders differ from the standard. When the speed table is active (Bit 4 of CV29 is 1), the value in CV2 is not ignored but is effectively (in the decoder) added to CVs 67-94 in the speed table, pushing it upwards. The advantage of this variation from the NMRA standard is that you can tweak the starting speed without reshaping the whole curve, but the disadvantage is that you can effectively flatten the top end of the speed table it the maximum speed was already high.

- QSI decoders differ from the standard. When the speed table is active (Bit 4 of CV29 is 1), the values in CVs 2 and 5 are not ignored. If either of CVs 2 or 5 are non-zero, these become the actual Vstart and/or Vhigh and the effective values in CVs 67-94 are compressed or expanded (scaled) in the decoder so the actual curve starts and/or ends on any non-zero value in Vstart and/or Vhigh. The advantage of this variation from the NMRA standard is that you can tweak both starting and maximum speeds without reshaping the whole curve, but the disadvantage is that if your speed table already covered a restricted range, the curve will be expanded, with possible integer multiplication errors producing glitches in the speed table.

- ESU V4 and Select decoders differ from the standard (except in some early firmware versions) . When the speed table is active (Bit 4 of CV29 is 1), the values in CVs 2 and 5 are not ignored, but ALWAYS specify the actual Vstart and Vhigh of the loco. In addition the value of CV67 is fixed (read only) at 1 and the value of CV94 is fixed (read only) at 255. You therefore need to fit your speed table curve shape between these fixed end points. The effective values in CVs 67-94 are compressed (in the decoder) so the actual curve always starts and ends on the values in Vstart and Vhigh. The advantage of this variation from the NMRA standard is that you can tweak both starting and maximum speeds without reshaping the whole curve and without the possible multiplicative errors in the QSI approach. The LokProgrammer and JMRI DecoderPro software both enforce the restrictions on CVs 67 and 94 so you know what your speed table will actually look like. Also, the minimum value for CV2 is 1, so you cannot set the loco to be stationary at step 1.

The important thing to make very clear is that ALL FOUR DIFFERENT APPROACHES ALLOW FULL CONTROL OF SETTING THE ENTIRE SPEED RANGE OF THE LOCO. There is no limitation on setting of starting or maximum speed. But you MUST be aware of the different ways of setting up different decoders. The other important point is that THIS DOES NOT PREVENT SPEED MATCHING of different brands, you just have to be aware of the different ways of setting up each brand.

The best way of avoiding problems is with any brand or mix thereof is to match speed steps in this order 1,28,14,7,21,... This will avoid any problems with any brand.

Footnote: Speed tables must always increase monotonically (i.e. no speed step can have a value lower than the previous speed step). Failure to do observe this restriction can cause strange behaviour in some decoders so both LokProgrammer and JMRI DecoderPro prevent you from doing so.

Sent from my iPad
--
Dave in Australia

On 5 Jul 2017, at 7:43 PM, peter.hambidge@... [jmriusers] <jmriusers@...> wrote:

I am battling to load the speed tables.The decoder doesn't seem to accept the programming.
--
Bob Jacobsen
rgj1927@...


 

Good idea.
--
Dave

On 6 Jul 2017, at 12:14 AM, Bob Jacobsen rgj1927@... [jmriusers] <jmriusers@...> wrote:

This is a _great_ summary.

OK if I copy it into the Help pages, e.g.



Thanks

Bob