diff options
-rw-r--r-- | qolab/hardware/power_supply/keysight_e3612a.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py index 17a5aed..5977e91 100644 --- a/qolab/hardware/power_supply/keysight_e3612a.py +++ b/qolab/hardware/power_supply/keysight_e3612a.py @@ -111,8 +111,12 @@ class KeysightE3612A(PowerSupplySCPI): """ 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 == 1 and val > 5.150: + val = 5.150 if (chNum == 2 or chNum == 3) and val < 0.001: val = 0.001 + if (chNum == 2 or chNum == 3) and val > 1.030: + val = 1.030 cmnd = f'SOURCe:CURR {val},(@{chNum})' rstr = self.write(cmnd) |