Konica Minolta PCI-1712 Computer Hardware User Manual


 
– 31 –
Chapter 4
PCI-1712/1712L User’s Manual
Advantech Co., Ltd.
www.advantech.com
Programming with DLL Driver Function Library
Advanech DLL driver 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 sevices, those APIs can be
categorized into several function groups:
q Analog Iutput Function Group
q Analog Output Function Group
q Digital Input/Output Function Group
q Counter Function Group
q Temperature Measurement Function Group
q Alarm Function Group
q Port Function Group
q Communication Function Group
q Event Function Group
For the usage and parameters of each function, please refer to the
Function Overview chapter in the DLL Drivers Manaul.
Troubleshooting DLL 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 function. To troubleshoot the DLL driver error, you can
pass the error code to DRV_GetErrorMessage function to return the
error message. Or you can refer to the DLL Driver Error Codes
Appendix in the DLL Drivers Manaul for a detailed listing of the Error
Code, Error ID and the Error Message.