Control an ISEG NHQ high-voltage supply over RS232.
- Python 3.10+
pyserial
Install dependency:
pip install pyserialRun the graphical interface:
python3 main.py --guiYou can also launch it directly:
python3 gui.pyRun commands from terminal:
python3 main.py --port /dev/ttyUSB0 --channel 1 idSkip startup init report (useful for scripts):
python3 main.py --skip-init-check --port /dev/ttyUSB0 --channel 1 idExample set-and-start:
python3 main.py --port /dev/ttyUSB0 --channel 1 set-and-start 100 --ramp 10Interactive CLI shell:
python3 main.py --port /dev/ttyUSB0 --channel 1 interactiveInside interactive mode, type help to list commands and exit to quit.
- If
--portis omitted, a default is auto-selected by OS. - Use a 1:1 serial cable (no null modem).