发表于:2003-12-24 14:31:00
4楼
I16 AI_ContScanChannels (U16 CardNumber, U16 Channel, U16 AdRange, U16 *Buffer, U32 ReadCount, F64 SampleRate, U16 SyncMode)
@Parameter
ReadCount :
If double-buffered mode is disabled, ReadCount is the
number of A/D conversions (except cPCI9116) or the total
number of scans (for cPCI9116) to be performed.
For double-buffered acquisition, ReadCount is the size
(in samples) of the circular buffer (except cPCI9116) or
the size (in samples) allocated for each channel in the
circular buffer (for cPCI9116) and its value must be a
multiple of 4.
Note: if the card is PCI-9111, PCI-9113 or PCI-9114, this function uses FIFO-Half-Full interrupt transfer mode. So the value of ReadCount must be the multiple of 512 for non-double-buffer mode, or multiple of 1024 for double-buffer mode.