aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qolab/hardware/multimeter/hp_34401.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qolab/hardware/multimeter/hp_34401.py b/qolab/hardware/multimeter/hp_34401.py
index faf2fe1..7e1b1a5 100644
--- a/qolab/hardware/multimeter/hp_34401.py
+++ b/qolab/hardware/multimeter/hp_34401.py
@@ -96,6 +96,9 @@ class HP_34401(MultimeterSCPI):
@BasicInstrument.tsdb_append
def getFreq(self):
return self.getReadingWithSettingFunction('"FREQuency"', '"FREQ"')
+ @BasicInstrument.tsdb_append
+ def getPeriod(self):
+ return self.getReadingWithSettingFunction('"PERiod"', '"PER"')
if __name__ == '__main__':