aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope/sds1104x.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-03 10:00:03 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-03 10:00:03 -0500
commitdc948d81450af8cd32ac9650615f5fc6f97613bd (patch)
treec40be5fb2e75b84b067a1920f6495f14a92dff6e /qolab/hardware/scope/sds1104x.py
parenta6b773f7d57359be7f34cc89a094be53ef12f890 (diff)
downloadqolab-dc948d81450af8cd32ac9650615f5fc6f97613bd.tar.gz
qolab-dc948d81450af8cd32ac9650615f5fc6f97613bd.zip
cleanup
Diffstat (limited to 'qolab/hardware/scope/sds1104x.py')
-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()