Commutator Pro Control

Overview
Commutator Pro Control is a desktop app for the Commutator PRO. Over a USB-C connection, it shows whether the commutator is tracking, loads the IMU calibration, sets the motor speed and tracking mode, turns the tether by hand, shows head orientation and live IMU data, records and replays sessions as CSV files, and updates the commutator firmware.
The app has two views. Simple (the default) shows what you need while running an experiment. Advanced shows every setting and the Console.
NOTE: While the app is connected, the PC connection LED on the Commutator PRO is on and the front-panel knob is overridden by the app settings.
Installation
| Item | Requirement |
|---|---|
| Computer | Windows, macOS (Apple silicon), or Linux |
| Connection | USB-C data cable (charge-only cables do not work) |
| Firmware | 3.0 or later. The app can update older units, see Firmware Update. |
2. macOS: open the .dmg file and drag Commutator-Pro-Control into Applications. Windows / Linux: unpack the .zip file.
3. Open Commutator-Pro-Control. No installer or driver is needed.
Quick Start
2. Connect the Commutator PRO to your computer with a USB-C cable.
3. In the app, select the commutator in Port and click Connect. The status card shows Tracking. If the app shows Firmware update needed, click Update to 3.0… (see Firmware Update).
4. If the app says This IMU is not calibrated, click Get calibration online.
5. Hold the IMU sensor upright and click Set upright.
6. Choose a motor Speed, untwist the tether with LEFT / RIGHT, then click Record to start logging.
IMPORTANT: Connect the IMU sensor before powering on the Commutator PRO.
NOTE: To try the app without hardware, open Port, tick Show all ports, and select Simulated device.
Main Window (Simple View)

| No. | Area | Function |
|---|---|---|
| 1 | Top bar | Connect to the device; switch between Simple and Advanced; View menu. |
| 2 | Status card | What the commutator is doing: tracking, paused, no IMU. |
| 3 | IMU calibration | Shown only when the IMU has no calibration stored. |
| 4 | Recording & playback | Record data to CSV and replay saved recordings. |
| 5 | Motor | Motor speed, and turn the tether by a set angle. |
| 6 | Orientation & Live data | 3D head model with Roll, Pitch, and Yaw, and a real-time data plot. |
| 7 | Status bar | Connection, firmware version, data rate, and warnings. |
1. Top Bar

| No. | Control | Function |
|---|---|---|
| 1 | Port | Select the commutator. Commutators are listed by the end of their serial number, e.g. Commutator …A52F. Tick Show all ports to list other serial ports and Simulated device. |
| 2 | Refresh | Rescan ports. The list also updates by itself every second. |
| 3 | Connect / Disconnect | Connect to or disconnect from the selected device. |
| 4 | Console | Open or hide the Console (Advanced view only). Turns red with a count when an error arrives. |
| 5 | Simple / Advanced | Switch views. The app remembers your choice. |
| 6 | View | Theme (system, light, dark), Copy support report, and About (version and file locations). |
2. Status Card & IMU Calibration

| No. | Control | Function |
|---|---|---|
| 1 | Status: Tracking | The motor follows the animal (Track mode) or the tether's twist (Twist mode). With a stored calibration, the card also shows IMU calibrated (gain …). |
| Turning the tether | A LEFT / RIGHT turn is running. Tracking resumes by itself afterwards. | |
| Paused | PC control is on, so the motor does not follow the animal. | |
| No IMU data | The commutator gets no data from the IMU. See No IMU Detected. | |
| Motor driver fault | The motor can't turn. Unplug the commutator and plug it in again. | |
| Not connected | Plug in the USB cable and click Connect. | |
| 2 | Resume tracking | Shown when paused. Gives control back to IMU tracking. |
| 3 | Get calibration online | Download this IMU's calibration (the link on its sticker) and store it on the commutator. |
| 4 | Load calibration file… | Load the calibration file that came with the IMU. |
NOTE: Tracking works without a calibration, but can fall a few degrees behind each turn. The commutator stores the calibration of up to 8 IMUs and applies it whenever that IMU is plugged in, so you only need to load it once per IMU.
3. Recording & Playback

