Remote control commands
R&S
®
SMA100B
698User Manual 1178.3834.02 ─ 09
// Reset the instrument to start from an initial state
// Switch off display update to improve performance
// (especially with short dwell times)
// Set the sweep mode (first two commands) and the sweep range
// Select linear spacing
// Select the waveform shape for the frequency sweep
*RST; *CLS
SYSTem:DISPlay:UPDate OFF
TRIGger1:FSWeep:SOURce SINGle
SOURce1:SWEep:FREQuency:MODE AUTO
SOURce1:FREQuency:SPAN 300 MHz
SOURce1:FREQuency:CENTer 200 MHz
// Alternatively use
// SOURce1:FREQuency:STARt 50 MHz
// SOURce1:FREQuency:STOP 350 MHz
SOURce1:SWEep:FREQuency:SPACing LINear
SOURce1:SWEep:FREQuency:SHAPe SAWTooth
// Activate change to start frequency while waiting for next trigger
// Prerequisites: sweep mode single and sweep waveform sawtooth
SOURce1:SWEep:FREQuency:RETRace 1
// Alternatively reset all sweeps to their initial value
SOURce1:SWEep:RESet:ALL
// Set the step width and dwell time
SOURce1:SWEep:FREQuency:STEP:LINear 1 MHz
// Alternatively set the number of steps, then the sweep step width is
// set automatically
SOURce1:SWEep:FREQuency:POINts 301
SOURce1:SWEep:FREQuency:DWELl 500 ms
// With logarithmic spacing select the step width as follows
// (steps of 10 percent of the previous frequency in each instance)
SOURce1:SWEep:FREQuency:SPACing LOG
SOURce1:SWEep:FREQuency:STEP:LOGarithmic 10PCT
// Activate the sweep
// Trigger the sweep (depending on the set mode) and query the status
SOURce1:FREQuency:MODE SWEep
// Perform a one-off RF frequency sweep
SOURce1:SWEep:FREQuency:EXECute
SOURce1:SWEep:FREQuency:RUNNing?
// 1
// the frequency sweep is running
// For manual step RF sweep use the following commands
*RST; *CLS
// Activate manual step RF sweep
SOURce1:SWEep:FREQuency:MODE MANual
// Activate the RF frequency sweep.
SOURce1:FREQuency:MODE SWEep
SOURce subsystem