Software Installation and Configuration
Chapter 3
AT-GPIB/NI-488M/AT&T UNIX
3-8
© National Instruments Corp.
Step 4.
Installation Verification
There are two software installation tests:
ibtsta
and
ibtstb
.
•
ibtsta
checks for a correct node
/dev/gpib0
and correct access to
the device driver.
•
ibtstb
checks for correct DMA and interrupt operation.
ibtstb
requires a GPIB analyzer and can be omitted if an analyzer is not
available.
Complete the following steps to verify the software installation:
1.
Run
ibtsta
by entering the following command:
ibtsta
2.
If
ibtsta
completes with no errors and a bus analyzer is available,
connect the bus analyzer to the GPIB board, and then run
ibtstb
by
entering the following command:
ibtstb
If no error occurs, the NI-488M driver is installed correctly.
Application Development
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.
The functions available in
cib.c
are described in detail in the NI-488M
Software Reference Manual . To use these functions, you must either
compile
cib.c
and include the resulting object file during the link phase
of each application compile operation or link the GPIB library
libgpib.a
at compiling time as shown in the following examples: