diff options
Diffstat (limited to 'qolab/hardware/power_supply')
-rw-r--r-- | qolab/hardware/power_supply/keysight_e3612a.py | 8 |
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 |