EasyManua.ls Logo

R&S SMA100B - Accessing Files in the Default or in a Specified Directory

R&S SMA100B
822 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
®
SMA100B
458User Manual 1178.3834.02 ─ 09
Filename and file path
When used in remote control commands, the parameter <filename> is specified as a
string parameter with quotation marks. It can contain either the complete path including
the root user directory /var/user and filename, or only the filename. The filename
must include the file extension. The same applies for the directory /var/volatile
and for the parameters <directory_name> and <path>.
Depending on how much information is provided, the values specified in the parameter
or with the command MMEM:CDIR are used for the path and drive setting in the com-
mands.
14.5.2 Accessing files in the default or in a specified directory
For better overview and easy file handling, you may not save all user files in the user
directory /var/user but rater organize them into subdirectories.
The command syntax defines two general ways to access files with user data in a spe-
cific directory:
Change the current default directory for mass memory storage and then directly
access the files in this default directory, like saved list files, files with user data or
save/recall files.
The subsequent commands for file handling (select, delete, read out files in the
directory, etc.) require only specification of the filename. File extension can be
omitted; after syntax evaluation of the used command, the R&S SMA100B filters
out the relevant files.
Define the complete file path, including the user directory /var/user, created
subdirectories and filename (see Example "Load file with user data from a specific
directory" on page 458).
As a rule, whenever an complete file path is determined, it overwrites a previously
specified default directory.
The following example explains this rule as a principle. Exceptions of this general rule
are stated in the description of the corresponding command. The Chapter 14.5.3, "Pro-
gramming examples", on page 459 explains the general working principle with the
commands for mass memory storage.
The same rule applies to the /var/volatile directory, see Example "Working with
files in the volatile memory" on page 460.
Example: Load file with user data from a specific directory
This example shows the principle of file handling in remote environment by using list
commands. Working with the files of other subsystems is analogical. We assume that
the directory /var/user/my_files is existing and contains the files
list_test.lsw and list_2.lsw.
//Query files in the user diectory
SOURce1:LIST:CATalog?
// -
MMEMory subsystem

Table of Contents

Other manuals for R&S SMA100B

Related product manuals