Remote Commands in the Receiver Application
R&S
®
ESW
583User Manual 1177.6298.02 ─ 08
<arg1> String containing the path and name of the target file.
The path may be relative or absolute.
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.
MMEMory:MDIRectory <arg0>
This command creates a new directory.
Parameters:
<arg0> String containing the path and new directory name
The path may be relative or absolute.
Data Management