aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/scope/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py
index bbe2653..e05645f 100644
--- a/qolab/hardware/scope/__init__.py
+++ b/qolab/hardware/scope/__init__.py
@@ -15,6 +15,13 @@ class Scope:
# but might be faster if parameters provided: less IO requests
warnings.warn( 'this function is not implemented' )
+ def getAllTraces(self, availableNpnts=None, maxRequiredPoints=None):
+ allTraces={}
+ for chNum in range(1, self.numberOfChannels+1):
+ allTraces[chNum] = self.getTrace(chNum, availableNpnts, maxRequiredPoints)
+ return( allTraces )
+
+
class ScopeSCPI(SCPIinstr, Scope):
"""
Do not instantiate directly, use