EasyManua.ls Logo

Rohde & Schwarz R&S SMW200A - Programming Examples

Rohde & Schwarz R&S SMW200A
1403 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
853User Manual 1175.6632.02 ─ 30
Example: Save the user settings in a file in a specific directory
This example uses the commands for saving and loading files with custom digital mod-
ulation settings. We assume that the directory /var/user/DigMod is existing and
contains the files SaveRecallTest.dm and dmSavRcl.dm.
// Set the default directory first
:MMEMory:CDIRectory "/var/user/DigMod"
:SOURce1:BB:DM:SETTing:CATalog?
// "SaveRecallTest","dmSavRcl"
// Specify only the file name; the extenssion *.dm is assigned automatically
:SOURce1:BB:DM:SETTing:STORe "dmSettings"
:SOURce1:BB:DM:SETTing:DELete "dmSavRcl"
:SOURce1:BB:DM:SETTing:LOAD "SaveRecallTest"
:SOURce1:BB:DM:SETTing:CATalog?
// "SaveRecallTest","dmSettings"
Working with the files of other subsystems or files containing the settings of a particular
digital standard (e.g. :SOURce1:BB:EUTRa:SETTing:...), is analogical.
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. 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"
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 :SOURce1:BB:EUTRa:...:DSELect), is analogical.
14.7.3 Programming Examples
Example: Saving and loading current settings
This example shows two ways of how to save the current instrument setting in the file
settings.savrcltxt in the directory /var/user/savrcl.
MMEMory Subsystem

Table of Contents