The Continuous Capture Functions
3.10.5 P1602_Card0_StartScan
z
Description :
This function will start the continuous capture function for card
0. The continuous capture functions are best suited for low speed, long duration
collection. Although computer dependent, sample rates should generally be kept
under 40kHz. Refer to the OME-PCI-1602 Hardware User Manual, for additional
details on this function.
z
Syntax :
WORD P1602_Card0_StartScan(WORD wSampleRate, WORD
wChannelStatus[], WORD wChanelConfig[], WORD wCount);
z
Input Parameter :
wSampleRate : A/D
sample rate = 8M/wSampleRate.
wSampleRate=240
Æ
sample rate=8M/240=33KHz
wChannelStatus[]: (0=no scan, 1=scan) for each channel
wChannelConfig[]: configuration code for each channel
Refer to "
Section 3.1 Configuration Table
"
wCount: number of A/D data for each scan channel
z
Return Value :
NoError : OK
FindBoardError : cannot find the OME-PCI-1602 board
AdControllerError : MagicScan controller hardware handshake error
z
Demo Program : DEMO13.C
59
Summary of Contents for OME-PCI-1602
Page 37: ... Demo Program DEMO9 C 37 ...