User manual

Chapter 4 Programming Examples RIGOL
DG800 Programming Guide 4-17
' Close the resource
Call viClose(vi)
Call viClose(defrm)
6. Run and view the results, as shown in the figure below.
1) Click the CH1 button to enable CH1, and the label above CH1 turns red;
2) Click the CH2 button to enable CH2, and the label above CH2 turns blue;
The running result is as shown in the figure below.