From 30343811e779792a51275891bb10300525d11e7b Mon Sep 17 00:00:00 2001 From: Michael Vorobiov Date: Tue, 5 Nov 2024 16:23:27 -0500 Subject: minor fix to psu's enable_output function --- qolab/hardware/power_supply/psw25045.py | 1 + 1 file changed, 1 insertion(+) (limited to 'qolab') diff --git a/qolab/hardware/power_supply/psw25045.py b/qolab/hardware/power_supply/psw25045.py index f6080bb..d0fc1c2 100644 --- a/qolab/hardware/power_supply/psw25045.py +++ b/qolab/hardware/power_supply/psw25045.py @@ -123,6 +123,7 @@ class PSW25045(PowerSupplySCPI): :param output_state: Boolean flag. Sets the output ON if 'True' or OFF if 'False'. """ + self.output_state = output_state # This is here to define out state (need some work on it) try: if self.output_state: self.write(f'OUTP:STAT 1') -- cgit v1.2.3