Program in visual basic 6.0, Program in visual basic 6.0 -21 – RIGOL DS1000D User Manual

Page 125

Advertising
background image

Programming Guide for DS1000E, DS1000D Series

3-21

Program in Visual Basic 6.0


Open Visual Basic 6.0, take the following steps:

1. Create a Standard EXE project.

2. Choose ProjectAdd ModuleExisting; 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, 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.

Advertising
This manual is related to the following products: