diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-29 22:34:42 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-29 22:35:14 -0500 |
commit | 594f42b93ed44c10c2a009629cea280b75ffe72b (patch) | |
tree | 5c7ba830ea6e9a953d471f632094faa908fd0268 /qolab | |
parent | ed26f6dcbbcd39942644f310836ee1e7c13d3454 (diff) | |
download | qolab-594f42b93ed44c10c2a009629cea280b75ffe72b.tar.gz qolab-594f42b93ed44c10c2a009629cea280b75ffe72b.zip |
sds1104x cannot set SampleRate
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scope/sds1104x.py | 5 |
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 |