Command Description R&S SMC100A
1411.4060.32 6.14 E-1
The two characters "*" and "?" function as "wildcards", i.e. they are used for selecting several files. The
"?" character represents exactly one character, while the "*" character represents all characters up to
the end of the file name. "*.*" therefore stands for all the files in a directory.
When used in conjunction with the commands, the parameter <file_name> is specified as a string
parameter with quotation marks. It can contain either the complete path or only the file name. The file
name must include the file extension. The same applies for the parameters <directory_name> and
<path>. Depending on how much information is provided, either the values specified in the parameter or
the values specified with the command MMEM:CDIR (default directory) are used for the path setting in
the commands.
Before the instrument settings can be stored in a file, they have to be stored in an intermediate memory
using common command *SAV <number>. The specified number is subsequently used in the
MMEM.STOR:STATe<number>, <file> command.
Also, subsequently to loading a file with instrument settings with command MMEM:LOAD:STAT
<number>, <file>, these settings have to be activated with the common command *RCL
<number>.
In the example below, the current instrument setting is always stored in the file 'test1.ss' in the
directory 'user' on the internal flash memory.
*SAV 4
MMEM:STOR:STAT 4,"/var/rs_gen/test1.savrcl"
If the complete path is specified, the file is stored in the specified path.
MMEM:CDIR '/var/rs_gen'
*SAV 4
MMEM:STOR:STAT 4,"test1.savrcl"
If the parameter only contains the file name, the file is stored in the default directory which
was selected with the MMEM:CDIR command.
List of file extensions assigned automatically in R&S Signal Generator
List type Contents File suffix
Instrument State Instrument settings
*.savrcl
User Correction User-defined level correction values
*.uco
Command Parameters Default unit Remark
MMEMory:CATalog? <path>
Query only
MMEMory:CATalog:LENGth?
Query only
MMEMory:CDIRectory <directory_name>
No query
MMEMory:COPY <file_name>,<file_name>
No query
MMEMory:DATA <file_name>[,<block>]
MMEMory:DCATalog?
Query only
MMEMory:DCATalog:LENGth?
Query only
MMEMory:DELete <file_name>
No query