Command Descriptions
3-194 AWG610 Arbitrary Waveform Generator User Manual
reg_size specifies the number of registers in the pseudo-random generator. This
is an integer value from 1 to 32.
tap_position specifies the register positions to ‘tap’ for XOR feedback to the
register input. A tap does an XOR operation on the output signal and the
specified register and passes the result to the next-lower tap position or the
register input (register 1), whichever it encounters first. Refer to Shift Register
Generator... on page 3–56 for more information.
”random.wfm” = pn(12, 3, 6, 8)
Rename( )The rename statement renames the specified file name to a new file name and/or
location on the current drive.
Waveform
rename(”source_file”, ”target_file”)
”source_file” is the complete file name (path, file name and extension) to the file
that you want to rename. The file must be located on the active drive. The
argument can include a relative or absolute path name. Enclose the file name
within double quotation marks.
”target_file” is the complete file name (path, file name and extension) to the
location to which you are renaming the source file. The target file must be
located on the active drive. The argument can include a relative or absolute path
name. Enclose the file name within double quotation marks.
rename(”/test_dir/sine.wfm”, ”/test_dir/old_sine.wfm”)
Example
Group
Syntax
Arguments
Example