RIGOL Programming Example
Programming Guide for DS1000CA Series
Program in Visual Basic 6.0
Open Visual Basic 6.0, take the following steps:
1. Create a Standard EXE project.
2. Choose Project→Add Module→Existing; find the “visa.bas” file in the filefolder
of include under the path of NI-VISA and add;
3. Add two Command Buttons and Lables to the demo, each button denotes each
channel (CH1 and CH2).and each Label denotes different states (yellow and
light blue which is the channel‟s color indicates opening, while gray indicates
close) of the channels. See the figure below.
4. Choose Project→Project1 Properties→General, select “Form1” from the drop
down box of Startup Object.