RIGOL Application Examples
Programming Guide for DG1000
Example 3: To Generate an User-defined Arbitrary
Wave
Target: Generate a user-defined arbitrary ramp wave with 10μs period, 4V high level
and -4V low level.
The vertical resolution of user-defined arbitrary wave is 14 bits, 0 and 16383
separately correspond to the minmum and maximum amplitudes, that is: -4 V
corresponds to 0 and 4 V corresponds to 16383. So, edit the points in following table
to generate the specified ramp wave..
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 voltage*/
4 VOLT:HIGH 4 /* Set the high level*/
5 VOLTage:LOW -4 /*Set the low level*/
6 DATA:DAC VOLATILE,8192,16383,8192,0