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
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, 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.