Tektronix AWG710B Ventilation Hood User Manual


 
Programming Examples
AWG710&AWG710B Arbitrary Waveform Generator User Manual 3-215
The following text describes what happens in this example:
1. The noise() function generates a noise waveform into the file NOISE.WFM, in
which the waveform data are normalized using the norm() function.
2. The extract() function extracts the data sp through ep and stores them into the
file TEPM1.WFM.
3. The integ() function integrates the 7 data. The data of last point is the amount
of 7 point data. This last data is divided by 7 and then concatenated to the file
SMOOTH.WFM.
4. The for statement shifts the points to be read by one point for each loop and
repeats these procedures.
Figure 3-69: Noise waveforms before (upper) and after (lower) 7–point smoothing
Example 8
The following example creates two sequence files and five waveform files. These
files are the same as those used in the Tutorial 6: Creating and Running Waveform
Sequences beginning on page 2-70.
' Tutorial 6
delete("MAINSEQ.SEQ")
delete("SUBSEQ.SEQ")