Chapter 1 Introduction to the API Function Library | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 1-1
Chapter 1 Introduction to the
API Function Library
PCI-DMC-A01 provides a function library and dynamic-link library (DLL) which can be called upon
to perform functions as you require. The following sections will detail how you can incorporate
these function libraries into your development environment.
1.1 Using the Function Libraries
Once you have installed the program you will find two libraries under the “lib” folder. These
libraries are intended for use in Visual Studio C or Borland development environments.
Table 1.1
PCI_DMC_01.lib Visual Studio C function
library
BCBPCI_DMC_01.lib Borland C function
library
1.2 Edit New Project
1.2.1 Using VC
1. Add the following command to your project:
# include “..\inc\VC\PCI_DMC_01.h”
# include “..\inc\VC\PCI_DMC_01_Err.h”
2. Under the Visual C development environment, select Project / Setting / Link
Under Object / Library modules, input “..\lib\PCI_DMC_01.lib”
3. Once set, you can begin using the API to control PCI-DMC-A01.
1.2.2 Using Borland C
1. Add the following command to your project:
# include “..\inc\BCB \PCI_DMC_01.h”
# include “..\inc\BCB\PCI_DMC_01_Err.h”