The desktop app for
Maxwell’s BMS
MetriX connects to the BMS over CAN with a PCAN-USB adapter. It shows live pack data, reads and writes the configuration, flashes firmware, runs UDS diagnostics and includes CAN bus tools.
Live pack data
The Overview page shows state of charge, health and overload, pack voltage, current and power, each cell voltage, each temperature sensor, the relay states, and the BMS’s active errors and events.
Cell voltages16 cells
Temperatures6 sensors
Configuration, firmware and diagnostics
Service operations use the same CAN connection as the live data. Each one runs as a job that shows its progress and can be cancelled.
Reads the BMS parameters (conf.xml) from the BMS, a file or Maxwell Cloud. Edited values are marked until they are written to the BMS.
Flashes application images (.bin) over UDS and Intel-HEX images (.hex) through the bootloader. A byte-sum check verifies the image before the BMS restarts.
ProgressFlashing
Reads and clears stored fault codes, reads data identifiers, and sends raw UDS requests from a console.
UDS console0x627 → 0x647
CAN bus tools
MetriX sees all the traffic on the bus it is connected to, not only the BMS’s frames. It can record, decode and send frames.
Messages17 ids
Inside the app
Seven of the app’s thirteen pages, in the same layout as the desktop app.
Configuration386 parameters
The BMS’s parameters (conf.xml): read them from the BMS, a file or Maxwell Cloud, adjust, then write them back.
How MetriX is built
MetriX is an Electron app on top of two Maxwell libraries: one for the BMS protocol, one for CAN, ISO-TP and UDS. On Windows, UDS jobs can also go through PEAK’s PCAN-UDS.
The desktop app: Electron and Next.js, with shadcn components. BMS operations run as cancellable jobs.
The Maxwell BMS protocol, the BMS files, and bms.txt, the BMS’s data log.
CAN buses, ISO-TP, UDS, PEAK PCAN-UDS, DBC files and traces.
Windows, macOS and Linux
The first MetriX ran on Windows only. MetriX 2 runs on all three, with a PCAN-USB adapter.
Uses PEAK’s PCAN-USB drivers, like the first MetriX. UDS jobs go through PEAK’s PCAN-UDS by default, or Maxwell’s UDS stack.
Get MetriX for WindowsBeta. Uses Maxwell’s USB driver for the PCAN-USB, over libusb. Supports the classic PCAN-USB, not the PCAN-USB FD.
Get MetriX for macOSUses SocketCAN, the kernel’s CAN driver. PEAK’s libpcanbasic also works if it is installed.
Get MetriX for LinuxMetriX 2 is in alpha. The installers are on Maxwell Cloud, on the Companion Apps page, after you sign in. Installed copies check for updates and offer to install them.