Specifications

56
Programming with DLL Driver Function Library
Advantech 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 services, those APIs can be
categorized into several function groups:
w Analog Input Function Group
w Analog Output Function Group
w Digital Input/Output Function Group
w Counter Function Group
w Temperature Measurement Function Group
w Alarm Function Group
w Port Function Group
w Communication Function Group
w Event Function Group
For the usage and parameters of each function, please refer to the
Function Overview chapter in the DLL Drivers Manual.
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