diff options
-rw-r--r-- | qolab/hardware/multimeter/hp_34401.py | 8 |
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"') |