Proemion CANlink Workbench
Configure Proemion CANlink devices the way you write software. Configurations
are short Python scripts: readable, versionable, reviewable. The Workbench
checks them against your device's limits, compiles them to the binary the
device receives, and downloads them to a device over CAN, all from VS Code.
No Python installation is needed: the toolchain ships inside this extension.
By installing or using this extension you agree to the Proemion CANlink
Workbench license terms (LICENSE.txt, also linked as License on the
extension page).
- Errors before the field: every value is checked against the device's
limits at compile time, and the cursor jumps to the offending line.
- Same output as the Configurator: the compiled binary is identical to
what the legacy Configurator produces for the same configuration.
- Bring your existing configurations: legacy
.dod files convert to
scripts in one command.
- IntelliSense for every register: autocomplete and hover documentation
for every device parameter, with type, range and description.
- One config, many devices: switch the device variant in the status bar
and recompile.
- Download from the editor: compile and download to a device over CAN
(PEAK PCAN on Windows, socketcan on Linux and Raspberry Pi).
- Ready for AI assistants: one command gives Copilot, Codex, Cursor and
similar assistants the authoring guide for the installed version.
Getting started
- Install Microsoft's
Python extension
for autocomplete (no Python interpreter needed).
- Open a folder for your configurations.
- Follow the Get Started walkthrough (Help → Get Started → Your first
device configuration): set up IntelliSense, create a first config,
compile it.
The complete reference documentation is included and works offline:
CANlink: Open Documentation.
Requirements
- Visual Studio Code 1.85 or newer
- Windows x64, Linux x64, or Linux ARM64 (e.g. Raspberry Pi with Debian 12
Bookworm or newer)
- For downloading to a device: a CAN adapter with its vendor driver (PEAK
PCAN-USB on Windows, socketcan on Linux)
Commands
All commands are in the command palette (Ctrl+Shift+P) under CANlink:.
| Command |
What it does |
| CANlink: New Config |
Creates a commented starter configuration (heartbeat counter and the device's temperature sensor broadcast on CAN). It compiles as-is and is ready for a DataPortal upload. |
| CANlink: Compile Config |
Compiles the active configuration to .bin and .hex. Errors jump to the offending line and appear in the Problems panel. |
| CANlink: Create Portal Package |
Compiles and writes everything a DataPortal upload needs: <name>.DOD and <name>.eds next to <name>.bin. Requires a configuration version string (device.device_configuration_version_string(...)). |
| CANlink: Compile + Export DBC |
Compiles and writes one CAN database per channel, so PCAN-View, CANalyzer or SavvyCAN decode the device's messages with your variable names. |
| CANlink: Select Device Variant |
Picks the device variant to compile for; the status bar shows it. |
| CANlink: Convert DOD to Python |
Converts a legacy Configurator .dod file to an equivalent script and opens it. |
| CANlink: Download to Device |
Compiles the active configuration (or takes a .bin/.hex as-is) and downloads it over CAN, with compatibility checks, device reset and version read-back. |
| CANlink: Set Up IntelliSense (pedevice + devices) |
Registers the bundled library with the Python language service for autocomplete and hover documentation. Once per workspace; it follows extension updates by itself. |
| CANlink: Set Up AI Assistant (AGENTS.md + authoring guide) |
Writes the authoring guide for AI coding assistants into the workspace, plus a short AGENTS.md block they read on their own. Both follow extension updates. |
| CANlink: Open Documentation |
Opens the full reference documentation, offline. |
| CANlink: Request Support |
Opens the Proemion support page. |
Settings
| Setting |
Purpose |
peConfigurator.device |
Device variant to compile for (set via CANlink: Select Device Variant); empty = each configuration's own device import. |
peConfigurator.canInterface / canChannel / canBitrate |
CAN connection for CANlink: Download to Device. Default auto: PEAK PCAN on Windows; on Linux socketcan with the first CAN interface and its configured bitrate. |
peConfigurator.devicesPath |
Folder containing a devices/ subfolder with additional device modules, e.g. customer-specific variants delivered separately. |
peConfigurator.extraCompilerArgs |
Extra compiler arguments, one per list item, e.g. ["--eds", "--dbc"]. |
peConfigurator.compilerPath / converterPath / downloaderPath |
Use other executables instead of the bundled ones (user settings only). |
Coming from the Configurator
Convert an existing configuration with CANlink: Convert DOD to Python:
the script it produces compiles to the same binary as the original. The
legacy Configurator keeps working; both write the same device format.
Upgrading from the beta extension "Proemion Script Configurator":
uninstall it once, then install this extension. Settings carry over, and
workspaces set up for IntelliSense or the AI assistant are updated
automatically.
Support
Questions, problems and feature requests:
docs.proemion.com - Request support,
or CANlink: Request Support in VS Code.
A note on trust
Compiling a configuration runs it, because configurations are Python
scripts. Only compile scripts you trust, as with any script. The settings
that choose which executables run can only be set in your user settings,
never by a workspace.
License
By installing or using this extension you agree to the Proemion CANlink
Workbench license terms (LICENSE.txt, also linked as License on the
extension page). The bundled third-party components and their licenses are
listed in third_party_licenses/ inside the extension.