Remote control commands
R&S
®
SMB100B
447User Manual 1178.3711.02 ─ 08
// 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"
Example: Fill user correction data with sensor
The following example shows a command sequence to fill a user correction list auto-
matically supported by a connected R&S NRP.
// Fill a user correction list with the level values
// measured by an R&S NRP,
// store the data in a file and enable user correction.
*RST; *CLS
SOURce1:CORRection:CSET:SELect "/var/user/Ucor1_AutoFill.uco"
SOURce1:CORRection:CSET:DATA:FREQuency 100MHz,110MHz,120MHz,130MHz,140MHz,150MHz
SOURce1:CORRection:ZERoing:STATe 1
SOURce1:CORRection:CSET:DATA:SENSor1:POWer:SONCe
// Query the number of automatically filled correction level values
SOURce1:CORRection:CSET:DATA:POWer:POINTs?
// 6
SOURce subsystem