aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qolab/hardware/scope/sds1104x.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py
index 3f26456..493be48 100644
--- a/qolab/hardware/scope/sds1104x.py
+++ b/qolab/hardware/scope/sds1104x.py
@@ -46,6 +46,11 @@ class SDS1104X(ScopeSCPI):
prefix, numberString, unit = response2numStr(rstr, firstSeparator=' ', unit='Sa/s')
return(int(float(numberString)))
+ def setSampleRate(self, val):
+ print('Cannot set SampleRate directly for SDS1104X')
+ # it is not possible to do with this model directly
+ pass
+
def calcSparsingAndNumPoints(self, availableNpnts=None, maxRequiredPoints=None):
if availableNpnts is None:
# using channel 1 to get availableNpnts