USB-DIO6400 Users Manual (Rev 1.1)
-
21-
http://www.daqsystem.com
5. Sample Program
5.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
“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 custom
er’s own usage.
[Figure 8-
1. When Sample program “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
(USB_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.
5.2 Function Explanation
(1) Model No.
Select the Model Name
“USB-DIO6400”
(2) Board No.
Select the Board Number (Board #0 ~ #3)