Remote control commands
R&S
®
AREG800A
276
User Manual 1179.3615.02 ─ 01
:MMEMory:COPY
<SourceFile>[,<DestinationFile>]
Copies an existing file to a new file. Instead of just a file, this command can also be
used to copy a complete directory together with all its files.
Setting parameters:
<SourceFile>
string
String containing the path and file name of the source file
<DestinationFile>
string
String containing the path and name of the target file. The path
can be relative or absolute.
If
<DestinationFile>
is not specified, the
<SourceFile>
is
copied to the current directory, queried with the
Note:
Existing files with the same name in the destination direc-
tory are overwritten without an error message.
Usage:
Setting only
SCPI confirmed
Manual operation:
See
:MMEMory:DATA
<Filename>, <BinaryBlock>
:MMEMory:DATA?
<Filename>
The setting command writes the block data
<BinaryBlock>
to the file identified by
<Filename>
.
Tip:
Use this command to read/transfer stored instrument settings or waveforms
directly from/to the instrument.
Parameters:
<BinaryBlock>
#<number><length_entry><data>
#
: Hash sign; always comes first in the binary block
<number>
: the first digit indicates how many digits the subse-
quent length entry has
<length_entry>
: indicates the number of subsequent bytes
<data>
: binary block data for the specified length.
For files with a size with more than nine digits (gigabytes), the
instrument allows the syntax
#(<Length>)
, where
<Length>
is the file size in decimal format.
Parameters for setting and query:
<Filename>
string
String parameter to specify the name of the file.
MMEMory subsystem