aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qolab/hardware/power_supply/keysight_e3612a.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py
index a7159f4..6793088 100644
--- a/qolab/hardware/power_supply/keysight_e3612a.py
+++ b/qolab/hardware/power_supply/keysight_e3612a.py
@@ -106,6 +106,13 @@ class KeysightE3612A(PowerSupplySCPI):
rstr = self.query(qstr)
return( float(rstr) )
+ def setChanIout_mA(self, chNum, val, **kwds):
+ """
+ Set current in mA.
+ Calls setChanIout with val converted from mA to A
+ """
+ return self.setChanIout(chNum, val/1000.0, **kwds)
+
@BasicInstrument.tsdb_append
def setChanIout(self, chNum, val, currentHeadRoom=1e-3, dwellTime=0.3):
"""