aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 21:34:56 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 21:34:56 -0400
commit29586b8ca634019564bd57cb57104569293a4c9f (patch)
treedb71490cc277cf85d8470681e28f9713e4db9b3e /qolab/hardware
parentd74643d7adfbf58e13f0a4607bf0fecbf950c144 (diff)
downloadqolab-29586b8ca634019564bd57cb57104569293a4c9f.tar.gz
qolab-29586b8ca634019564bd57cb57104569293a4c9f.zip
improved doc strings
Diffstat (limited to 'qolab/hardware')
-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)