aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/multimeter
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2023-06-20 09:40:31 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2023-06-20 09:40:31 -0400
commit39339f05afd1fa59262413f9a1cedd57a07eb94a (patch)
tree59f7aac620058c6a749ba9aaec220a25d3a6b4b6 /qolab/hardware/multimeter
parent567ccf02bf6a8072760827479dc02cbd61f45684 (diff)
downloadqolab-39339f05afd1fa59262413f9a1cedd57a07eb94a.tar.gz
qolab-39339f05afd1fa59262413f9a1cedd57a07eb94a.zip
declate minimal set of functions for a multimeter
Diffstat (limited to 'qolab/hardware/multimeter')
-rw-r--r--qolab/hardware/multimeter/__init__.py31
1 files changed, 30 insertions, 1 deletions
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):
"""