Command Descriptions
3-196
AWG610 Arbitrary Waveform Generator User Manual
Write( )
The write() statement writes the specified text to a new file name and/or location
on the current drive. If an output file already exists, the source file contents are
appended to the end of the existing file.
Waveform
write(”output_filename”, ”text” [,”text” ...])
”output_filename” is the complete file name (path, file name, and extension) to
the file that you want to write. The file must be located on the active drive. The
argument can include a relative or absolute path name. Enclose the file name in
double quotation marks.
”text” is the text string enclosed in double quotation marks. If you need to use a
double quotation mark as part of the text, precede each double quotation
character with a slash character (\). For example:
”This function writes a text to a \”ABC.TXT\” in text form.”
In a similar way, the following codes can be used in text strings:
\n LF
\r CR
\t Tab
\\ Backslash
\” Double-quote
write(”sine.wfm”, ”This is comment line.”)
Group
Syntax
Arguments
Example