Software / Tools · PRJ-2417

Custom Serial Communicator

A lab instrument interface becomes much more valuable when transport, protocol knowledge, simulation, and operator context live in the same system.

FIELD BUSISOLATION / CODECOPERATOR STATEABSYSTEM PLATE / PRJ-2417STATUS / Active
04protocol families
01shared operator flow
simulated fault paths
Problem

Problem and constraints

Labs often accumulate model-specific scripts, undocumented command tables, and brittle serial workflows. The real problem was not opening a COM port; it was making mixed instruments predictable for daily operators and developers.

Engineering approach

Architecture and implementation

A registry-driven driver layer keeps model behavior in YAML specifications and protocol codecs. Acquisition workers isolate transport timing from the UI, while simulated gauges exercise the same operator paths without connected equipment.

Registry

Model defaults, commands, transport constraints, and support status resolve from explicit device specifications.

Runtime

Polling workers emit structured readings and errors without allowing serial faults to freeze the interface.

Evidence

Session persistence, traffic inspection, multi-gauge plots, and exports make every run reviewable.

Supporting notes

Technical decisions in more detail.

Related writeups document implementation patterns, tradeoffs, and recovery considerations from this work.

Related work

Have a similar system to define, build, or recover?

Discuss the project