From 39339f05afd1fa59262413f9a1cedd57a07eb94a Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Tue, 20 Jun 2023 09:40:31 -0400 Subject: declate minimal set of functions for a multimeter --- qolab/hardware/multimeter/__init__.py | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'qolab/hardware/multimeter/__init__.py') diff --git a/qolab/hardware/multimeter/__init__.py b/qolab/hardware/multimeter/__init__.py index 3c174f4..77aae89 100644 --- a/qolab/hardware/multimeter/__init__.py +++ b/qolab/hardware/multimeter/__init__.py @@ -9,8 +9,37 @@ class Multimeter(BasicInstrument): self.config['Device model'] = 'Generic Multimeter Without Hardware interface' self.config['FnamePrefix'] = 'multimeter' self.deviceProperties.update({}) + # Minimal set of methods to be implemented. - pass + def getVdc(self): + """ Report DC Voltage """ + print('getVdc is not implemented') + return None + def getVac(self): + """ Report AC Voltage """ + print('getVac is not implemented') + return None + def getAdc(self): + """ Report DC Current """ + print('getAdc is not implemented') + return None + def getAac(self): + """ Report AC Current """ + print('getAac is not implemented') + return None + def getResistance(self): + """ Report Resistance """ + print('getResistance is not implemented') + return None + def getDiode(self): + """ Report Diode Voltage drop """ + print('getDiode is not implemented') + return None + def getFreq(self): + """ Report Frequency """ + print('getFreq is not implemented') + return None + class MultimeterSCPI(SCPIinstr, Multimeter): """ -- cgit v1.2.3