Applications / Production
Programming and calibration fixtures.
Power the board with a current limit, flash it with the vendor's tool, trim it against a reference meter, verify, and log the unit. Each stage shows on the operator's screen as it runs.
| Power-up | Programmable supply with a current limit |
|---|---|
| Flashing | The vendor's tool or library, wrapped in a Python connector |
| Trimming | Measure with a bench DMM, write the offset back |
| Operator view | Steps, progress, banner, log |
| Plan | PRO+ |
A clamp, a probe and a supply: every step in one script.

- 1Programmable supply powers the board with a current limit, so a short shows up as current, not smoke.Scpi
- 2Pogo-pin fixture with a toggle clamp holds the board on its test points.—
- 3Debug probe flashes the firmware through the vendor tool, wrapped in a Python connector.Python
- 4Laptop with the script editor for the engineer; the operator sees the Steps dashboard.dashboard
One script, one row of steps on the operator's screen.
// program.js: power up, flash, trim, verify
const psu = connector("psu");
const flasher = connector("flasher"); // Python connector
const dmm = connector("dmm");
const line = connector("fixture-line"); // state for the dashboard
line.reset();
line.status = "RUNNING";
line.setStep(0, "running");
psu.current_limit = 0.2;
psu.voltage = 5;
psu.output = true;
delay(500);
line.setStep(0, psu.measured_current < 0.15 ? "pass" : "fail");
line.setStep(1, "running");
const ok = flasher.flash("firmware/fx330-2.4.1.hex");
line.setStep(1, ok ? "pass" : "fail");
line.setStep(2, "running");
const vref = dmm.voltage;
flasher.trim(2.500 - vref); // write the offset to the unit
line.setStep(2, "pass");
psu.output = false;
line.status = ok ? "PASS" : "FAIL";# program_unit.py: power up, flash, trim, verify
import time
import muxit
m = muxit.connect()
psu = m.connector("psu")
flasher = m.connector("flasher") # Python connector
dmm = m.connector("dmm")
line = m.connector("fixture-line") # state for the dashboard
line.reset()
line.status = "RUNNING"
line.setStep(0, "running")
psu.current_limit = 0.2
psu.voltage = 5
psu.output = True
time.sleep(0.5)
line.setStep(0, "pass" if psu.measured_current < 0.15 else "fail")
line.setStep(1, "running")
ok = flasher.flash("firmware/fx330-2.4.1.hex")
line.setStep(1, "pass" if ok else "fail")
line.setStep(2, "running")
vref = dmm.voltage
flasher.trim(2.500 - vref) # write the offset to the unit
line.setStep(2, "pass")
psu.output = False
line.status = "PASS" if ok else "FAIL"What happens
- The supply comes up with a 200 mA limit. A board that draws too much fails the first step before anything is flashed.
- flasher is a Python connector. Its flash() and trim() functions call the vendor's tool.
- The DMM reads the reference voltage and the script writes the correction back.
- setStep updates the Steps widget on the operator dashboard as each stage passes or fails.
The Steps and banner widgets bind to a Virtual connector that holds the state, like the Production Line example that ships with Muxit.
The engineer edits; the operator runs.


Wrapping the vendor tool.
A Python connector points at a .py file in workspace/python/. Each top-level function becomes an action. A requirements.txt next to it is installed into a private environment the first time the connector starts.
The function can call the vendor's command-line programmer with subprocess or use their Python library directly, and return true or false.
import subprocess
def flash(path):
r = subprocess.run(["vendor-flash", "--port", "COM7", path],
capture_output=True)
return r.returncode == 0
def trim(offset_v):
subprocess.run(["vendor-flash", "--write-cal", f"{offset_v:.4f}"],
check=True)Instruments and plan.
| Part | How Muxit reaches it |
|---|---|
| Programmable DC supply | Scpi · LAN / USB-TMC / serial |
| Programmer (vendor command-line tool or Python library) | Python connector (Python 3.10+ on the host) |
| 6½-digit bench DMM or reference meter | Scpi |
| Serial console of the board | LineText |
| Barcode scanner, label printer (optional) | LineText, LabelPrinter |
A fixture with more than three instruments, and operator mode for the person running it, need Pro. Pricing →
Every instrument here needs a remote interface (LAN, USB-TMC or serial). Handheld meters and supplies with only knobs can't take part in an automated test.
What it doesn't do (yet).
- Muxit doesn't ship programmers for specific microcontrollers. It runs the vendor's tool or library through a Python connector you write.
- Python connectors need Python 3.10 or newer on the station computer.
- Stop ends a script at once, so a stopped run can leave a half-flashed board. Put the supply in a safe state before the loop and in the connector.
Wrap your programmer once, use it from every script.
A Python connector is a .py file with plain functions. Each function becomes an action you can call from scripts, dashboards and the AI.
Related applications
End-of-line testScan, test, PASS or FAIL, print the label. Operators see one dashboard.
Visual inspection and image recordsA camera picture next to every measurement, and an AI check of what the picture shows.
R&D characterisationSweeps, I/V curves and corner cases, logged to CSV and repeatable next week.
Power electronicsEfficiency and regulation of LED drivers, DC-DC converters and power supplies over load.