aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-03-09 14:18:33 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-03-09 14:18:33 -0500
commit95926a516fac100ca6e0b1c8620d46762006f5f7 (patch)
tree62547ca4681d4dfeab2515b96ac2984a46830537
parent994d29b403129c5687980aa9b596114a7a7c0edc (diff)
downloadqolab-95926a516fac100ca6e0b1c8620d46762006f5f7.tar.gz
qolab-95926a516fac100ca6e0b1c8620d46762006f5f7.zip
extra parameters
-rw-r--r--qolab/hardware/power_supply/keysight_e3612a.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py
index 5c5bab0..82b3ff4 100644
--- a/qolab/hardware/power_supply/keysight_e3612a.py
+++ b/qolab/hardware/power_supply/keysight_e3612a.py
@@ -9,14 +9,14 @@ class KeysightE3612A(PowerSupplySCPI):
super().__init__(resource, *args, **kwds)
# self.resource.read_termination='\n'
self.config['Device model'] = 'Keysight E3612A'
- self.numberOfChannels = 1
+ self.numberOfChannels = 3
# self.channelProperties = {'Vlimit', 'Ilimit', 'Vout', 'Iout' }
- self.channelProperties = {'Vout', }
+ self.channelProperties = {'State', 'Vout', 'Iout', }
- def chanOn(self, chNum):
+ def setChanOn(self, chNum):
self.write(f'OUTP ON,(@{chNum})')
- def chanOff(self, chNum):
+ def setChanOff(self, chNum):
self.write(f'OUTP OFF,(@{chNum})')
@BasicInstrument.tsdb_append