Download Data Acquisition Toolbox User`s Guide

Transcript
Configuring Analog Input Triggers
The data acquired for both triggers is shown below.
daqdoc3_6
Voice Activation First Trigger
Signal level (Volts)
0.6
0.4
0.2
0
−0.2
−0.4
−0.6
−0.8
0
0.1
0.2
0.3
0.4
0.5
Time (sec.)
Voice Activation Second Trigger
Signal level (Volts)
0.6
0.4
0.2
0
−0.2
−0.4
−0.6
−0.8
0.5
0.6
0.7
0.8
Time (sec.)
0.9
1
As described in “Extracting Data from the Engine” on page 5-13, if you do not
specify the amount of data to extract from the engine with getdata, then the
amount of data returned is given by the SamplesPerTrigger property. You can
return data from multiple triggers with one call to getdata by specifying the
appropriate number of samples. When you return data that spans multiple
triggers, a NaN is inserted in the data stream between trigger events. Therefore,
an extra “sample” (the NaN) is stored in the engine and returned by getdata.
Identifying these NaNs allows you to locate where and when each trigger was
issued in the data stream.
5-33