Q10060 Selecting data blocks with delay
The signal I want to measure is irregular and low-level, hence not good for software triggering. I have another signal that is much better for reliable triggering, but there is a known delay between this signal and the one I want to measure. Is there a way to trigger at one point, but then retain data later?
Maybe there are too many ways! You can use the method that seems easiest to you.
Use a shifted data stream for your triggering analysis.
Define a pipe and use aFILL
command to put artificial values such as zero into the pipe, something that your triggering analysis will not respond to. Now use a DAPL expression task or aCOPY
task to place the actual triggering signal data into this pipe. The extra padding data will shift the location of your trigger event.-
Modify the positions of the trigger events.
Define a second trigger, and use aTRIGSCALE
task to add a positive number of shift positions to each trigger event you get from normal triggering analysis. Use the modified events to retain you measurement data. -
Capture extra data, and eliminate the parts you don't want.
Define an extra data pipe. Configure yourWAIT
command to retain all samples from the triggering event to the last sample you want to retain. Then, use aSKIP
task to drop the samples you don't want from the beginning of each block, placing the samples you want to keep into the extra data pipe. Use new DAPL 3000 features of the
WAIT
command to specify the delay you want.
A typical, positive pre-trigger count parameter in aWAIT
command tells it to start by retaining a positive number of samples prior to the event. By extension, a negative number is interpreted as avoiding samples – for example, a pre-trigger count of-200
would tell theWAIT
command to bypass 200 samples from the trigger event onward before retaining data.
L24076
There is an online tutorial about software triggering with several application examples.