EasyManua.ls Logo

Rohde & Schwarz SMW200A - Programming Examples

Rohde & Schwarz SMW200A
1312 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
®
SMW200A
778User Manual 1175.6632.02 ─ 16
Example: Load file with user data from a specific directory
This example shows how to use the custom digital modulation commands to set the
data source and select a data list. Working with other list files, like control lists
(..:CLISt:..) or lists with modulation data (...:MLISt:...), and the handling of
data list files of other subsystems or of a particular digital standard (like
SOURce:BB:EUTRa:...:DSELect), is analogical.
We assume that the directory /var/user/lists is existing and contains the files
dlist1.dm_iqd and myDList.dm_iqd.
// Select a data list file as data source
SOURce1:BB:DM:SOURce DLISt
// Query the data list files (*.dm_iqd) in the default directory
MMEMory:CDIRectory "/var/user/lists"
SOURce1:BB:DM:DLISt:CATalog?
// "dlist1","myDList"
// Specify the complete path to select a data list file (*.dm_iqd)
// in the specific directory
MMEMory:CDIRectory
SOURce1:BB:DM:DLISt:SELect "/var/user/lists/myDList"
SOURce1:BB:DM:DLISt:DELete "/var/user/lists/dlist1"
13.7.3 Programming Examples
Example: Storing and loading current settings
This example shows two ways of how to store the current instrument setting in the file
settings.savrcltxt in the directory /var/user/savrcl.
Before the instrument settings can be stored in a file, they have to be stored in an inter-
mediate memory using common command *SAV <number>. The specified number is
then used in the :MMEMory:STORe:STATe command.
Also, after loading a file with instrument settings with command :MMEMory:LOAD:
STATe, these settings have to be activated with the common command *RCL
<number>.
// Store the current settings in an intermediate memory with number 4
*SAV 4
// store the settings in a file in a specific directory;
// the complete path has to be specyfied
MMEMory:STORe:STATe 4,"/var/user/savrcl/settings.savrcltxt"
// store the settings in a file in the default directory;
// set the default directory; specify only the file name
MMEMory Subsystem

Table of Contents

Related product manuals