Programming Basics; To Create Your Project Template - Agilent Technologies B1500A User Manual

Semiconductor device analyzer
Hide thumbs Also See for B1500A:
Table of Contents

Advertisement

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 in the C language. 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 (e.g. Agilent B1500) to computer via GPIB.
Step 2. Launch the programming software and create a new project. Then, select the Win32
project or the console application for the new project template selection. They will
simplify the programming. Of course, other project template can be used.
Step 3. Define the following to the project properties or the project options. See manual or
on-line help of the programming software for defining them.
1. Additional include file search path:
directory (e.g. \Program Files\VISA\winnt\include) that stores the agb1500.h
file and the VISA related include files
2. Additional library search path:
directory (e.g. \Program Files\VISA\winnt\lib\msc for Microsoft Visual C++
or \Program Files\VISA\winnt\lib\bc for Borland C++Builder) that stores the
agb1500.lib file and the VISA related library files
3. Additional project link library:
agb1500.lib
Step 4. Open a source file (.cpp) in the project, and enter a program code as template. See
Table 4-1 for example. The program code is written in Microsoft Visual C++.
Step 5. Save the project as your template (e.g. \test\my_temp).
Agilent B1500 VXIplug&play Driver User's Guide, Edition 3
Programming Examples for C++ Users
Programming Basics
4-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents