Git Product home page Git Product logo

Comments (6)

newHeiko avatar newHeiko commented on August 12, 2024 1

Throttle Commands >> 's' set speed step mode.

:) I'd hope it's the same as these: https://www.jmri.org/help/en/package/jmri/jmrit/withrottle/Protocol.shtml#ThrottleChangeNotification

(though I don't know what 27 speed steps is)

from wifred.

newHeiko avatar newHeiko commented on August 12, 2024

I just double checked the wiThrottle protocol specs and actually there is a command to set the speed step mode in the protocol already.

I'll look into it, though I won't be able to test on anything else beside JMRI.

Heiko

from wifred.

pischky avatar pischky commented on August 12, 2024

actually there is a command to set the speed step mode

I did not find this. Any Hint?

I'll look into it, though I won't be able to test on anything else beside JMRI.

I will test it from throttle to loco. I have DCS100 and Loco with LE103 (or DCC Sniffer) for this.

from wifred.

pischky avatar pischky commented on August 12, 2024

I did not find this. Any Hint?

Second try:
Throttle Commands >> 's' set speed step mode.
Still the question which values are allowed.

https://www.jmri.org/help/en/package/jmri/jmrit/withrottle/Protocol.shtml

from wifred.

pischky avatar pischky commented on August 12, 2024

though I don't know what 27 speed steps is

Older Dekoders from Lenz (LE075 or Roco 10741) supported only 14 and 27 speed steps. 27 was like 14, but the CU was sending two different speed steps alternating. http://www.dcc-mueller.de/decoder/dectab_o.htm

from wifred.

pischky avatar pischky commented on August 12, 2024

About guessing the values:

JMRI has a class (enum) jmri.SpeedStepMode. The ordinal values would be 0=UNKNOWN, 1=NMRA_DCC_128, 2=NMRA_DCC_28, 3=NMRA_DCC_27, 4=NMRA_DCC_14, 5=MOTOROLA_28, 6=TMCC_32, 7=INCREMENTAL.

That does not match what is documented in ThrottleChangeNotification.

https://www.jmri.org/JavaDoc/doc/src-html/jmri/SpeedStepMode.html
https://www.jmri.org/JavaDoc/doc/jmri/SpeedStepMode.html

May be a hint is the method decodeSpeedStepMode() in jmri.jmrit.withrottle.ThrottleController:
https://www.jmri.org/JavaDoc/doc/src-html/jmri/jmrit/withrottle/ThrottleController.html#line.734

So I would guess that possible values are

  • "1",
  • "2"
  • "4"
  • "8"
  • "16"

and

  • "unknown"
  • "128"
  • "28"
  • "27"
  • "14"
  • "motorola_28"
  • "tmcc_32"
  • "incremental"

from wifred.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.