From f1e47674962a53b7a3160f86b7571b5d33dc9f66 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 21 Jun 2023 17:01:41 -0400 Subject: added submission to TSDB for HP_34401 --- qolab/hardware/multimeter/hp_34401.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'qolab') 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"') -- cgit v1.2.3