diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-03-16 13:39:59 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-03-16 13:39:59 -0400 |
commit | 9bab9cc68246fea287bb3bd001fcd0b1138e93a1 (patch) | |
tree | a7ba4fcf3a76e5cd6b770c0c65f09a9ed2b65759 /qolab/hardware | |
parent | 7f0685197d391736c1d91dadeafda1455c067bc4 (diff) | |
download | qolab-9bab9cc68246fea287bb3bd001fcd0b1138e93a1.tar.gz qolab-9bab9cc68246fea287bb3bd001fcd0b1138e93a1.zip |
channel dependent lower end for current limit
Diffstat (limited to 'qolab/hardware')
-rw-r--r-- | qolab/hardware/power_supply/keysight_e3612a.py | 6 |
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) |