aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-29 22:02:03 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-29 22:02:03 -0500
commit9cc643cd1e0f270e0af36a1674ab0768988fe71f (patch)
tree537d3649525bd185b334b6e68458c4cb8af111e2
parentef0c2c1f4e2f8da5be3a90eee56375341b3cc7f2 (diff)
downloadqolab-9cc643cd1e0f270e0af36a1674ab0768988fe71f.tar.gz
qolab-9cc643cd1e0f270e0af36a1674ab0768988fe71f.zip
typo fixed in sds1104x code
-rw-r--r--qolab/hardware/scope/sds1104x.py4
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()