aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 21:07:30 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-09 21:10:34 -0500
commit5cda6142ddd092f8d7ea9da25ab4794108eb30cb (patch)
treebaa2c0b62f6b8c545f16af045395b0e1efd73e25 /qolab/hardware
parent735c19aed4fc85ff6f17b413930ada1672ebb4ff (diff)
downloadqolab-5cda6142ddd092f8d7ea9da25ab4794108eb30cb.tar.gz
qolab-5cda6142ddd092f8d7ea9da25ab4794108eb30cb.zip
clean up
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/rf_generator/__init__.py3
-rw-r--r--qolab/hardware/scope/__init__.py2
2 files changed, 1 insertions, 4 deletions
diff --git a/qolab/hardware/rf_generator/__init__.py b/qolab/hardware/rf_generator/__init__.py
index a82c1a0..15a366e 100644
--- a/qolab/hardware/rf_generator/__init__.py
+++ b/qolab/hardware/rf_generator/__init__.py
@@ -8,9 +8,8 @@ class RFGeneratorSCPI(SCPIinstr, RFGenerator):
"""
Do not instantiate directly, use
rm = pyvisa.ResourceManager()
- ScopeSCPI(rm.open_resource('TCPIP::192.168.0.2::INSTR'))
+ RFGeneratorSCPI(rm.open_resource('TCPIP::192.168.0.2::INSTR'))
"""
- pass
def __init__(self, resource):
SCPIinstr.__init__(self, resource)
RFGenerator.__init__(self)
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py
index b89e2b6..c573edf 100644
--- a/qolab/hardware/scope/__init__.py
+++ b/qolab/hardware/scope/__init__.py
@@ -14,7 +14,6 @@ class Scope(BasicInstrument):
def __init__(self):
BasicInstrument.__init__(self)
self.config['Device type']='Scope'
- self.config['FnamePrefix'] = 'scope'
self.config['Device model'] = 'Generic Scope Without Hardware interface'
self.config['FnamePrefix'] = 'scope'
self.numberOfChannels = 0
@@ -78,7 +77,6 @@ class ScopeSCPI(SCPIinstr, Scope):
rm = pyvisa.ResourceManager()
ScopeSCPI(rm.open_resource('TCPIP::192.168.0.2::INSTR'))
"""
- pass
def __init__(self, resource):
SCPIinstr.__init__(self, resource)
Scope.__init__(self)