Programming Considerations - National Instruments GPIB-ENET/100 Getting Started

Ethernet-to-gpib controller for ni-488.2 for hp-ux
Hide thumbs Also See for GPIB-ENET/100:
Table of Contents

Advertisement

Programming Considerations

A linkable object module,
Note
compatibility. National Instruments strongly recommends that you link with the GPIB
library to ease transition to future upgrades.
© National Instruments Corporation
For more information about
NI-488.2M Software Reference Manual.
Depending on the programming language you use to develop your
application, you must include certain files, statements, or global variables
at the beginning of your application. For example, you must include the
header file
sys/ugpib.h
You must link the language interface library with your compiled source
code. Link the GPIB library
cc test.c -lgpib
cib.o
If you are using LabVIEW for your application, you do not need to add any
files to implement GPIB. Everything is included.
For information about each NI-488 function and IEEE 488.2-style
function, choosing a programming method, developing your application, or
compiling and linking, refer to the NI-488.2M Software Reference Manual.
The IEEE 488.2-style functions are compatible with any other NI-488.2
functions used with other National Instruments products, except for the
following functions:
ibdma
IBGET, IBSET, IBDINFO
Chapter 6
Using Your GPIB-ENET/100 and NI-488.2
, refer to Chapter 6, ibic, in the
ibic
in your source code if you are using C/C++.
as shown by the following example:
libgpib
, is installed with the software for backward
6-7
GPIB-ENET/100 for HP-UX

Advertisement

Table of Contents
loading

Table of Contents