aboutsummaryrefslogtreecommitdiff
path: root/hardware/scope/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'hardware/scope/__init__.py')
-rw-r--r--hardware/scope/__init__.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/hardware/scope/__init__.py b/hardware/scope/__init__.py
deleted file mode 100644
index 23462a7..0000000
--- a/hardware/scope/__init__.py
+++ /dev/null
@@ -1,31 +0,0 @@
-"""
-Provide basic class to operate scope
-Created by Eugeniy E. Mikhailov 2021/11/29
-"""
-from hardware.scpi import SCPIinstr
-
-class Scope:
-
- # Minimal set of methods to be implemented by a scope.
- # Should work with minimal arguments list
- # but might be faster if parameters provided: less IO requests
-
- def __init__(self):
- self.numberOfChannels = 0
-
- def getTrace(self, chNum, availableNpnts=None, maxRequiredPoints=None):
- warnings.warn( 'this function is not implemented' )
-
-class ScopeSCPI(SCPIinstr, Scope):
- """
- Do not instantiate directly, use
- 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)
-
-from .sds1104x import SDS1104X
-