EasyManuals Logo

Agilent Technologies 4155C User Manual

Agilent Technologies 4155C
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #185 background imageLoading...
Page #185 background image
Agilent 4155C/4156C VXIplug&play Driver Users Guide, Edition 4 5-3
Programming Examples for C++ Users
Programming Basics
Programming Basics
This section provides the basic information for programming using the Agilent
4155/4156 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 4155/4156) 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 followings 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
hp4156b.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
hp4156b.lib file and the VISA related library files
3. Additional project link library:
hp4156b.lib
Step 4. Open a source file (.cpp) in the project, and enter a program code as template. See
Table 5-1 for example. The example uses Microsoft Visual C++.
Step 5. Save the project as your template (e.g. \test\my_temp).

Table of Contents

Other manuals for Agilent Technologies 4155C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 4155C and is the answer not in the manual?

Agilent Technologies 4155C Specifications

General IconGeneral
BrandAgilent Technologies
Model4155C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals