From b62d8fdc6a71892f17f74821aac8f8388ec0c214 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 16 Mar 2022 13:53:52 -0400 Subject: proper upper limit for Vlimit and increased dwell time --- qolab/hardware/power_supply/keysight_e3612a.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'qolab/hardware/power_supply') 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. -- cgit v1.2.3