next up previous contents
Next: Settings in ibconf Up: GPIB software and configuration Previous: LLP GPIB software installation   Contents


The National Instruments GPIB driver

The National Instruments GPIB driver software can be downloaded here. The source file that we are using on the STXM outboard is nigpib-linux-0_6_tar.gz. Unzip the file into the directory /usr/local/src/ and install the driver by doing:

[root@xray4 nigpib-0.5.1]# ./INSTALL
The following lines is what you should see and choose during the installation process:
NI-488.2 GPIB Driver for Linux/x86 (Beta Release 0.5.1)
Copyright (C) 1999-2000 National Instruments Corporation.
Supports AT-GPIB/TNT, AT-GPIB/TNT PnP, and PCI-GPIB cards ONLY.
Note that PCII/a and PCMCIA cards are NOT supported; see README for more info.

This driver requires a stable Linux 2.0.x or 2.2.x series kernel with
loadable modules and module versioning enabled.

Your kernel appears to be configured properly to build NI-GPIB for Linux.
Do you want to proceed? [yn] y

gcc -c -O -D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/include/linux/modversions.h -D__GPIBDRIVER__   -o ib_linux-2.2.14-5.0.o ib_linux.c
ld -r -o nigpib.o  ib_ni.o ib_linux-2.2.14-5.0.o
cp nigpib.o nigpib-2.2.14-5.0.o
Copied nigpib.o driver to modules directory /lib/modules/2.2.14-5.0/misc
 
Devices created.
Probing for PCI-GPIB.
No PCI-GPIB boards detected.
Do you have an AT-GPIB/TNT board installed? [ny] y
 
NOTE: If you have an AT-GPIB/TNT+ Plug-n-Play card, please read the README.PNP
first for instructions on setting up your card before proceeding with
installation.
 
 
Enter AT-GPIB/TNT I/O base address, or 'q' [0x2c0]
Enter AT-GPIB/TNT IRQ [11]
Enter AT-GPIB/TNT DMA Channel (-1 for none) [5]
 
Using I/O 0x2c0, IRQ 11, DMA 5
 
Configure another AT-GPIB/TNT card? [ny] n
/etc/conf.modules is up to date.
 
Installation complete.



Subsections

Microscope User 2006-03-14