Application Examples RIGOL
Programming Guide for DG1000
Example 2: To Generate a Built-in Arbitrary Wave
Target: Generate an ExpRise wave with 2MHz frequency, 5V
RMS amplitude, 10mVDC
offset and 60°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 the
front panel */