Remote control commands
R&S
®
RTE
1395User Manual 1326.1032.02 ─ 20
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
providing 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
Example:
MMEM:DATA? 'abc.txt'
Returns the data from file abc.txt.
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.
Example:
MMEM:ATTR? 'C:\USER\DATA\*.*'
"Datei1.LOG,A", "Datei2.LOG,A",
"Datei3.LOG,ASH", "Datei4.DLL,RSH",
"Datei5.INI,SH"
Data management