diff options
Diffstat (limited to 'qolab/hardware/power_supply')
-rw-r--r-- | qolab/hardware/power_supply/keysight_e3612a.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py index 52a7673..76d568e 100644 --- a/qolab/hardware/power_supply/keysight_e3612a.py +++ b/qolab/hardware/power_supply/keysight_e3612a.py @@ -60,7 +60,7 @@ class KeysightE3612A(PowerSupplySCPI): OFF stands for independent channels. """ cmnd = f"OUTP:PAIR {val}" - rstr = self.write(cmnd) + self.write(cmnd) def setChanOn(self, chNum): """Power up channel output""" @@ -111,7 +111,7 @@ class KeysightE3612A(PowerSupplySCPI): if (chNum == 2 or chNum == 3) and val > 25.750: val = 25.750 cmnd = f"SOURCe:VOLT {val},(@{chNum})" - rstr = self.write(cmnd) + self.write(cmnd) @BasicInstrument.tsdb_append def getChanIout(self, chNum): @@ -182,7 +182,7 @@ class KeysightE3612A(PowerSupplySCPI): if (chNum == 2 or chNum == 3) and val > 1.030: val = 1.030 cmnd = f"SOURCe:CURR {val},(@{chNum})" - rstr = self.write(cmnd) + self.write(cmnd) if __name__ == "__main__": |