User manual

Remote Control
R&S
®
RTO
758User Manual 1316.0827.02 ─ 06
Usage: Setting only
SCPI confirmed
MMEMory:DATA <FileName>, <Data>
MMEMory:DATA? <FileName>
Stores data in the specified file to the storage location specified using MMEMory:
CDIRectory.
Parameters:
<Data> <block>
488.2 block data format. The delimiter EOI must be selected to
achieve correct data transfer.
The block begins with character '#'. The next digit is the length of
the length information, followed by this given number of digits pro-
viding the number of bytes in the following binary data.
Parameters for setting and query:
<FileName> String parameter, the name of the file the data is stored to.
Example:
MMEM:DATA 'abc.txt' #216This is the file
#2: the length infomation has two digits
16: the binary data has 16 bytes
MMEMory:ATTRibute <FileName>, <Attributes>
MMEMory:ATTRibute? <FileName>
Sets file attributes for the specified file(s). The command can be used for files only.
Setting parameters:
<Attributes> String with attributes and setting information.
'+' before the attribute: sets the attribute
'-' before the attribute: deletes the attribute
'R': read only
'A': archive file
'S': system file
'H': hidden file
Parameters for setting and query:
<FileName> String parameter, contains name and path of the file. Wildcards (*
and ?) are allowed.
Return values:
<FileEntry> String containing: "<file_name>,<file_attributes>"
Example:
MMEM:ATTR 'C:\USER\DATA\*.LOG', '-R -A'
Deletes the read-only and archive attributes from all LOG files in
the directoryC:\USER\DATA\*.LOG.
Command Reference