Skip to content

DCC-EX Native Throttle v0.1.0

Choose a tag to compare

@RB211 RB211 released this 02 Sep 16:52
· 12 commits to main since this release

Standalone Linux x86_64 executable of the DCC-EX native-protocol throttle. No installation needed.

Asset updated 2026-09-02: F3 is now a toggle — one command per press, alternating on/off. Decoders that sound on every function edge (short whistle) tooted twice per click with press/release momentary handling; F3 now makes exactly one edge, one toot per click. Also: direction is a single colour-coded toggle (green FORWARD / orange REVERSE) instead of radio buttons.

Downloads

Asset Size Notes
dccex-throttle-linux-x86_64 21 MB Python/Tk build (PyInstaller). TCP and USB serial.
chmod +x dccex-throttle-linux-x86_64
./dccex-throttle-linux-x86_64

Connect over TCP (default 192.168.4.1:2560, the EX-CommandStation AP-mode address) or USB serial at 115200 baud.

Features

  • Run tab: throttle slider (0-126), direction toggle, STOP / E-STOP ALL, function buttons F1-F8 (momentary; F3 toggles once per press for edge-triggered whistle sounds)
  • Programming tab: service-mode address and CV read/write, CV29 bit editor, CV name lookup, program-on-main writes
  • Track power control per district (MAIN/PROG) with live current draw and overload latch
  • Console with raw command entry

Notes

  • Built on Arch Linux; it needs a comparably recent glibc. For older distros, rebuild from source: python3 -m venv .venv && .venv/bin/pip install pyserial pyinstaller && .venv/bin/pyinstaller --onefile --windowed --name dccex-throttle dccex_throttle.py
  • Closing the window sends <0> (track power off) by design.
  • Tested against a real EX-CSB1: throttle, direction, and function handling (including the F3 single-toot behaviour) confirmed on the rails.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q3GRxMpFNE9aAxnSH1j4Pf