Skip to content
Pebble Logic

Instrument software modernization

Moving instrument software off closed and aging platforms

How to replace instrument software whose acquisition path runs through a closed vendor protocol or an aging platform, without changing what the instrument measures.

Why teams get stuck

The software usually still works. The problem is what it is tied to. The acquisition path runs through a vendor's closed protocol, so no other software can reach the hardware. Or the platform it was built on is aging, and the application survives on one machine, one license, and whoever last understood it.

The risk is lopsided. The old system's measurements are trusted, and a replacement has to show it measures the same thing before it earns the same trust. Without a way to show that, nobody wants to be the one who switched the old system off. Proprietary acquisition suites tied to their own interface hardware are a common starting point.

Establish reference data before touching anything

Before any new code is written, record what the existing system actually does: the channels it reads, the sample rates, the scaling and calibration, any filtering, and the files it writes. Then capture its output against inputs you can describe exactly.

The point is to turn "measures what the old system measured" into a written acceptance criterion rather than an impression. Where the old path can still run, the reference comes from it. Where it cannot, or where it is the thing being disqualified, the reference has to come from known signals instead.

Verify the new system against injected known signals

A physical sensor is a poor reference, because its input is whatever the world happens to be doing. A known signal is a good one. Inject a synthetic waveform of known amplitude, frequency, and shape into the acquisition input, and check that the application acquires and displays exactly that.

On the current medical device program, a second LabJack, a T4 driven by the development laptop, feeds synthetic waveforms into the analog input of the LabJack T7 that does the acquisition. Acquisition and display are verified against known signals independently of the physical sensor.

A rig like this becomes the regression check for every later change, and it is what lets the old system be retired with confidence. Nothing is switched off until the new one has been checked against signals whose answer is known in advance.

What to evaluate hardware against

Hardware choice comes before application code. Write the requirements down first, split into hard requirements that disqualify a candidate and soft requirements that rank the ones left, and explain each disqualification rather than asserting it.

Isolation
What the acquisition hardware must keep apart, and how. Often a hard requirement, and one that disqualifies candidates outright.
Resolution
Whether the converter and its input range resolve the smallest change the measurement has to show, after conditioning.
Sample-rate headroom
Not only the rate the signal needs, but the margin above it once every channel and the application are running.
API openness
Whether the hardware is reached through a documented, open library or through a closed vendor protocol that can only be used one way.
Silent dependencies
Drivers, versioned vendor files, and anything else the system relies on without saying so. These are the failures that arrive after delivery.

On the current program the trade study ran against 18 hard and 22 soft requirements and disqualified options on isolation, resolution, and API openness. The incumbent acquisition path was disqualified on its closed proprietary protocol. The replacement runs from a MEMS pressure sensor through a dedicated signal conditioning unit into a LabJack T7, reaching a Python and PySide6 application through the open LJM library. The dependency risk analysis identified a versioned vendor data file as the highest-risk silent dependency in the system.

Where our experience stands

This is an offering with one engagement behind it, and that engagement is in progress. The current program is replacing an incumbent third-party acquisition path. We have not completed a platform migration, and we would rather say so here than on the call.

What carries over is the method: reference data first, hardware chosen against written requirements, and verification against known signals before anything is retired.

Where to start

Signal Chain and Hardware Review

$7,500 fixed / two weeks

Credited in full against a build engagement of $25,000 or more started within 90 days.

Requirements captured with you, candidate acquisition hardware evaluated against them, a recommended signal path from sensor to application, a risk register, and a scoped estimate for the build that follows. One instrument or signal path, up to five candidate hardware options, one revision round.

Full review details

Tell us what the old system does

Send a short description of the instrument, the software and acquisition hardware it runs on now, and what has to keep working.

jim@pebblelogic.net