Operating instructions
MMEMory Subsystem R&S ESCI
1166.6004.12 6.118 E-1
MMEMory:COPY <file_source>,<file_destination>
This command copies the files indicated in <file_source> to the destination directory indicated with
<file_destination> or to the destination file indicated by <file_destination> when <file_source> is just
a file.
The indication of the file name may include the path and the drive name. The file names and path
information must be in accordance with the DOS conventions.
Parameter: <file_source>,<file_destination> ::= <file_name>
<file_name> ::= DOS file name
Example: "MMEM:COPY 'D:\USER\DATA\SETUP.CFG','A:'"
Characteristics: *RST value: -
SCPI conforming
Mode: all
This command is an event and therefore has no *RST value and no query.
MMEMory:DATA <file_name>[,<block data>]
This command writes the block data contained in <block> into the file characterized by <file_name>.
The IEC/IEEE-bus delimiter must be set to EOI to obtain error-free data transfer.
The associated query command reads the indicated file from the mass memory and transfers it to
the control computer via the IEC/IEEE bus. It should be noted that the buffer memory of the control
computer should be large enough to store the file. The setting of the IEC/IEEE-bus delimiter is
irrelevant in this case.
The command is useful for reading stored device settings or trace data from the instrument or for
transferring them to the instrument.
Syntax: MMEMory:DATA <file_name>,<block data> Data transfer from control computer
to instrument.
MMEMory:DATA? <file_name> Data transfer from instrument
to control computer.
<file_name> selects the file to be transferred.
The binary data block <block> has the following structure:
• it always begins with the character ‘#’,
• followed by a digit for the length of the length information,
• followed by the indicated number of digits as length information (number of
bytes) for the binary data themselves,
• finally the binary data with the indicated number of bytes
Example: "MMEM:DATA 'TEST01.HCP', #217This is the file"
'means:
'#2: the next 2 characters
' are the length indication
'17: number of subsequent binary data
'bytes
'This is the file:
' 17 bytes stored as binary data in the
' file TEST01.HCP.
"MMEM:DATA? 'TEST01.HCP'" 'Transfers the file TEST01.HCP from the
'instrument to the control computer.
Characteristics: *RST value: -
SCPI: conforming
Mode: all