RIGOL
DG900 Programming Guide
2-129
[:SOURce[<n>]]:SWEep:STATe
Syntax
[:SOURce[<n>]]:SWEep:STATe {ON|1|OFF|0}
[:SOURce[<n>]]:SWEep:STATe?
Description
Enables or disables the sweep function of the specified channel.
Queries the on/off status of the sweep function of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
{ON|1|OFF|0}
Bool
ON|1|OFF|0
OFF
Remarks
DG900 can output sweep waveforms from a single channel or from dual channels at the same time. In
sweep mode, the generator outputs a signal variably from the start frequency to stop frequency within
the specified sweep time.
DG900 supports linear, log, and step sweep modes; allows users to set marker frequency; allows users
to set start hold, stop hold, and return time; supports internal, external, or manual trigger source; and
capable of generating sweep output (sweep output not available for Pulse and Noise basic waveforms)
for Sine, Square, Ramp, and Arbitrary waveform.
When [:SOURce[<n>]] or [<n>] is omitted, the system sets the related parameters of CH1 by default.
If the modulation function (
) or pulse function
) is currently enabled, it will be disabled automatically when the
sweep function is enabled.
If the harmonic function (
[:SOURce[<n>]]:HARMonic[:STATe]
) is currently enabled, the sweep
function cannot be enabled.
Return Format
The query returns ON or OFF.
Example
:SOUR1:SWE:STAT ON /*Enables the sweep function of CH1.*/
:SOUR1:SWE:STAT? /*Queries the on/off status of the sweep function of CH1 and the query returns
ON.*/
[:SOURce[<n>]]:SWEep:STEP
Syntax
[:SOURce[<n>]]:SWEep:STEP {<n>|MINimum|MAXimum}
[:SOURce[<n>]]:SWEep:STEP? [MINimum|MAXimum]
Description
Sets the number of steps of the sweep of the specified channel.
Queries the number of steps of the sweep of the specified channel.
Parameter
Name
Type
Range
Default
[<n>]
Discrete
1|2
1
<n>
Integer
2 to 1024
2
Remarks
Step: sets the number of steps required for the
sweep to move from the start frequency (
[:SOURce[<n>]]:FREQuency:STARt
) to the
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......