User manual

Application Examples RIGOL
Programming Guide for DG1022
3-3
Example 2: To Generate a Built-in Arbitrary Wave
Target: Generate an ExpRise wave with 2MHz of frequency, 5VRMS of amplitude,
10mVDC offset and 60° of phase via CH1.
How to realize via commands?
0 *IDN? /*Query ID to check the operating state */
1 FUNC:USER EXP_RISE /* Select built-in wave function */
2 FREQ 2000000 /* Set the output frequency */
3 VOLT:UNIT VRMS /* Set the unit of amplitude */
4 VOLT 5 /*Set the output amplitude */
5 VOLT:OFFS 0.01 /* Set the offset */
6 PHAS 60 /*Set the initial phase */
7 OUTP ON /*Enable the [Output] connector of CH1 at front
panel */