Migrating Legacy Test-Rig and Controller PCs: Inventory, Imaging, Compatibility and Validation
Many test rigs and machines are run by a PC that is ten or more years old: an unsupported operating system, an ageing disk, special interface cards and software that nobody has the installer for. When that PC fails, the rig stops. A planned migration starts by capturing everything about the old system, then rebuilds and proves the new one before the old one is retired.
Key takeaways
- Image the old disk first, before any repair attempt; use tools that skip and retry bad sectors.
- Inventory everything: OS, software versions, drivers, interface cards (PCI vs PCIe), serial ports, licences and dongles, network settings, configuration files.
- Check compatibility early: 32-bit software and drivers, card support on the new OS, software runtime versions.
- Options: like-for-like rebuild, upgrade of software versions, or virtualise the application (only when no special hardware cards are needed).
- Validate channel by channel and test every interlock and trip before the rig runs a real test; keep the old PC (or its image) as rollback.
1. Plan
2. Inventory checklist
| Area | Capture |
|---|---|
| Operating system | Edition, build, 32/64-bit, language, regional settings (decimal separator!) |
| Applications | Names, exact versions, installers, patches, run-time engines, configuration files and their paths |
| Drivers and cards | DAQ, motion, GPIB, CAN, serial cards: make, model, bus (PCI/PCIe/USB), driver versions |
| Licences | Licence files, activation, dongles, MAC- or disk-bound keys; vendor contact for transfer |
| Communications | IP addresses, subnet, PLC addresses, COM port numbers and settings, Modbus/OPC configuration |
| Data | Data folders, databases, report templates, calibration files |
| Users and startup | Auto-login, startup programs, scheduled tasks, shortcuts, UPS shutdown software |
Scripts (e.g. PowerShell exporting installed programs, devices, network configuration and services to CSV) make the inventory complete and repeatable.
3. Imaging a failing disk
- Stop using the disk; every boot risks more damage.
- Connect it as a secondary disk to a working machine or boot a recovery environment.
- Use a recovery-aware imager (e.g. GNU ddrescue) that copies good areas first and retries bad sectors later, with a map file to resume.
- Work only on the image copy; keep the original disk untouched.
Imaging time ≈ disk size / sustained read rate (bad areas can add hours)
Example: 500 GB at 80 MB/s ≈ 1.8 h
4. Migration options
| Option | When it fits | Risks |
|---|---|---|
| Like-for-like rebuild on new hardware, same software versions | Software is stable and supported on the new OS | Old drivers may not install on new OS or 64-bit |
| Upgrade software to current versions | Vendor supports upgrade; time for testing | Behaviour changes; re-validation needed |
| Virtual machine running the old OS | No special interface cards (or USB/Ethernet I/O only) | Timing and passthrough limits; old OS still unsupported |
| Replace interfaces (e.g. PCI card → Ethernet/USB DAQ) | Old cards unavailable | Software changes for new hardware |
5. Validation and cut-over
- Compare each channel with a known input (calibrator, reference sensor) on old and new systems.
- Check sample rates, timing, file formats and naming match what downstream analysis expects.
- Test every interlock, trip and E-stop path with the rig in a safe state.
- Run a short supervised test; compare data with a previous test at the same condition.
- Keep the old PC or its image ready to restore until the new system has run reliably for an agreed period.
6. Calculators
Migration readiness and imaging time
7. Self-test: check your understanding
Pick an answer to see the explanation. Numerical answers are accepted within the stated tolerance (±3 % unless noted).
Score
8. References and further reading
- GNU ddrescue manual, Free Software Foundation.
- NI (National Instruments), operating system and driver compatibility tables for LabVIEW and NI-DAQmx.
- ISO/IEC 25010, Systems and software quality models (maintainability, portability).
- Microsoft Learn, Windows lifecycle and compatibility documentation.