Tektronix AWG710 Ventilation Hood User Manual


 
Command Descriptions
AWG710&AWG710B Arbitrary Waveform Generator User Manual 3-195
Expand( )
The Expand() statement horizontally expands (scales) the waveform and marker
data of the specified waveform file and writes it to a new file.
Group
Waveform
Syntax
"output_filename" = expand("filename", expand_multiplier)
Arguments
"output_filename" is the complete file name (file name and extension) to
contain the expanded waveform and marker data. The argument can include a
relative or absolute path name. Enclose the file name within double quotation
marks.
"filename" is the complete (file name and extension) name of the file on which
you are performing the expand operation. The file must be on the active drive. The
argument can include a relative or absolute path name. Enclose the file name within
double quotation marks.
expand_multiplier is an integer value specifying how much to expand the
waveform data. The value must be greater than one. Values less than or equal to
one result in the output waveform being the same as the input waveform.
Example
"longswp.wfm" = expand("lin_swp.wfm", 2)
Extract( )
The extract statement extracts the specified portion of a waveform file and writes
it to a new file. The marker data is also extracted. Specify the start and end points
to extract the data. Waveform data starts at point 0.
Group
Waveform
Syntax
"output_filename" = extract("filename", start_point, end_point)
Arguments
"output_filename" is the complete file name (file name and extension) to
contain the extracted waveform and marker data. The argument can include a
relative or absolute path name. Enclose the file name within double quotation
marks.
"filename" is the complete (file name and extension) name of the source file for
the extract operation. The file must be on the active drive. The argument can
include a relative or absolute path name. Enclose the file name within double
quotation marks.