aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/power_supply/psw25045.py
diff options
context:
space:
mode:
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')