Chapter 3
Software Installation and Configuration
© National Instruments Corp.
3-9
AT-GPIB/NI-488M/AT&T UNIX
•
cc dcsamp.c cib.o
or
•
cc dcsamp.c -lgpib
The application program must also include the following header file
#include
<sys/ugpib.h>
For more information on the GPIB library
libgpib.a
, refer to Step 2C.
Install the C Library presented previously in this chapter.
Steps for Removing the NI-488M Software
You may want to remove the NI-488M software at some time. Here are the
steps for removing the NI-488M software:
1.
Remove the driver from the kernel.
Go to the working directory
(/usr/gpib)
that you created earlier in
this chapter under Step 2A. Set Up a Working Directory and enter the
following command:
./ibremove
Answer
y
to all the questions.
ibremove
uses
ibrmnod
to delete the GPIB device nodes and
expects
ibrmnod
to be present in the current directory.
2.
Restart the system by entering the following commands:
cd /
shutdown -y -g0 -i6