PCIe-AIO14 User Manual (Rev 1.2)
- 17 -
http://www.daqsystem.com
5.4 Sample Program
It implements a library (API) for easy access to various functions of the PCIe-AIO14 board, and
provides a sample program to the user.
3
4
1
2
5
6
7
8
9
11
12
10
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[Fig 5-2. Program execution (continuous mode)]
5.4.1 Program UI Description
[
표
5-1. Sample Program Fuction Description]
Num
Control
Description
1
Device
Select PCIe-AIO14 among the devices. By using the dedicated
library (API), the setting value is not affected, but the default
value is PCIe-AIO14 (4).
2
Board Sel.
Select the device sequence number. As described in Section
3.1.1, the switch setting value and the board selection number of
the API must be matched so that normal operation is possible.
3
Device Open
Get the PCIe-AIO14 device handle value from the Windows OS.
When you run the program, it automatically searches for
devices.
4
Device Close
Returns the device handle value to the OS and stops using the
device.
5
Version
Displays the hardware logic version and DLL version.
6
CHx
Select the channel number you want to sample. And becomes
one channel block.