Command Descriptions
AWG610 Arbitrary Waveform Generator User Manual 3-183
”output_filename” = corr(”filename1”, ”filename2”)
”output_filename” is the complete file name (file name and extension) to contain
the resultant correlation waveform. The argument can include a relative or
absolute path name. Enclose the file name within double quotation marks.
”filename1” and ”filename2” are the complete (file name and extension) names
of the files on which you are performing the correlation. Both files must be on
the active drive. The argument can include a relative or absolute path name.
Enclose each file name within double quotation marks.
”corrwave.wfm” = corr(”sine.wfm”, ”sine2x.wfm”)
Data( )The data() statement writes the defined data points to the specified file. The
number of <expression>s specified must equal the number of points. All marker
values will be 0. At least one <expression> must be included.
Waveform
”output_filename” = data(data_defn, data_defn, ...)
”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.
data_defn is a value that defines the data point value. The first data point value
starts at point 0. You must include at least one data definition expression.
Separate each definition with a comma.
. This command lets you create a waveform file that does not meet the
instrument waveform minimum data requirement (minimum of 512 points, evenly
divisible by eight). If you create such a file, open it in a waveform editor, and
then attempt to save it, the instrument displays a dialog box asking you to
correct the problem. If you attempt to load the waveform in the Setup screen, the
instrument displays an error message stating that the file does not have enough
data points.
”foo.wfm” = data(1, 0, .2, .4, .5)
Syntax
Arguments
Example
Group
Syntax
Arguments
Example