5. About Software
46
PIO-16/16B(PCI)H, PI-32B(PCI)H, PO-32B(PCI)H
About Software for Linux
The Linux version of digital I/O function driver, API-DIO(LNX), provides functions that execute the
following features:
- Digital input/output of specified ports
- Hardware digital input/output of specified bits
- Hardware digital filtering that prevents chattering
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.
Procedure for Installing the Driver
The Linux version for digital I/O driver, API-DIO(LNX), is supplied as a compressed file
/linux/dio/cdioXXX.tgz on the bundled disk. (Note: XXX represents the driver version.)
Mount the bundled disk 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 HTML format extracted by
installation.
To install the driver, log in as a superuser.
Decompression and setup procedure
# cd
# mount /dev/cdrom /mnt/cdrom Mount the bundled disk..
# cp /mnt/cdrom/linux/dio/cdioXXX.tgz ./ Copy the compressed file.
# tar xvfz cdioXXX.tgz Decompress the compressed file.
................
# cd contec/cdio
# make Compile files.
................
# make install Install the driver.
................
# cd config
# ./config Set up the board to be used.
..... Set as follows .........
# ./contec_dio_start.sh Start the driver.
# cd
Accessing the Help File
(1) Invoke a web browser in your X-Window environment.
Summary of Contents for PI-32B(PCI)H
Page 15: ...1 Before Using the Product 8 PIO 16 16B PCI H PI 32B PCI H PO 32B PCI H ...
Page 45: ...3 External Connection 38 PIO 16 16B PCI H PI 32B PCI H PO 32B PCI H ...
Page 49: ...4 Function 42 PIO 16 16B PCI H PI 32B PCI H PO 32B PCI H ...
Page 55: ...5 About Software 48 PIO 16 16B PCI H PI 32B PCI H PO 32B PCI H ...