aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qolab/hardware/multimeter/__init__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/qolab/hardware/multimeter/__init__.py b/qolab/hardware/multimeter/__init__.py
index b7464a3..34a7a74 100644
--- a/qolab/hardware/multimeter/__init__.py
+++ b/qolab/hardware/multimeter/__init__.py
@@ -2,6 +2,11 @@ from qolab.hardware.scpi import SCPIinstr
from qolab.hardware.basic import BasicInstrument
class Multimeter(BasicInstrument):
+ """
+ Multimeter basic class.
+
+ Intended to be part of the hardware aware class.
+ """
def __init__(self, *args, **kwds):
BasicInstrument.__init__(self, *args, **kwds)
self.config['Device type']='Multimeter'
@@ -52,6 +57,16 @@ class MultimeterSCPI(SCPIinstr, Multimeter):
rm = pyvisa.ResourceManager()
MultimeterSCPI(rm.open_resource('TCPIP::192.168.0.2::INSTR'))
"""
+ SCPI enabled basic multimeter.
+
+ Intended to be part of the hardware aware class.
+
+ Example
+ -------
+ >>> rm = pyvisa.ResourceManager()
+ >>> MultimeterSCPI(rm.open_resource('TCPIP::192.168.0.2::INSTR'))
+ """
+
pass
def __init__(self, resource, *args, **kwds):
SCPIinstr.__init__(self, resource)