7
Chapter 1
The example source codes could be found under the corresponding instal-
lation folder such as the default installation path:
\Program Files\Advantech\ADSAPI\Examples
For information about using other function groups or other development
tools, please refer to the
Creating Windows 98/2000/XP Application with
Device Driver
chapter and the
Function Overview
chapter in the Device
Driver’s Manual.
1.5.2 Programming with Device Drivers Function Library
Advantech Device Drivers offers a rich function library to be utilized in
various application programs. This function library consists of numerous
APIs that support many development tools, such as Visual C++, Visual
Basic, Delphi and C++ Builder.
According to their specific functions or services, those APIs can be
categorized into several function groups:
• Digital Input/Output Function Group
• Port Function Group (direct I/O)
• Event Function Group
For the usage and parameters of each function, please refer to the Func-
tion Overview chapter in the Device Drivers Manual.
1.5.3 Troubleshooting Device Driver Error
Driver functions will return a status code when they are called to perform
a certain task for the application. When a function returns a code that is
not zero, it means the function has failed to perform its designated func-
tion. To troubleshoot the Device Drivers error, you can pass the error
code to
DRV_GetErrorMessage
function to return the error message. Or
you can refer to the Device Drivers Error Codes Appendix in the Device
Drivers Manual for a detailed listing of the Error Code, Error ID and the
Error Message.
Summary of Contents for PCI-1736UP
Page 1: ...PCI 1736UP 32 channel Isolated Digital Input Output Card User Manual...
Page 34: ...PCI 1736UP User Manual 28...
Page 35: ...2 APPENDIX A Specifications...
Page 38: ...PCI 1736UP User Manual 32...
Page 39: ...2 APPENDIX B Block Diagram...
Page 40: ...PCI 1736UP User Manual 34 Appendix B Block Diagram Figure B 1 PCI 1736UP Block Diagram...
Page 41: ...2 APPENDIX C Register Structure and Format...
Page 48: ...PCI 1736UP User Manual 42...