Expand( ), Extract( ) – Tektronix AWG610 User Manual

Page 303

Advertising
background image

Command Descriptions

AWG610 Arbitrary Waveform Generator User Manual

3-185

Expand( )

The Expand() statement horizontally expands (scales) the waveform and marker
data of the specified waveform file and writes it to a new file.

Waveform

”output_filename” = expand(”filename”, expand_multiplier)

”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.

”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.

Waveform

”output_filename” = extract(”filename”, start_point, end_point)

”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.

Group

Syntax

Arguments

Example

Group

Syntax

Arguments

Advertising