From 618195ac9dee31d669155e8601ea2300427d8c1b Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 25 Jul 2024 23:33:39 -0400 Subject: added setTrigDelay function --- qolab/hardware/scope/sds1104x.py | 5 +++++ 1 file changed, 5 insertions(+) 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 ): -- cgit v1.2.3