PCIe-DIO6400 Users Manual (Rev 1.0)
-
18-
http://www.daqsystem.com
9. Sample Program Explanation
9-1 Program Interface
DAQ system provides a sample program to make the user be familiar with the board operation and
to make the program development easier. You can find the sample program in the CDROM
accompanying with the board. One of the execution file is
“PCI_DIO6400.exe”
.
Sample program is provided in source form in order to show the usage of API (Application
Programming Interface) of the board and may be modified for customer’s own usage.
[Figure 9-
1. When Sample program “PCI_DIO6400.exe’ is executed]
To run the sample application program, you need to use API, it is a form of client DLL. To compile
the sample source to make its executable file, you have to use Import Library files and header files.
You can find them in the CDROM. To run the .exe file, the API DLL file
(PCI_DIO6400.DLL)
must be in
the same directory with the .exe file or Windows system folder. Another method is to add the directory
of API DLL file to PATH environmental variable.
1
2
3
4
5
6
7
9
8