| No. | Control | Function |
|---|---|---|
| 1 | Record | Start or stop recording. While recording, the card shows the elapsed time and the file name. |
| 2 | Open folder | Open the recording folder. |
| 3 | Disconnect and open recording… | Load a saved CSV file for replay. Reads Open recording… when no device is connected. |
| 4 | Folder | Where recordings are saved (Advanced view). Default: Documents/Commutator Logs. |
| 5 | Change… | Choose another folder. Default goes back to the default folder. |
| 6 | File name | File name prefix (Advanced view). Date and time are added, e.g. mouse12_20261110_141500.csv, so files never overwrite. |
Recording needs a connected device and stops when the connection ends. A replayed recording plays in the Orientation and Live data areas; the Play back row then shows Play / Pause, a timeline to drag, the time, the playback speed, and Close to exit replay.
4. Motor

| No. | Control | Function |
|---|---|---|
| 1 | Speed | Gentle, Normal, or Fast. Higher speeds follow fast movement better. |
| 2 | One turn | How long one full turn takes at this speed. |
| 3 | LEFT / RIGHT | Turn the tether by the angle. Tracking pauses for the turn and resumes by itself. |
| 4 | Angle | Preset angles: 5°, 15°, 30°, 45°. |
| 5 | Custom | Enter any angle from 1° to 360°. |
NOTE: The motor turns in steps of 3.6°. LEFT and RIGHT are greyed out until the previous turn has finished.
5. Orientation & Live Data

| No. | Control | Function |
|---|---|---|
| 1 | Set upright | Use the current sensor position as the upright reference. Reset goes back to the sensor's own orientation. |
| 2 | 3D model | Real-time head orientation. |
| 3 | Roll / Pitch / Yaw | Orientation angles in degrees. |
| 4 | Data type | Data to plot: Quaternion, Accel, Gravity, or Motor (see below). |
| 5 | Clear graph | Clear the plot. |
| 6 | Plot | Drag to pan, scroll to zoom, double-click to follow live data. |
NOTE: Drag the ••• handle above this area to resize it; double-click it to fill the window.
Motor Data
Select Motor in the data type list to see when the motor turns.

| No. | Item | Function |
|---|---|---|
| 1 | Data type | Select Motor. |
| 2 | mdir | Motor activity reported by the commutator. |
| 3 | Value | 0: motor stopped. 1 or 2: motor turning (one value per direction). |
6. Status Bar & Warnings

| No. | Item | Function |
|---|---|---|
| 1 | Port | The connected device. The dot is green while connected. |
| 2 | Firmware | Firmware version of the connected commutator. |
| 3 | lines/s | Data rate from the device. 0 means no data. Hover to see the total lines received. |
| 4 | × | Dismiss the warning. |
| 5 | Warning | The latest problem, in red. The Console keeps every message. |
| 6 | Version | App version. Click to open About. |
No IMU Detected
If the IMU sensor stops sending data, the window below appears. It shows how to plug the IMU cable into the GYRO port and which way the connector faces. Push the connector straight in until it stops. The window closes automatically when data returns.

Advanced View
Click Advanced in the top bar to see every setting. Recording, Motor, and Orientation & Live data work as in the Simple view. Click a heading below to open its details.

| No. | Area | Function |
|---|---|---|
| 1 | Tracking | Tracking mode, threshold, and max correction. |
| 2 | Motor | Motor speed 1 (slowest) to 8 (fastest): Gentle = 2, Normal = 3, Fast = 5. In PC control, Turn (PC control) turns the motor by a fraction of a full turn (−1 to 1, + = right); click Send. |
| 3 | Recording & playback | Also sets the save folder and file name. |
| 4 | IMU | IMU id, heading gain, and calibration files. |
| 5 | Device | Battery management, USB data stream, device details, and defaults. |
| 6 | Console | Open the Console. |
IMPORTANT: The commutator does not follow the animal while PC control is on. After testing, click Track or Twist, or Resume tracking in the Simple view.
Tracking

