diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-25 23:33:39 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-25 23:42:39 -0400 |
commit | 618195ac9dee31d669155e8601ea2300427d8c1b (patch) | |
tree | 212929884e9b60fc1d64844c79a66f872a02f5e2 /qolab/hardware/scope | |
parent | 993f62dfd6b0cd020e51d964c5badf6b688886ce (diff) | |
download | qolab-618195ac9dee31d669155e8601ea2300427d8c1b.tar.gz qolab-618195ac9dee31d669155e8601ea2300427d8c1b.zip |
added setTrigDelay function
Diffstat (limited to 'qolab/hardware/scope')
-rw-r--r-- | qolab/hardware/scope/sds1104x.py | 5 |
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 ): |