Instructions

Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-129
Return Format
The query returns the return time in scientific notation, with 7 effective digits. For example, 1.000000E+00
(the return time is 1 s).
Example
:SOUR1:SWE:RTIM 1 /*Sets the return time of the sweep function of CH1 to 1 s.*/
:SOUR1:SWE:RTIM? /*Queries the return time of the sweep function of CH1 and the query returns
1.000000E+00.*/
[:SOURce[<n>]]:SWEep:SPACing
Syntax
[:SOURce[<n>]]:SWEep:SPACing {LINear|LOGarithmic|STEp}
[:SOURce[<n>]]:SWEep:SPACing?
Description
Sets the sweep type of the specified channel to Linear (LINear), Log (LOGarithmic), or Step (STEp).
Queries the sweep type of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{LINear|LOGarithmic|STEp}
Discrete
LINear|LOGarithmic|STEp
LINear
Remarks
DG2000 provides Linear, Log, and Step sweep types.
In the linear sweep type, the output frequency of the instrument varies linearly in the way of "several
Hertz per second". The variation is controlled by "Start Frequency"
(
[:SOURce[<n>]]:FREQuency:STARt), "Stop Frequency" ([:SOURce[<n>]]:FREQuency:STOP), and
"Sweep Time" (
[:SOURce[<n>]]:SWEep:TIME). A straight line is displayed on the waveform on the
screen, indicating that the output frequency varies linearly.
In Log Sweep type, the output frequency of the instrument varies in a logarithmic fashion, that is, the
output frequency changes in the way of "octave per second" or "decade per second". The variation is
controlled by "Start Frequency", "Stop Frequency", and "Sweep Time". An exponential function curve
is displayed on the screen, indicating that the output frequency changes in a logarithmic mode.
In Step Sweep type, the output frequency has a stepwise increase from "Start Frequency" to "Stop
Frequency". The dwell time that the output signal stays at each frequency point is determined by
"Sweep Time" and "Steps". A step waveform is displayed on the screen, indicating that the output
frequency varies with a stepwise increase.
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
Return Format
The query returns LIN, LOG, or STE.
Example
:SOUR1:SWE:SPAC LIN /*Sets the sweep type of CH1 to Linear.*/
:SOUR1:SWE:SPAC? /*Queries the sweep type of CH1 and the query returns LIN.*/