![background image](http://html1.mh-extra.com/html/keithley/kpci-pio96/kpci-pio96_user-manual_3962490031.webp)
4-4
I/O Address Mapping
KPCI-PIO96 User’s Manual
Setting control and data registers
The control registers must first be set by software statements to set each group of A, B, and C
ports for the desired direction (input or output). This is performed by writing to the control
registers located at the Base A 0x10, Base A 0x14, Base A 0x18, and
Base A 0x1C. In most applications all 8 bits in each port will be set as either input
or output.
Thereafter, data can be input to or output from the data registers. Data registers configured as
outputs are set by writing ones and zeros to these registers with software statements. Data
registers configured as inputs are set by applying logical high and low signals to the input
terminals; the set values in these registers are retrieved by software statements.
Software manipulation of data registers for an ISA board, via I/O port calls, is straightforward.
However, software manipulation of data registers for a PCI board, such as the KPCI-PIO96, is
more involved. As mentioned in the chapter introduction, DriverLINX eliminates the need for
user interaction with control and data registers. However, control and data registers can be manip-
ulated in the following special situations:
•
You are an advanced user needing to use the KPCI-PIO96 with an operating system other
than Microsoft Windows 95/98 or Windows NT 4.0 or greater. In this situation, you must
write a new driver, bypassing DriverLINX entirely. This task requires an in-depth knowledge
both of the AMCC S5933 PCI Bus Controller and your development operating system.
•
You wish to program in an ActiveX hosting language other than Visual C++, Visual Basic, or
Delphi. In this situation, you may need to use the “Direct I/O ActiveX Automation Object”
that comes with DriverLINX. The Direct I/O ActiveX Automation Object allows you to set
the control and data registers directly and bypass the DriverLINX API, yet avoids the full
complexities of PCI bus interfacing and the AMCC S5933 PCI Bus Controller. Refer to your
DriverLINX manual for more information.
•
You wish to reuse an existing program that makes port I/O calls to an ISA-bus digital I/O
board, such as the PIO-96 or PIO-24. In this situation, you can reuse your existing program
with the KPCI-PIO96, in Windows 95/98 only, via the Hardware I/O Emulation driver
included on your DriverLINX CD ROM. The Hardware I/O Emulation driver traps the port
I/O calls and applies them properly to the KPCI-PIO96 board. Refer to your DriverLINX
manual for more information.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание KPCI-PIO96
Страница 12: ...1 Overview Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 17: ...3 Installation Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 32: ...5 Troubleshooting Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 55: ...A Specifications Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 57: ...B Glossary Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...