feat(stage3): Instrument autodetection and hardware port selector (fixes #86) #98

Merged
gronod merged 3 commits from feat/86-instrument-autodetection into development 2026-08-25 17:27:27 +01:00
Owner

Summary of Changes

  • Backend: Added optional port field to ChartreadConfig and appended -c <port> flag in build_chartread_args.
  • Backend Tests: Added test_build_chartread_args_with_port testing -c port argument construction.
  • UI (Stage 3): Added Instrument / Hardware Port selection dropdown and "↻ Detect" button to Stage 3 (src/index.html).
  • Frontend Logic: Implemented instlist execution and real-time stdout parsing in src/js/chartread.js to populate connected spectrophotometers and pass selected communication port to run_chartread.

Fixes #86.

### Summary of Changes - **Backend**: Added optional `port` field to `ChartreadConfig` and appended `-c <port>` flag in `build_chartread_args`. - **Backend Tests**: Added `test_build_chartread_args_with_port` testing `-c` port argument construction. - **UI (Stage 3)**: Added Instrument / Hardware Port selection dropdown and "↻ Detect" button to Stage 3 (`src/index.html`). - **Frontend Logic**: Implemented `instlist` execution and real-time stdout parsing in `src/js/chartread.js` to populate connected spectrophotometers and pass selected communication port to `run_chartread`. Fixes #86.
gronod added the Kind/Feature
Priority
High
2
labels 2026-08-25 17:17:14 +01:00
gronod added 3 commits 2026-08-25 17:17:15 +01:00
gronod merged commit a2da308bba into development 2026-08-25 17:27:27 +01:00
gronod deleted branch feat/86-instrument-autodetection 2026-08-25 17:27:28 +01:00
Sign in to join this conversation.