C Language Programs; Compiling And Linking A C Program - Agilent Technologies 34420A User Manual

Nano volt/micro ohm meter
Table of Contents

Advertisement

Chapter 6 Application Programs

C Language Programs

C Language Programs
All of the C language example programs in this chapter are written for
GPIB
the 82335 HP-IB Interface Card using the HP-IB Command Library
for C. Unless otherwise noted, the library functions used in the example
programs are compatible with the ANSI C standard.
All of the C programs were compiled and tested used the following
compilers:
Microsoft® QuickC® Version 2.0
Borland® Turbo C®++ Version 1.0

Compiling and Linking a C Program

To run a program, first compile and link the program to make an
executable file. To compile and link a program:
Make sure the necessary PATH statements have been added to your
AUTOEXEC.BAT file to enable the compiler to find the library and
header files (see your C language manual to specify the proper paths).
Link the appropriate HP-IB C library file for your compiler (the file is
GPIB
located on the HP-IB Command Library disk that came with the
GPIB
HP-IB Interface Card). Use the appropriate library file:
clhpib.lib
tchhpib.lib
If you are not compiling in the "large" or "huge" memory model,
include the "CFUNC.H" header file in your program (the file is located
GPIB
on the HP-IB Command Library disk that came with your HP-IB
Interface Card).
GPIB
GPIB
for Microsoft® QuickC®
for Borland® Turbo C®++
6
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents