![background image](http://html.mh-extra.com/html/omega/ome-pci-1602/ome-pci-1602_windows-software-manual_737469056.webp)
3.10
The Single Board Batch Capture
3.10.1 P1602_FunB_Start
z
Description :
This function will start the batch capture process.
z
Syntax :
WORD P1602_FunB_Start(WORD wClockDiv0, WORD wChannel0[],
WORD wConfig0[], WORD *Buffer0, DWORD dwMaxCount0,
SHORT nPriority);
z
Input Parameter :
wClockDiv0: the A/D sample rate divisor for this board.
the sample rate is 8M/wClockDiv0.
wChannel0[]: (0=no scan, 1=scan) for each channel of this board
wConfig0[]: configuration code for each channel of this board
Refer to "
Section 3.1 Configuration Table
"
*Buffer0:
buffer to store the A/D data of this board
dwMaxCount0: to specify the data length of this board
nPriority:
Thread priority. The value of nPriority ranges from:
-2:
THREAD_PRIORITY_LOWEST
-1:
THREAD_PRIORITY_BELOW_NORMAL
0: THREAD_PRIORITY_NORMAL
1: THREAD_PRIORITY_ABOVE_NORMAL
2: THREAD_PRIORITY_HIGHEST
Other:
THREAD_PRIORITY_NORMAL
z
Return Value :
NoError : OK
FindBoardError : cannot find the OME-PCI-1602 board
AdControllerError : MagicScan controller hardware handshake error
z
Demo Program : DEMO21.C
56
Summary of Contents for OME-PCI-1602
Page 37: ... Demo Program DEMO9 C 37 ...