aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/power_supply/keysight_e3612a.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-04-07 17:16:38 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-04-07 17:18:21 -0400
commit8a0d3872ecd841b92f5f05f5f19f99166ddcdf34 (patch)
tree2d89c235c285cd50a3d354c972fb4b0e12d75864 /qolab/hardware/power_supply/keysight_e3612a.py
parentb2e8ea7d743c17d6a5a6ccd8b7324df282cdbb13 (diff)
downloadqolab-8a0d3872ecd841b92f5f05f5f19f99166ddcdf34.tar.gz
qolab-8a0d3872ecd841b92f5f05f5f19f99166ddcdf34.zip
added new functions to access dI and dV
Diffstat (limited to 'qolab/hardware/power_supply/keysight_e3612a.py')
-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):
"""