aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/hardware')
-rw-r--r--qolab/hardware/scope/sds1104x.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py
index aa5940f..fa0519e 100644
--- a/qolab/hardware/scope/sds1104x.py
+++ b/qolab/hardware/scope/sds1104x.py
@@ -185,7 +185,7 @@ class SDS1104X(ScopeSCPI):
@BasicInstrument.tsdb_append
def getTimePerDiv(self):
- qstr = f'TDIV?'
+ qstr = 'TDIV?'
rstr = self.query(qstr)
# expected reply to query: 'TDIV 2.00E-08S'
prefix, numberString, unit = response2numStr(rstr, firstSeparator=' ', unit='S')
@@ -199,7 +199,7 @@ class SDS1104X(ScopeSCPI):
@BasicInstrument.tsdb_append
def getTrigDelay(self):
- qstr = f'TRIG_DELAY?'
+ qstr = 'TRIG_DELAY?'
rstr = self.query(qstr)
# expected reply to query: 'TRDL -0.00E+00S'
prefix, numberString, unit = response2numStr(rstr, firstSeparator=' ', unit='S')
@@ -249,7 +249,7 @@ class SDS1104X(ScopeSCPI):
def setTriggerMode(self, val):
# we expect NORM, AUTO, SINGLE, STOP
- res = self.write(f'TRIG_MODE {val}')
+ self.write(f'TRIG_MODE {val}')
def getTrace(self, chNum, availableNpnts=None, maxRequiredPoints=None, decimate=True):
old_trg_mode = self.getTriggerMode()