aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
Diffstat (limited to 'qolab')
-rw-r--r--qolab/hardware/power_supply/keysight_e3612a.py6
1 files changed, 5 insertions, 1 deletions
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)