OpenTX logo

Channel dependency diagrammer

image

Description

edgetx_channels is a Windows .exe program. It takes a model file in .YML format and outputs a drawio file containing a channel dependency diagram. Each diagram fits on a sheet of A4, making it easy to print.

If diagramming an RC-Soar template, the programme can merge annotations from the Excel reference file.

The program has been tested on .yml files generated from EdgeTX 2.10.x, 2.11.x, and 2.12.x.

Download the program

The Windows executable is edgetx_channels.exe, and is packed in a zip file. It must be unpacked before use.
edgetx_channels.zip

Running the program

There are two ways to run edgetx_channels.exe:

Using drag and drop

The easy way is by drag-and-drop.

  1. Open Windows file explorer, and go to the folder of edgetx_channels.exe.
  2. Drag and drop a .yml file (and - optionally - the corresponding RC-Soar template .xlsx reference file) into edgetx_channels.exe.

The program generates a diagram file, in draw.io format. (Draw.io is an open source diagramming app which runs in your browser. For more info see draw.io.)

From the command prompt

The program can also run from the Windows command prompt. This offers additional options. In particular the ‑‑preview option generates a .png file which is useful if you don't want to use draw.io.

Usage:

edgetx_channels.exe MODEL.yml [REFERENCE.xlsx] [-o OUT.drawio]
[--orientation auto|landscape|portrait]
[--preview OUT.png] [--list-issues]

The REFERENCE.xlsx parameter is optional, and refers to the reference Excel file provided with each RC-Soar template. If supplied, the program pulls in the annotations and colour coded categories, and merges them into the diagram.

Startup warning

The exe is unsigned. If you get a warning when starting the program, skip and click 'info' and 'run anyway'.

How to obtain the .YML file

The easiest way to obtain a .YML file is via Companion. Right click on a model setup, and choose Export. (Alternatively, you can access a .YML file directly, in the \MODELS folder on your transmitter, however you will need to know in advance which file to target.)

Python script version

For Mac and Linux users, a Python script is available:

edgetx_channels.txt (right click and 'Save link as' with .py extension)

See the script header for required libraries etc.

Authorship

Both the Python script and .exe were generated by Claude AI.