Remote Control Commands
R&S
®
SMA100B
389
User Manual 1178.3834.02 ─ 03
// 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 multi level 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
SOURce1:CORRection:STATe 1
// Query the correction value at a certain frequency
FREQ 120000000
SOURce1:CORRection:VALue?
// -52.13
SOURce Subsystem