aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2023-06-21 17:17:26 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2023-06-21 17:17:26 -0400
commitc712aea9c3d282ae0684619afbd1b73849d12909 (patch)
tree9daeeff6635402b50e7a90a93ffa1a96efc8af33 /qolab
parentf1e47674962a53b7a3160f86b7571b5d33dc9f66 (diff)
downloadqolab-c712aea9c3d282ae0684619afbd1b73849d12909.tar.gz
qolab-c712aea9c3d282ae0684619afbd1b73849d12909.zip
added period measurements for HP_34401
Diffstat (limited to 'qolab')
-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__':