Remote Control Commands
R&S
®
SMB100A
305
Operating Manual 1407.0806.32 ─ 21
Response:
127145265,175325184,"test,DIR,0","temp,DIR,0",
"readme.txt,ASC,1324","state.savrcltxt,STAT,5327",
"waveform.wv,BIN,2342"
the directory
/usb/user
contains the subdirectories
test
and
temp
as well as
the files
readme.txt
,
state.savrcltxt
and
waveform.wv
which have differ-
ent file types.
Tip:
To query only the subdirectories of the current or specified directory, perform:
MMEM:DCAT? '/usb/user'
Response:
'test', 'temp'
To query only the number of subdirectories in the current or specified directory,
perform:
MMEM:DCAT:LENG? '/usb/user'
Response:
2
2. To query the number of files in the current or specified directory, perform:
MMEM:CAT:LENG? '/usb/user'
Response:
3
3. Create a new subdirectory for mass memory storage in the specified directory.
MMEM:MDIR '/usb/new'
4. Copy the file
state
to a new file.
MMEM:COPY '/var/user/state.savrcltxt','/usb/new'
5. Rename the file
state
.
MMEM:MOVE 'state.savrcltxt','state_new.savrcltxt'
6. Remove the
test
directory.
MMEM:RDIR '/usb/test'
7.10.4 Remote Control Commands
.........................................................................................306
.......................................................................................308
................................................................................................309
..............................................................................................311
MMEMory Subsystem