Agilent Technologies B1500A User's Guide Page 97

  • Download
  • Add to my manuals
  • Print
  • Page
    / 208
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 96
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 3-3
Programming Examples for Visual Basic Users
Programming Basics
Programming Basics
This section provides the basic information for programming using the Agilent
B1500 VXIplug&play driver.
“To Create Your Project Template”
“To Create Measurement Program”
To Create Your Project Template
This section explains how to create a project template by using Microsoft Visual
Basic. Before starting programming, create your project template, and keep it as
your reference. It will remove the conventional task in the future programming.
Step 1. Connect instrument to computer via GPIB.
Step 2. Launch Visual Basic and create a new project.
Step 3. Import the following file to the project.
agb1500.bas (e.g. \Program Files\VISA\winnt\include\agb1500.bas)
visa32.bas (e.g. \Program Files\VISA\winnt\include\visa32.bas)
Step 4. Open a form (e.g. Form1) in the project.
Step 5. Enter a program code as template. See Table 3-1 for example. The program code is
written in Microsoft Visual Basic 6.0.
Step 6. Save the project as your template (e.g. \test\my_temp).
Page view 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 207 208

Comments to this Manuals

No comments