Remote control commands
R&S
®
RTO6
1644
User Manual 1801.6687.02 ─ 05
Usage:
Query only
SCPI confirmed
MMEMory:CATalog:LENGth?
[<PathName>]
Returns the number of files and subdirectories of the current or specified directory. The
number includes the parent directory strings "." and ".." and it corresponds to the num-
ber of <FileEntry> strings returned by the
Query parameters:
<PathName>
String parameter, directory to be queried. If the directory is omit-
ted, the current directory is queried, specified with
Return values:
<Count>
Number of files and subdirectories including parent directory
entries.
Example:
MMEM:CDIR 'C:\USER\DATA'
MMEM:CAT:LENG?
11
Usage:
Query only
MMEMory:COPY
<FileSource>[, <FileDestination>]
Copies an existing file to a new file.
Setting parameters:
<FileSource>
String parameter, contains name and path of the file to be cop-
ied. Wildcards (* and ?) are allowed.
<FileDestination>
String parameter, contains name and path of the new file. If the
file already exists, it is overwritten without notice. If no file desti-
nation is specified, the source file is written to the current direc-
tory specified with
.
Example:
MMEM:COPY 'C:\Users\Public\Documents
\Rohde-Schwarz\RTx\RefWaveforms
\RefCurve_2011-03-16*.bin','E:'
Copies all reference waveforms saved on March 16, 2011 to an
external storage medium, mapped to drive
E:\
.
Usage:
Setting only
SCPI confirmed
MMEMory:MOVE
<FileSource>, <FileDestination>
Moves the specified file to a new location on the same drive and renames it.
Data management