From 95926a516fac100ca6e0b1c8620d46762006f5f7 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 9 Mar 2022 14:18:33 -0500 Subject: extra parameters --- qolab/hardware/power_supply/keysight_e3612a.py | 8 ++++---- 1 file 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 -- cgit v1.2.3