aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-03-16 13:53:52 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-03-16 13:53:52 -0400
commitb62d8fdc6a71892f17f74821aac8f8388ec0c214 (patch)
tree562bcb0cb55251144587277bbdc478153ccf8b16 /qolab/hardware
parent9a929384d42d51a5d68a363c5623c2937cc33815 (diff)
downloadqolab-b62d8fdc6a71892f17f74821aac8f8388ec0c214.tar.gz
qolab-b62d8fdc6a71892f17f74821aac8f8388ec0c214.zip
proper upper limit for Vlimit and increased dwell timev0.2
Diffstat (limited to 'qolab/hardware')
-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 5977e91..7b1dee2 100644
--- a/qolab/hardware/power_supply/keysight_e3612a.py
+++ b/qolab/hardware/power_supply/keysight_e3612a.py
@@ -71,6 +71,10 @@ class KeysightE3612A(PowerSupplySCPI):
@BasicInstrument.tsdb_append
def setChanVlimit(self, chNum, val):
+ if chNum == 1 and val > 6.180:
+ val = 6.180
+ if (chNum == 2 or chNum == 3) and val > 25.750:
+ val = 25.750
cmnd = f'SOURCe:VOLT {val},(@{chNum})'
rstr = self.write(cmnd)
@@ -81,7 +85,7 @@ class KeysightE3612A(PowerSupplySCPI):
return( float(rstr) )
@BasicInstrument.tsdb_append
- def setChanIout(self, chNum, val, currentPrecision=5e-6, currentHeadRoom=1e-3, dwellTime=0.1):
+ def setChanIout(self, chNum, val, currentPrecision=5e-6, currentHeadRoom=1e-3, dwellTime=0.3):
"""
Tuning Vout to achieve desired Iout.
Generally setting current limit will maintain current near but not exact to desired.