diff options
Diffstat (limited to 'qolab/hardware/scope')
-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() |