Remote Control Commands
R&S
®
SMBV100B
619User Manual 1178.4460.02 ─ 03
gramming Examples", on page 620 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 621.
Example: Store the user settings in a file in a specific directory
This example uses the commands for storing and loading files with custom digital mod-
ulation settings. Working with the files of other subsystems or files containing the set-
tings of a particular digital standard (e.g. SOURce:BB:EUTRa:SETTing:...), is ana-
logical.
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"
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"
MMEMory Subsystem