To output rf signal, To output rf sweep signal, To output rf signal -2 – RIGOL DSG3000 Series User Manual
Page 154: To output rf sweep signal -2

RIGOL
Chapter 3 Application Examples
3-2
DSG3000 Programming Guide
To Output RF signal
Requirement
Use the SCPI commands to realize the following functions:
Output a RF signal with 1 GHz frequency and -40 dBm amplitude from the [RF OUTPUT 50Ω] connector.
Method
1.
*IDN?
/*Query the ID string of the RF signal generator to check whether
the remote communication is normal*/
2.
:SYST:PRES:TYPE FAC
/*Set the preset type to "Factory"*/
3.
:SYST:PRES
/*Restore the instrument to the factory setting*/
4.
:FREQ 1GHz
/*Set the RF signal frequency to 1 GHz*/
5.
:LEV -40
/* Set the RF signal amplitude to -40 dBm*/
6.
:OUTP ON
/*Enable the RF output*/
To Output RF Sweep Signal
Requirement
Use the SCPI commands to realize the following functions:
Output a RF sweep signal from the [RF OUTPUT 50Ω] connector by configuring continuous linear step
sweep. Set the frequency range to 1 GHz to 2 GHz, the amplitude range to -20 dBm to 0 dBm, the number
of sweep points to 10 and the dwell time to 500 ms.
Method
1.
*IDN?
/*Query the ID string of the RF signal generator to check whether
the remote communication is normal*/
2.
:SYST:PRES:TYPE FAC
/*Set the preset type to "Factory"*/
3.
:SYST:PRES
/*Restore the instrument to the factory setting (by default, the
sweep mode is continuous, the sweep type is step and the
sweep spacing is linear)*/
4.
:SWE:STEP:STAR:FREQ 1GHz
/*Set the start frequency of step sweep to 1 GHz*/
5.
:SWE:STEP:STOP:FREQ 2GHz
/*Set the stop frequency of step sweep to 2 GHz*/
6.
:SWE:STEP:STAR:LEV -20
/*Set the start level of step sweep to 20 dBm*/
7.
:SWE:STEP:STOP:LEV 0
/*Set the stop level of step sweep to 0 dBm*/
8.
:SWE:STEP:POIN 10
/*Set the number of step sweep points to 10*/
9.
:SWE:STEP:DWEL 500ms
/*Set the dwell time of step sweep to 500ms*/
10. :SWE:STAT LEV,FREQ
/*Enable the frequency and amplitude sweep functions at the
same*/
11. :OUTP ON
/*Enable the RF output*/