Preparations
This section provides the basic information for programming of the automatic
measurement using the Keysight B2961B/B2962B, Keysight IO Libraries, and
Microsoft Visual Basic .NET.
•
•
To execute the example programs in this chapter, you need to install Keysight
GPIB interface, Keysight IO Libraries Suite, and Microsoft Visual Basic .NET on
your computer.
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 Keysight B2961B/B2962B (e.g. GPIB address 23) to the computer via
Step 2. Launch Visual Basic .NET and create a new project. The project type should be
Step 3. Add the following references to the project.
•
•
•
Step 4. Open a module (e.g. Module1.vb) in the project. And enter a program code as
Step 5. Save the project as your template (e.g. \B2960\my_temp).
Keysight B2961B/B2962B Programming Guide, Edition 1
"To Create Your Project Template"
"To Create Control Program"
GPIB.
Console Application to simplify the programming.
VISA COM 3.0 Type Library
Ivi.Visa.Interop
System.IO
template. See
Table 2-2
for example.
Programming Examples
Preparations
43