Command Descriptions
AWG710&AWG710B Arbitrary Waveform Generator User Manual 3-193
Syntax
"output_filename" = corr("filename1", "filename2")
Arguments
"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.
Example
"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.
Group
Waveform
Syntax
"output_filename" = data(data_defn, data_defn, ...)
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.
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.
Example
"foo.wfm" = data(1, 0, .2, .4, .5)
NOTE. This command lets you create a waveform file that does not meet the
instrument waveform minimum data requirement (minimum of 960 points, evenly
divisible by four). 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.