Remote Commands
R&S
®
FSW
1231
User Manual 1173.9411.02 ─ 43
MMEMory:COPY
<arg0>, <arg1>
This command copies one or more files to another directory.
Parameters:
<arg0>
String containing the path and file name of the source file.
<arg1>
String containing the path and name of the target file.
The path may be relative or absolute.
Manual operation:
See
MMEMory:DATA
<arg0>[, <arg1>]
This command writes block data into a file. The delimiter must be set to EOI to obtain
error-free data transfer.
When you query the contents of a file, you can save them in a file on the remote con-
trol computer.
The command is useful for reading stored settings files or trace data from the instru-
ment or for transferring them to the instrument
Parameters:
<arg0>
String containing the path and name of the target file.
<arg1>
<block_data>
Data block with the following structure.
#
Hash sign.
<number>
Length of the length information.
<number>
Length information of the binary data (number of bytes).
<data>
Binary data with the indicated <number> of bytes.
Example:
MMEM:NAME '\Public\User\Testfile.txt'
Creates a new file called 'testfile.txt'.
MMEM:DATA 'Testfile.txt',#220Contents of the
file
The parameter means:
#2: hash sign and length of the length information (20 bytes = 2
digits)
20: indicates the number of subsequent binary data bytes.
Contents of the file: store 20 binary bytes (characters) to the file.
MMEMory:DELete:IMMediate
<arg0>
This command deletes a file.
Parameters:
<arg0>
String containing the path and file name of the file to delete.
The path may be relative or absolute.
Managing Settings and Results