Specifications

RIGOL Application Examples
Programming Guide for DG10X2
3-4
Example 3: To generate an user-defined arbitrary
wave via CH1
Target: Generate a ramp wave with 10μs of period, 4V of high level and -4V of low
level.
4
-4
0
2.5 5 7.5 10
μs
Vpp
2
-2
The vertical resolution of user-defined arbitrary wave is 14 bits, the value from 0 to
16383 separately corresponds to the minmum and maximum amplitude, that is: -4 V
corresponds to 0, 0 V corresponds to 8192 and 4 V corresponds to 16383. So, edit the
points in following table is enough.
Point
Time Value
(voltage) Value
1
0s
(0V) 8192
2
2.5μs
(4V) 16383
3
5μs
(0V) 8192
4
7.5μs
(-4V) 0
How to realize via commands?
0 *IDN? /*Query ID to check the operating state */
1 FUNC USER /*select user-defined arbitrary wave*/
2 FREQ 100000 /* Set the frequency as 100kHz (period: 10μs)*/
3 VOLT:UNIT VPP /* Set the unit of amplitude*/
4 VOLT:HIGH 4 /* Set the high level*/
5 VOLTage:LOW -4 /*Set the low level*/
6 DATA:DAC VOLATILE,8192,16383,8192,0