From 58aa7350e6c8eae52f14e1d7428a7901ad5ac80c Mon Sep 17 00:00:00 2001 From: "Hosam-Eldin.mostafa" Date: Wed, 4 Feb 2026 19:45:23 +0100 Subject: [PATCH] Fix power supply control --- vendor/Owon/owon_psu_quick_demo.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/Owon/owon_psu_quick_demo.py b/vendor/Owon/owon_psu_quick_demo.py index 15ade43..6da5f06 100644 --- a/vendor/Owon/owon_psu_quick_demo.py +++ b/vendor/Owon/owon_psu_quick_demo.py @@ -79,15 +79,15 @@ def run_demo() -> int: print(f"IDN: {idn}") print(f"Output status: {psu.output_status()}") if do_set: - psu.set_output(True) - time.sleep(0.5) + # psu.set_output(True) + time.sleep(0.8) psu.set_voltage(1, set_v) psu.set_current(1, set_i) - time.sleep(1.0) + time.sleep(0.75) print(f"Measured V: {psu.measure_voltage()} V") print(f"Measured I: {psu.measure_current()} A") time.sleep(0.5) - psu.set_output(False) + # psu.set_output(False) return 0