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