Remote Control
R&S
®
ESR
941
User Manual 1175.7068.02 ─ 12
Usage:
Query only
SCPI confirmed
Manual operation:
See
MMEMory:CATalog:LONG?
Corresponds to
on page 940, but displays extended information
on the files contained in the current or specified directory.
This command is an event and therefore has no *RST value and no query.
Query parameters:
<Path>
<path>
DOS Path name
The path name should be in conformance with DOS conventions
and may also include the drive name.
Following this value, for each file, a string is listed according to
the following syntax:
"<File name>, <suffix>, <Length of file in
bytes>"
Return values:
Result
<total number of bytes the directory contains>,"<File name1>,
<suffix1>, <Length of file 2 in bytes>","<File name 2>, <suffix2>,
<Length of file2 in bytes>",...,"<File name n>, <suffix n>,
<Length of file n in bytes>"
The response value consists of a list of strings, separated by
commas. It begins with the total number of bytes the directory
contains. Then the information for each file is returned.
The <suffix> may be:
– ASCii
– BINary
– STAT
Example:
MMEM:CAT:LONG? 'C:\R_S\Instr\user
Returns all files in
C:\R_S\Instr\user
:
1776,3331993600, "autolog.txt,ASC,1520",
"autologin.reg,BIN,144", "no_autologin.reg,BIN,
112"
Query for the current directory:
MMEM:CDIR?
Response:
C:\R_S\Instr\user
MMEM:CAT:LONG?
Returns all files in C:\R_S\Instr\user.
Usage:
Query only
SCPI confirmed
Data Management