ii
6
Programming Options
Selecting an Application Programming Interface . . . . . . . . . . . 6-1
DriverLINX Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Direct I/O Application Programming Interface . . . . . . . . . . 6-3
Installing the Direct I/O Driver . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Configuring the Direct I/O Driver . . . . . . . . . . . . . . . . . . . . 6-4
Programming the Direct I/O Interface . . . . . . . . . . . . . . . . . 6-4
IISAPIO Intel 8255 Interface . . . . . . . . . . . . . . . . . . . . . 6-4
Using the Direct I/O Driver in Visual Basic . . . . . . . . . . 6-5
Creating a Simple Visual Basic Application . . . . . . . . . . 6-6
Register-Level Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
I/O Address Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Control Word Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10
IRQ Control Registers 1 and 2 . . . . . . . . . . . . . . . . . . . . . . . . 6-11
IRQ Status Registers 1 and 2 . . . . . . . . . . . . . . . . . . . . . . . . . 6-13
7
Troubleshooting
Using the DriverLINX Event Viewer . . . . . . . . . . . . . . . . . . . . 7-1
Device Initialization Error Messages . . . . . . . . . . . . . . . . . . 7-2
Problem Isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Identifying Symptoms and Possible Causes . . . . . . . . . . . . 7-2
Testing the Board and Host Computer . . . . . . . . . . . . . . . . . 7-5
Testing the Accessory Slot and I/O Connections . . . . . . . . . 7-6
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-6
A
Specifications
B
Connector Pin Assignments
C
CE Mark Information for the PIO-SSR Series
Limitation of Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Declaration of Conformity . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-2
Cabling Instructions for the CE Mark Configuration . . . . . . . . C-3
Index
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com