aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-25 23:33:39 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-25 23:42:39 -0400
commit618195ac9dee31d669155e8601ea2300427d8c1b (patch)
tree212929884e9b60fc1d64844c79a66f872a02f5e2 /qolab
parent993f62dfd6b0cd020e51d964c5badf6b688886ce (diff)
downloadqolab-618195ac9dee31d669155e8601ea2300427d8c1b.tar.gz
qolab-618195ac9dee31d669155e8601ea2300427d8c1b.zip
added setTrigDelay function
Diffstat (limited to 'qolab')
-rw-r--r--qolab/hardware/scope/sds1104x.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/qolab/hardware/scope/sds1104x.py b/qolab/hardware/scope/sds1104x.py
index af63609..21439e5 100644
--- a/qolab/hardware/scope/sds1104x.py
+++ b/qolab/hardware/scope/sds1104x.py
@@ -253,6 +253,11 @@ class SDS1104X(ScopeSCPI):
prefix, numberString, unit = response2numStr(rstr, firstSeparator=" ", unit="S")
return float(numberString)
+ @BasicInstrument.tsdb_append
+ def setTrigDelay(self, value):
+ cstr = f"TRIG_DELAY {value}"
+ self.write(cstr)
+
def getWaveform(
self, chNum, availableNpnts=None, maxRequiredPoints=None, decimate=True
):