The block diagram of continuous capture function is given as follows:
Analog
Signal
MUX
PGA
A/D
Converter
FIFO
X86
Pacer Trigger
Timer
Magic Scan
Controller
:
:
Card?_StartScan(...)
Buffer
Card?_ReadData(...)
Figure 6-1: The block diagram of continuous capture.
z
The P180X_Card?_StartScan(…) will perform the follows function:
1.
setup scan-queue
2.
setup channel/gain data
3.
setup continuous capture data
4.
create a multi-task thread for long time data acquisition
5.
If the group A/D data are ready
Æ
signal P180X_Card?_ReadStatus(…) to read data
z
The P180X_Card?_ReadStatus(…) will read from the buffer prepared by
P180X_Card?_StartScan(…). This function is running at the same time with the
P180X_Card?_StartScan(…) thread. If the group A/D data is ready, the
z
The P180X_Card?_StopScan(…) will stop all threads and return all resource
Note: The DOS & Windows 3.1 do not support multi-tasking. The software coding is a little
different but the coding principle is the same.
PCI-1202/1602/1800/1802 Hardware User’s Manual
(Ver. 4.2, Dec/2009, PMH-014-42)---- 87