5. About Software
GP-IB(PCI)F, GP-IB(PCI)FL, GP-IB(LPCI)F, GP-IB(LPCI)FL
49
About Software for Linux
The Linux version GPIB communication driver API-GPIB(LNX) contains the functions that provide the
following features:
-
All of the master mode, slave mode, and interrupt level can be set by software.
-
T hree-wire handshaking is employed to assure transfer even between the sending and receiving
devices different in speed.
For details, refer to the help file. The help file provides various items of information such as “ Function
Reference”, “ Sample Programs”, and “ FAQs”. Use them for program development and troubleshooting.
Driver Software Install Procedure
T he Linux version for GPIB communication driver, API-GPIB(LNX), is supplied as a compressed file
/linux/gpib/cgpibXXX.tgz on the bundled API-PAC(W32)CD-ROM. (Note: XXX represents the driver
version.)
Mount the CD-ROM as shown below, copy the file to an arbitrary directory, and decompress the file to
install the driver.
For details on using the driver, refer to readme.txt and the help file in HT ML format extracted by
installation.
T o install the driver, log in as a superuser.
Decompression and setup procedure
# cd
# mount /dev/cdrom /mnt/cdrom
Mount the CD-ROM.
# cp /mnt/cdrom/linux/gpib/cgpibXXX.tgz ./ Copy the compressed file.
# tar xvfz cgpibXXX.tgz
Decompress the compressed file.
................
# cd contec/cgpib
# make
Compile the file.
................
# make install
Install.
................
# cd config
# ./config
Set up the board to be used.
..... Set as follows .........
# ./contec_gpib_start.sh
Start the driver.
# cd