EasyManua.ls Logo

Rohde & Schwarz SMB100A - Examples

Rohde & Schwarz SMB100A
481 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control Commands
R&S
®
SMB100A
268Operating Manual 1407.0806.32 ─ 13
7.9.3 Examples
In these examples, the current instrument setting is stored in the file
test.savrcltxt in the directory /var/user/.
Storing and Loading Current Settings
1. Store the current setting in an intermediate memory with the number 4. This setting
can be called using command *RCL and the associated number of the memory, e.g.
*RCL 4.
*SAV 4
2. To store the settings in a file in a specific directory, specify the complete path.
MMEM:STOR:STAT 4,"/var/user/test.savrcltxt"
3. To store the settings in a file in the default drive, set the default drive and specify only
the file name.
MMEM:CDIR '/var/user/'*SAV 4
MMEM:STOR:STAT 4,"test.savrcltxt"
4. Load the file test.savrcltxt in the user directory.
MMEM:LOAD:STAT 4,'/var/user/test.savrcltxt'
5. Activate the instrument setting of the file test.savrcltxt.
*RCL 4
Working with Files and Directories
1. Read out all files in the specified directory.
MMEM:CAT? '/usb/temp/user'
Response: 127145265,175325184,"test,DIR,0","temp,DIR,
0","readme.txt,ASC,1324","state.savrcltxt,STAT,
5327","waveform.wv,BIN,2342"
the directory /usb/temp/user contains the subdirectories test and temp as well
as the files readme.txt, state.savrcltxt and waveform.wv which have dif-
ferent file types.
Tip: To query only the subdirectories of the current or specified directory, perform:
MMEM:DCAT? '/usb/temp/user'
Response: 'test', 'temp'
To query only the number of subdirectories in the current or specified directory, per-
form:
MMEM:DCAT:LENG? '/usb/temp/user'
Response: 2
2. To query the number of files in the current or specified directory, perform:
MMEM:CAT:LENG? '/usb/temp/user'
Response: 3
3. Create a new subdirectory for mass memory storage in the specified directory.
MMEMory Subsystem

Table of Contents

Other manuals for Rohde & Schwarz SMB100A

Related product manuals