How ddkn/chromatographer works
This reference application collects chromatographer measurements through an NI-DAQ device, with both command-line and Qt interfaces. The main experiment waits through a cycle interval, primes valves, samples differential voltage across a configured window, resets the valves, and reports each dataset. The Qt interface adds manual V1/V7 controls, live plotting, cycle progress, and file output; the command-line interface supports device listing and manual valve operations. The Qt worker and UI wiring are evidenced by sampled excerpts; unsampled implementation details are not inferred.
Main entry points: chromatographer-qt.py Qt interface · chromatographer.py Experiment loop · chromatographer.ui UI layout
Components 17
User interfaces
- Qt interface
chromatographer-qt.py - CLI interface
chromatographer.py - UI layout
chromatographer.ui - Qt worker
chromatographer-qt.py - Device selection
chromatographer-qt.py - Plot and progress
chromatographer-qt.py - Manual valves
chromatographer-qt.py
Experiment runtime
- Experiment loop
chromatographer.py - Cycle wait
chromatographer.py - Valve priming
chromatographer.py - Cycle reset
chromatographer.py - Voltage sampling
chromatographer.py - Valve operations
chromatographer.py
Hardware and output
- NI-DAQ device
- Measurement file
Other components
- Lab operator
- CLI user
Connections 22
- Lab operator → Qt interface: operates
- CLI user → CLI interface: configures
- Qt interface → UI layout: loads
- Qt interface → Device selection: lists devices
- Device selection → NI-DAQ device: queries
- Qt interface → Qt worker: creates worker
- Qt worker → Experiment loop: runs
- CLI interface → Experiment loop: runs
- Qt interface → Manual valves: controls
- Manual valves → Valve operations: opens or closes
- Experiment loop → Cycle wait: waits
- Experiment loop → Valve priming: primes
- Experiment loop → Voltage sampling: samples
- Experiment loop → Cycle reset: resets
- Valve priming → Valve operations: sets states
- Cycle reset → Valve operations: sets cycle state
- Valve operations → NI-DAQ device: writes digital output
- Voltage sampling → NI-DAQ device: reads analog input
- Qt worker → Plot and progress: emits updates
- Plot and progress → Qt interface: updates display
- Qt interface → Measurement file: appends samples
- CLI interface → Measurement file: prints samples