aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/power_supply
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware/power_supply')
-rw-r--r--qolab/hardware/power_supply/keysight_e3612a.py24
1 files changed, 23 insertions, 1 deletions
diff --git a/qolab/hardware/power_supply/keysight_e3612a.py b/qolab/hardware/power_supply/keysight_e3612a.py
index fc13bc0..168e7b3 100644
--- a/qolab/hardware/power_supply/keysight_e3612a.py
+++ b/qolab/hardware/power_supply/keysight_e3612a.py
@@ -10,7 +10,29 @@ class KeysightE3612A(PowerSupplySCPI):
self.config['Device model'] = 'Keysight E3612A'
self.numberOfChannels = 3
self.deviceProperties = {'OpMode', };
- self.channelProperties = {'IsOn', 'Regulation', 'Vout', 'Vlimit', 'Iout', 'Ilimit', }
+ self.channelProperties = {'IsOn', 'Regulation', 'Vout', 'Vlimit', 'Iout', 'Ilimit', 'dV', 'dI', }
+
+ def getChandV(self, chNum):
+ """
+ Voltage precision per channel.
+ Obtained from data sheet.
+ Alternative estimate is by assuming 14 bit precision from the maximum reading.
+ """
+ if chNum == 1:
+ return 0.24e-3
+ return 1.5e-3
+
+ def getChandI(self, chNum):
+ """
+ Current precision per channel.
+ Obtained from data sheet.
+ Alternative estimate is by assuming 14 bit precision from the maximum reading.
+ """
+ if chNum == 1:
+ return 0.2e-3
+ return 0.160e-3 # see specification for high current > 20mA
+
+
def getOpMode(self):
"""