Programming With Device Drivers Function Library; Troubleshooting Device Drivers Error - Advantech PCI-1714 User Manual

Analog input card
Table of Contents

Advertisement

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, the APIs can be catego-
rized into several function groups:
• Device Function
• Analog Input/Output Function
• Digital Input/Output Function
• Port I/O Function
• Counter Function
• Temperature Measurement Function
• Temperature measurement Function
• Alarm Function
• Communication port Function
• High speed Function
• Hardware Function
For the usage and parameters of each function, please refer to the Func-
tion Description chapter in the Device Drivers Manual.

1.5.3 Troubleshooting Device Drivers 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.
PCI-1714 & 1714UL User Manual
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-1714ul

Table of Contents