Remote control commands
R&S
®
SMM100A
876
User Manual 1179.1341.02 ─ 05
Refer to
Chapter 13.5.2, "Accessing files in the default or in a specified directory"
on page 662 for general information on file handling in the default and in a specific
directory.
Programming example
The examples in this section assume that:
●
The files are stored in the default directory.
●
*RST
does not affect data lists.
Example: Create a table with user-defined correction values for the RF level
The following example shows a command sequence to create and activate a list for
assigning level correction values to arbitrary RF frequencies. Further hardware settings
are not considered.
// Reset the instrument to start from an initial state
// Query the available user correction list files in the default directory
// Select a file or create a new one
// ******************************************************************
*RST; *CLS
SOURce1:CORRection:CSET:CATalog?
// Response: shows the name of available user correction files (if applicable)
// Select a file
SOURce1:CORRection:CSET:SELect "/var/user/ucor1"
// Create a new file (if not existing)
SOURce1:CORRection:CSET:SELect "/var/user/ucor2"
// Enter the frequency/level value pairs in the table;
// existing data is overwritten
// Query the number of frequency/power entries in the selected list
SOURce1:CORRection:CSET:DATA:FREQuency 100MHz,110MHz,120MHz,130MHz,140MHz,150MHz
SOURce1:CORRection:CSET:DATA:POWer -10,-7.5,-5.0,-2.5,0,2.5
SOURce1:CORRection:CSET:DATA:FREQuency:POINts?
// 6
SOURce1:CORRection:CSET:DATA:POWer:POINTs?
// 6
// Enable user correction mode and RF output
SOURce1:CORRection:STATe 1
OUTPut1:STATe ON
// Query the currently used correction value
SOURce1:CORRection:VALue?
// -2.5
// Delete a user correction file
SOURce1:CORRection:CSET:DELEte "/var/user/ucor1.uco"
SOURce subsystem