Application Examples         RIGOL 
Programming Guide for DG1000 
Example 5: To Generate a Linear Sweep Wave   
 
Target: Generate a sweep sine wave with 100 Hz to 10 kHz frequency, internal trigger, 
linear mode and 1 s sweep time. 
 
How to realize via commands? 
 
0  *IDN?            /* Query ID to check the operating state */  
1  FUNC SIN          /* Select the sweep function */ 
2  SWE:STAT ON        /* Enable frequency sweep */ 
3  SWE:SPAC LIN        /* Select linear sweep mode */ 
4  FREQ:STAR 100        /* Set the start frequency */ 
5  FREQ:STOP 10000      /* Set the stop frequency */ 
6  SWE:TIME 1         /* Set the sweep time */  
7  TRIG:SOUR IMM        /* Select internal trigger source */ 
8  OUTP ON  /* Enable the [Output] connector of CH1 at the 
front panel */