EasyManua.ls Logo

Rohde & Schwarz R&S SMW200A - Page 1206

Rohde & Schwarz R&S SMW200A
1403 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control Commands
R&S
®
SMW200A
1206User Manual 1175.6632.02 ─ 30
Example: Setup an RF frequency or power sweep
The following example shows a command sequence to set up an RF frequency sweep,
triggered by the execute command. For an RF power sweep, replace FREQuency in
the SWEep commands with POWer.
Exceptions are the power spacing (defined with LINear only) and the power step
width (defined with LOGarithmic only).
// 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
SOURce Subsystem

Table of Contents