Instructions
Chapter 2 Command System  RIGOL 
DSG800 Programming Guide  2-69 
[:SOURce]:SWEep:STEP:SHAPe 
Syntax  [:SOURce]:SWEep:STEP:SHAPe TRIangle|RAMP 
[:SOURce]:SWEep:STEP:SHAPe? 
Description  Set the step sweep shape. 
Query the step sweep shape. 
Parameter 
Name 
Type 
Range 
Default 
TRIangle|RAMP 
Discrete 
TRIangle|RAMP 
RAMP 
Explanation    The sweep shape decides the cycle mode of multiple sweeps. 
  TRIangle: select "Triangle" waveform. The sweep period always starts from the 
start frequency or start level to the stop frequency or stop level and then returns 
back to the start frequency or start level (when the sweep direction is "Fwd"). 
  RAMP: select "Ramp" waveform. The sweep period always starts from the start 
frequency or start level to the stop frequency or stop level (when the sweep 
direction is "Fwd"). 
Return Format  The query returns TRI or RAMP. 
Example 
:SWE:STEP:SHAP TRI 
:SWE:STEP:SHAP? 
Related 
Command 
[:SOURce]:SWEep:DIRection 
[:SOURce]:SWEep:STEP:SPACing 
Syntax  [:SOURce]:SWEep:STEP:SPACing LINear|LOGarithmic 
[:SOURce]:SWEep:STEP:SPACing? 
Description  Set the step sweep spacing.  
Query the step sweep spacing. 
Parameter 
Name 
Type 
Range 
Default 
LINear|LOGarithmic 
Discrete 
LINear|LOGarithmic 
LINear 
Explanation    The sweep spacing refers to the variation mode from one frequency or level to 
another frequency or level within a step. 
  LINear: set the sweep spacing to "Lin". Note that level sweep only supports "Lin" 
sweep spacing.   
  LOGarithmic: set the sweep spacing to "Log". 
Return  Format 
The query returns LIN or LOG. 
Example  :SWE:STEP:SPAC LIN 
:SWE:STEP:SPAC? 










