R&S AFQ100A
AFQ Commands - Setup Section
1401.3084.32 6.80
E-3
MMEMory:CATalog:LENGth?
<path>
This command reads out the number of files in the specified directory. If no directory is specified, the
default directory selected with the
MMEM:CDIR
command is read out on the default drive selected
with the
MMEM:MSIS
command.
The command is a query command and therefore has no *RST value.
Example:
MMEM:CAT:LENG? 'e:\
'reads out the number of files at the highest directory level of the memory
stick.
Response: '1'
'there is 1 file at the highest directory level of the memory stick.
*RST value
Resolution
Options
SCPI
-
-
Device-specific
MMEMory:CDIRectory
<directory_name>
This command changes the default directory. This directory is used for all subsequent MMEM
commands if no path is specified with them. It is also possible to change to a higher directory using
two dots '..' .
Example:
MMEM:CDIR 'test'
'changes from the current directory level to the subdirectory
'test'
.
*RST value
Resolution
Options
SCPI
D:\ -
Compliant
MMEMory:COPY
<source>,<destination>
This command copies the first specified file to the second specified file. Instead of just a file, this
command can also be used to copy a complete directory together with all its files.
If <destination> is not specified, <source> is copied to the
MMEM:MSIS
drive and the
MMEM:CDIR
directory. Files which already exist with the same name in the destination directory are overwritten
without an error message.
It is also possible to specify the path using another parameter. The command is:
MMEMory:COPY
<file_source><msus_source>[,<file_destination>,<msus_destination>]
The command triggers an event and therefore has no query form and no *RST value.
Example:
MMEM:COPY 'D:\USER\TEST1.SAVRCL','E:'
'copies the file
'test1.savrcl'
in the USER directory on the internal hard
disk to the memory stick without changing the file name.
*RST value
Resolution
Options
SCPI
-
-
Compliant