Agilent Technologies B1500A Wartungshandbuch Seite 182

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 598
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 181
3-4 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Programming Basics for Visual Basic .NET Users
Programming Basics for Visual Basic .NET Users
This section provides the basic information for programming of the automatic
measurement using the Agilent B1500, Agilent IO Library, and Microsoft Visual
Basic .NET.
“To Create Your Project Template”
“To Create Measurement Program”
NOTE To execute the example programs in this chapter, you need to install Agilent GPIB
interface, Agilent IO Library, VISA COM Library, and Microsoft Visual Basic .NET
on your computer. The VISA COM Library is included in the IO Library.
To Create Your Project Template
Before starting programming, create your project template, and keep it as your
reference. It will remove the conventional task in the future programming. This
section explains how to create a project template.
Step 1. Connect Agilent B1500 (ex. GPIB address 17) to the computer via GPIB.
Step 2. Launch Visual Basic .NET and create a new project. The project type should be
Console Application to simplify the programming.
Step 3. Add VISA COM library (VisaComLib) to the reference.
Step 4. Open a module (e.g. Module1.vb) in the project. And enter a program code as
template. See Table 3-1 for example.
Step 5. Save the project as your template (e.g. \test\my_temp).
Seitenansicht 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 597 598

Kommentare zu diesen Handbüchern

Keine Kommentare