aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/power_supply/psw25045.py
diff options
context:
space:
mode:
authorMichael Vorobiov <mvorobiov@wm.edu>2024-11-05 16:23:27 -0500
committerMichael Vorobiov <mvorobiov@wm.edu>2024-11-05 16:23:27 -0500
commit30343811e779792a51275891bb10300525d11e7b (patch)
tree198e997e6aa057173f8ab62fc79cb4d317a142e0 /qolab/hardware/power_supply/psw25045.py
parent97ebffd0fd0d62b25200f26aa911313d6cb754d7 (diff)
downloadqolab-30343811e779792a51275891bb10300525d11e7b.tar.gz
qolab-30343811e779792a51275891bb10300525d11e7b.zip
minor fix to psu's enable_output function
Diffstat (limited to 'qolab/hardware/power_supply/psw25045.py')
-rw-r--r--qolab/hardware/power_supply/psw25045.py1
1 files changed, 1 insertions, 0 deletions
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')