From 9bab9cc68246fea287bb3bd001fcd0b1138e93a1 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 16 Mar 2022 13:39:59 -0400 Subject: channel dependent lower end for current limit --- qolab/hardware/power_supply/keysight_e3612a.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'qolab/hardware') diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py index f2720b4..17a5aed 100644 --- a/qolab/hardware/power_supply/keysight_e3612a.py +++ b/qolab/hardware/power_supply/keysight_e3612a.py @@ -108,7 +108,11 @@ class KeysightE3612A(PowerSupplySCPI): @BasicInstrument.tsdb_append def setChanIlimit(self, chNum, val): - """ Set current limit, seems to be >=0.002 """ + """ Set current limit, seems to be >=0.002 for Ch1 and >=0.001 for Ch2 and Ch3 """ + if chNum == 1 and val < 0.002: + val = 0.002 + if (chNum == 2 or chNum == 3) and val < 0.001: + val = 0.001 cmnd = f'SOURCe:CURR {val},(@{chNum})' rstr = self.write(cmnd) -- cgit v1.2.3