Remote control commands
R&S
®
RTO6
1646User Manual 1801.6687.02 ─ 05
Example:
MMEM:DATA? 'abc.txt'
Returns the data from file abc.txt.
MMEMory:ATTRibute <FileName>, <Attributes>
MMEMory:A
TTRibute? <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"
MMEMory:SAV <FileDestination>
Stores the current instrument settings to the specified file.
This command has the same effect as the combination of *SAV and
MMEMory:STORe:STATe.
Parameters:
<FileDestination> String parameter specifying path and filename of the target file.
Wildcards are not allowed.
Example:
MMEM:SAV 'C:\mysavefile.dfl'
Saves the current instrument settings to the file
mysavefile.dfl located in the directory C:\.
Usage: Event
MMEMory:RCL <FileSource>
Restores the instrument settings from the specified file.
Data management