Remote Control Commands
R&S
®
SMBV100B
624User Manual 1178.4460.02 ─ 03
: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.
Example:
MMEMory:DATA '/var/user/test.txt',#15hallo
Writes the block data to the file test.txt.
The digit 1 indicates a length entry of one digit; the digit 5 indi-
cate a length of the binary data (hallo) in bytes.
MMEMory:DATA? '/var/user/test.txt'
Sends the data of the file test.txt from the instrument to the
controller in the form of a binary block.
Response: #15hallo
Usage: SCPI confirmed
:MMEMory:DATA:UNPRotected <Msus>, <Data>
The setting command sends the I/Q data and the marker data to the file defined with
the <Msus> parameter. The required tags are created automatically so that the file
content follows the waveform file format.
The query reads out the I/Q data part or the marker information of the specified file.
Waveform files can also be created with the command [:SOURce<hw>]:BB:
ARBitrary:WAVeform:DATA. In this case, the complete content of the waveform file
must be specified, i.e. not only the I/Q or marker data but all required tags.
(see Chapter 3.6.5, "Tags for Waveforms, Data and Control Lists", on page 177).
Parameters:
<Msus> <Identifier>:<file name>
Mass Storage Unit Specifier
MMEMory Subsystem