![Omega OME-PCI-1602 Скачать руководство пользователя страница 44](http://html.mh-extra.com/html/omega/ome-pci-1602/ome-pci-1602_windows-software-manual_737469044.webp)
3.7.2 P1602_StartScan
z
Description :
This function will start the MagicScan operation.
This
function will return to the caller before the MagicScan operation finishes.
The
user can use the
P1602_WaitMagicScanFinish(…)
function
or the
P1602_ReadScanStatus(…)
function
to check the state of MagicScan operation.
This function will refer to the current active OME-PCI-1602 board. Use the
P1602_ActiveBoard(….) to select the active board.
z
Syntax :
WORD P1602_StartScan(WORD wSampleRate, WORD wNum);
z
Input Parameter :
wSampleRate : A/D
sample rate = 8M/wSampleRate.
wSampleRate=24
Æ
sample rate=8M/24=330K
wNum : Number of
MagicScan cycles
to perform
z
Return Value :
NoError : OK
ExceedBoardNumber: invalid board number
FindBoardError : cannot find the OME-PCI-1602 board
AdControllerError : MagicScan controller hardware handshake error
z
Demo Program : DEMO11.C
44
Содержание OME-PCI-1602
Страница 37: ... Demo Program DEMO9 C 37 ...