aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/power_supply/keysight_e3612a.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py
index 82b3ff4..d95f02a 100644
--- a/qolab/hardware/power_supply/keysight_e3612a.py
+++ b/qolab/hardware/power_supply/keysight_e3612a.py
@@ -11,7 +11,7 @@ class KeysightE3612A(PowerSupplySCPI):
self.config['Device model'] = 'Keysight E3612A'
self.numberOfChannels = 3
# self.channelProperties = {'Vlimit', 'Ilimit', 'Vout', 'Iout' }
- self.channelProperties = {'State', 'Vout', 'Iout', }
+ self.channelProperties = {'IsOn', 'Vout', 'Iout', }
def setChanOn(self, chNum):
self.write(f'OUTP ON,(@{chNum})')
@@ -20,7 +20,7 @@ class KeysightE3612A(PowerSupplySCPI):
self.write(f'OUTP OFF,(@{chNum})')
@BasicInstrument.tsdb_append
- def getChanState(self, chNum):
+ def getChanIsOn(self, chNum):
qstr = f'OUTP? (@{chNum})'
rstr = self.query(qstr)
return( bool(float(rstr)) )