| No. | Control | Function |
|---|---|---|
| 1 | Status | Tracking, paused, or not connected. |
| 2 | Mode | Track (default): follows the animal's net rotation and ignores head wobble. Twist: corrects each twist larger than the tracking threshold. PC control: IMU tracking is off; the motor moves only on commands from the app (CMD_MODE). |
| 3 | Tracking threshold | How far the tether twists (degrees) before the motor follows. Click Apply. |
| 4 | Max correction | The largest single correction the motor makes. Click Apply. |
NOTE: Tracking threshold and max correction apply in Twist mode only. Lower threshold = more responsive; higher threshold = fewer movements while the animal rests or grooms.
IMU

| No. | Control | Function |
|---|---|---|
| 1 | IMU id | Unique id of the IMU in use. |
| 2 | Copy | Copy the whole id. |
| 3 | Read | Read the IMU calibration from the commutator again. |
| 4 | Heading gain | Tracking turns this times the IMU's heading change. Shows whether it is stored for this IMU. Edit it, then click Save to store it, or Revert. |
| 5 | Load file… | Load an IMU calibration file. |
| 6 | Get online | Download this IMU's calibration from the link on its sticker. |
| 7 | Save to file… | Save the calibrations stored on the commutator to a file. |
NOTE: Calibrations for other IMUs stored on the commutator are listed below, with Remove… for each. Up to 8 IMUs can be stored.
Device

| No. | Control | Function |
|---|---|---|
| 1 | Device details… | Motor driver and IMU counters, for support. |
| 2 | Restore defaults… | Reset the commutator to its defaults, in Track mode. IMU calibrations are kept. |
| 3 | Battery management | On: charge between 20–80% to extend battery life. Off: charge to 100%. |
| 4 | USB data stream | Turn live data on or off. When off, Orientation and Live data stop updating and nothing can be recorded. |
Console
In the Advanced view, click Console in the top bar to open this panel on the right. Use it for diagnostics or when instructed by KonteX support.

| No. | Control | Function |
|---|---|---|
| 1 | Stream | Show or hide the high-rate data lines. |
| 2 | Copy | Copy every line shown. |
| 3 | Clear | Empty the panel. |
| 4 | Messages | Timestamped lines received from the commutator (←) and commands sent to it (→). |
| 5 | Command box | Type a JSON command, e.g. {"status": 1}. |
| 6 | Send | Send the command to the commutator. |
Firmware Update
Commutator Pro Control needs firmware 3.0 or later, and includes it. When you connect a commutator with older firmware, the app shows Firmware update needed in place of the controls, with an Update to 3.0… button. When a newer firmware is available, the app offers it at the top of the window:

2. Click Update to confirm.
3. Keep the commutator plugged in until the app shows Firmware … installed. The app reconnects by itself.

NOTE: The commutator restarts twice and the motor stops for about 15 s. Settings and IMU calibrations are kept. Unplug any other commutator before updating. If the update does not finish, click Retry, or update by hand as described in Commutator PRO Firmware Update.
NOTE: After updating from firmware 2.x, click Restore defaults… (Advanced → Device) to use Track mode. Otherwise the commutator keeps its previous settings.
Troubleshooting
| Problem | Solution |
|---|---|
| Device not listed in Port | Use a USB-C data cable and check that the commutator is powered on. |
| No IMU data stays shown | Reseat the IMU cable in the GYRO port. If it persists, power off, connect the IMU, power on, and connect again. |
| This IMU is not calibrated | Click Get calibration online, or load the file that came with the IMU. |
| Plot and 3D model do not move | Set USB data stream to On (Advanced → Device), or double-click the plot. |
| Commutator does not follow the animal | If the status card shows Paused, click Resume tracking. |
| Commutator moves too often (Twist mode) | Increase the tracking threshold and click Apply. |
| Tether twists before compensation | Use Track mode, or decrease the threshold or increase the motor speed. |
| Firmware update needed | Click Update to 3.0…. See Firmware Update. |
| Cannot open a recording | Stop recording, then click Disconnect and open recording…. |
| Reporting a problem to KonteX | View → Copy support report, and paste it into your message. |
Download
Download Commutator Pro Control for Windows, macOS or Linux from developer.kontex.io, under XDAQ Tools.
Commutator PRO units kept on firmware 2.40b or 2.70b need the previous app, Commutator-Control. Contact KonteX support for it.
