
Remote Control Commands
R&S
®
SMBV100B
811
User Manual 1178.4460.02 ─ 03
●
Connect an R&S NRP to the generator output signal and send the command
SOURce<hw>]:CORRection:CSET:DATA[:SENSor<ch>][:POWer]:SONCe
fill the table automatically.
Correction values can be stored in files with the predefined file extension
*.uco
.
Refer to
Chapter 12.6.2, "Accessing Files in the Default or in a Specified Directory"
on page 618 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
SOURce Subsystem