Specifications

3 Programming Demos RIGOL
DS2000 Programming Guide
3-19
Visual Basic 6.0 Programming Demo
Enter the Visual Basic 6.0 programming environment and follow the steps below.
1. Build a standard application program project (Standard EXE).
2. Open the Existing tab in ProjectAdd Module, find and add the
visa32.bas file in the include folder under the NI-VISA installation path.
3. Add two buttons as shown in the figure below in Demo to represent CH1 and
CH2 respectively. Add two Labels: Label1(0) and Label1(1) to display the states
of CH1 and CH2 respectively (when the corresponding channel is on, the label
displays the color of the channel and when the corresponding channel is off, the
label is grey) as shown in the figure below.