RIGOL  Chapter 2 Command System 
2-132  DG800 Programming Guide 
[: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 
 
Remarks   
  DG800 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. 
  DG800 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 (
[:SOURce[<n>]]:MOD[:STATe]) or pulse function 
(
[:SOURce[<n>]]:BURSt[:STATe]) 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 
 
Remarks   
  Step: sets the number of steps required for the  
sweep to move from the start frequency (
[:SOURce[<n>]]:FREQuency:STARt) to the