diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-29 22:02:03 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-29 22:02:03 -0500 |
commit | 9cc643cd1e0f270e0af36a1674ab0768988fe71f (patch) | |
tree | 537d3649525bd185b334b6e68458c4cb8af111e2 /qolab | |
parent | ef0c2c1f4e2f8da5be3a90eee56375341b3cc7f2 (diff) | |
download | qolab-9cc643cd1e0f270e0af36a1674ab0768988fe71f.tar.gz qolab-9cc643cd1e0f270e0af36a1674ab0768988fe71f.zip |
typo fixed in sds1104x code
Diffstat (limited to 'qolab')
-rw-r--r-- | qolab/hardware/scope/sds1104x.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py index fd007c1..3f26456 100644 --- a/qolab/hardware/scope/sds1104x.py +++ b/qolab/hardware/scope/sds1104x.py @@ -190,13 +190,13 @@ class SDS1104X(ScopeSCPI): def getTriggerMode(self): # we expect NORM, AUTO, SINGLE, STOP - res = scope.query('TRIG_MODE?') + res = self.query('TRIG_MODE?') # res is in the form 'TRMD AUTO' return res[5:] def setTriggerMode(self, val): # we expect NORM, AUTO, SINGLE, STOP - res = scope.write(f'TRIG_MODE {val}') + res = self.write(f'TRIG_MODE {val}') def getTrace(self, chNum, availableNpnts=None, maxRequiredPoints=None, decimate=True): old_trg_mode = self.getTriggerMode() |