Software Installation and Configuration
Chapter 3
AT-GPIB for SCO UNIX
3-10
© National Instruments Corp.
Developing Your Application
Once the driver software has been installed and verified successfully, you
are ready to proceed with development of your NI-488M application
software.
•
The file
cib.c
is the interface between your C language application
program and the operating system entry points to the NI-488M driver.
To use the NI-488M functions, you must either compile
cib.c
and
include the resulting object file during the link phase each time you
compile your application, or you can link the GPIB library at compile
time. The following examples show both options:
cc dcsamp.c cib.o
or
cc dcsamp.c -lgpib
•
Your application program must also include the following header file
<sys/ugpib.h>
.
•
For more information on creating the GPIB library
libgpib.a
, refer
to the Install the C Library discussion presented previously in this
chapter.
•
For descriptions of the NI-488M functions, refer to the NI-488M
Software Reference Manual .