6-4
Programming Options
Installing the Direct I/O Driver
The normal DriverLINX installation automatically installs the Direct I/O
Driver. This driver is a registered ActiveX object that resides in
KISAPIO.DLL.
This driver requires that you install the DriverLINX kernel drivers as it
uses their services. On Windows NT, the kernel driver is KMBPIO.SYS.
On Windows 95/98, it is KMBPIO.VXD. Follow the normal DriverLINX
installation and configuration procedures to install these kernel drivers.
Configuring the Direct I/O Driver
The Direct I/O Driver requires that you configure a DriverLINX Logical
Device using the DriverLINX Configuration Panel utility. The Direct I/O
driver does not require any separate configuration.
Programming the Direct I/O Interface
The Direct I/O Interface is an ActiveX Automation object hosting one
interface. This control is compatible with Microsoft Visual C++ and
Visual Basic as well as other ActiveX-hosting languages.
The methods of the control’s interface, ISAPIO, access the 8-bit ports of
an Intel 8255 chip.
IISAPIO Intel 8255 Interface
The following syntax descriptions are shown in C/C++. For Visual Basic,
use the Object Browser to see the VB syntax (see the next segment,
Using
the Direct I/O Driver in Visual Basic
.
●
HRESULT Open Device(long Device);
Opens a PIO device.
Device is the DriverLINX Logical Device number of the PIO board to
open.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com