Loading README.md 0 → 100644 +12 −0 Original line number Diff line number Diff line # kaxxxxp-viewer - Data Logger and Viewer for KAxxxxP power supplies **kaxxxxp-viewer** acquires and visualizes voltage and current data from KAxxxxP power supplies. These PSUs are equipped with a USB port, which can be used both for remote control and data acquisition using a serial protocol. See `bin/kaxxxxp-viewer --help` for usage details. ## Dependencies * Python 3 with the following modules: numpy, serial * Data Visualization (--plot): python3-matplotlib bin/kaxxxxp-viewer +5 −0 Original line number Diff line number Diff line Loading @@ -184,6 +184,11 @@ def measure_data(port, filename, duration): else: output_handle = tempfile.TemporaryFile("w+") if duration: print(f"Logging data for {duration} seconds. Press Ctrl+C to stop early.") else: print(f"Starting data acquisition. Press Ctrl+C to stop.") print("# Device: " + korad.connect(), file=output_handle) print("# Timestamp Voltage Current", file=output_handle) while not terminate_measurement: Loading Loading
README.md 0 → 100644 +12 −0 Original line number Diff line number Diff line # kaxxxxp-viewer - Data Logger and Viewer for KAxxxxP power supplies **kaxxxxp-viewer** acquires and visualizes voltage and current data from KAxxxxP power supplies. These PSUs are equipped with a USB port, which can be used both for remote control and data acquisition using a serial protocol. See `bin/kaxxxxp-viewer --help` for usage details. ## Dependencies * Python 3 with the following modules: numpy, serial * Data Visualization (--plot): python3-matplotlib
bin/kaxxxxp-viewer +5 −0 Original line number Diff line number Diff line Loading @@ -184,6 +184,11 @@ def measure_data(port, filename, duration): else: output_handle = tempfile.TemporaryFile("w+") if duration: print(f"Logging data for {duration} seconds. Press Ctrl+C to stop early.") else: print(f"Starting data acquisition. Press Ctrl+C to stop.") print("# Device: " + korad.connect(), file=output_handle) print("# Timestamp Voltage Current", file=output_handle) while not terminate_measurement: Loading