![ICP DAS USA PCI-1202 Series Скачать руководство пользователя страница 92](http://html2.mh-extra.com/html/icp-das-usa/pci-1202-series/pci-1202-series_user-manual_4476309092.webp)
PCI-1202/1602/180x Series Card
Multi-Function Boards
User Manual/ Ver. 4.8/ Mar. 2015/ PMH-0014-48/ Page: 92
7.8
The MagicScan Mode AD Conversion
The
P180X_ClearScan
sets the MagicScan controller to its initial state. The
P180X_AddToScan
adds
the channels to MagicScan circular queue one by one.
The scan sequence of the channels is
depending on the order of the P180X_AddToScan settings.
The maximum queue size is
48.
The
channel number in the scan list can be random and duplicated. The AD data of MagicScan can be
saved in array if
P180X_SaveScan
is used. The flowchart is given as follows:
P180X_ClearScan
P180X_AddToScan
P180X_SaveScan
P180X_AddToScan
P180X_AddToScan
P180X_StartScan
P180X_WaitMagicScanFinish
Perform Aanlysis
P180X_SaveScan
P180X_SaveScan
Clear the MagicScan controller
Add channel 1 to circular queue
Add channel 2 to circular queue
Add channel n to circular queue
If the AD data need to be saved
Start the MagicScan operation
Wait until MagicScan finished
If the AD data need to be saved
If the AD data need to be saved