RIGOL Programming Examples
Programming Guide for DS1000B 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 four Command Buttons and Lables to the demo, each button denotes
each channel (CH1~CH4).and each Label denotes different states (yellow, light
blue, pink and dark 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.