aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/multimeter/hp_34401.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2023-06-21 17:01:41 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2023-06-21 17:01:41 -0400
commitf1e47674962a53b7a3160f86b7571b5d33dc9f66 (patch)
treec522354cf3184a22ebb3193be70c1310a8c7c1fe /qolab/hardware/multimeter/hp_34401.py
parentbf560797ab2e45ecb877d41a1a8210560db9a0b3 (diff)
downloadqolab-f1e47674962a53b7a3160f86b7571b5d33dc9f66.tar.gz
qolab-f1e47674962a53b7a3160f86b7571b5d33dc9f66.zip
added submission to TSDB for HP_34401
Diffstat (limited to 'qolab/hardware/multimeter/hp_34401.py')
-rw-r--r--qolab/hardware/multimeter/hp_34401.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/qolab/hardware/multimeter/hp_34401.py b/qolab/hardware/multimeter/hp_34401.py
index 5775b9c..faf2fe1 100644
--- a/qolab/hardware/multimeter/hp_34401.py
+++ b/qolab/hardware/multimeter/hp_34401.py
@@ -72,20 +72,28 @@ class HP_34401(MultimeterSCPI):
self.toLocal()
return ret
+ @BasicInstrument.tsdb_append
def getVdc(self):
return self.getReadingWithSettingFunction('"VOLTage:DC"', '"VOLT"')
+ @BasicInstrument.tsdb_append
def getVac(self):
return self.getReadingWithSettingFunction('"VOLTage:AC"', '"VOLT:AC"')
+ @BasicInstrument.tsdb_append
def getAdc(self):
return self.getReadingWithSettingFunction('"CURRent:DC"', '"CURR"')
+ @BasicInstrument.tsdb_append
def getAac(self):
return self.getReadingWithSettingFunction('"CURRent:AC"', '"CURR:AC"')
+ @BasicInstrument.tsdb_append
def getResistance(self):
return self.getReadingWithSettingFunction('"RESistance"', '"RES"')
+ @BasicInstrument.tsdb_append
def getResistance4Wires(self):
return self.getReadingWithSettingFunction('"FRESistance"', '"FRES"')
+ @BasicInstrument.tsdb_append
def getDiode(self):
return self.getReadingWithSettingFunction('"DIODe"', '"DIOD"')
+ @BasicInstrument.tsdb_append
def getFreq(self):
return self.getReadingWithSettingFunction('"FREQuency"', '"FREQ"')