Справочник Пользователя для National Instruments 321645c-01

Скачать
Страница из 554
Chapter 2
Function Reference — DAQ_DB_Transfer
©
 National Instruments Corporation
2-125
NI-DAQ FRM for PC Compatibles
after the acquisition has stopped, the last transfer of data to halfBuffer contains the number 
of valid points from the half of the circular buffer where acquisition stopped.
daqStopped is a valid output parameter only if pretrigger mode acquisition is in progress. 
This parameter indicates the completion of a pretrigger mode acquisition by returning a one 
(it returns zero otherwise). A one indicates that the acquisition has stopped after taking the 
specified number of samples following the occurrence of a stop trigger, and that NI-DAQ has 
transferred the last piece of data in the circular buffer to halfBuffer. The number of data 
points transferred to halfBuffer, as always, is equal to ptsTfr.
Note
C Programmers—ptsTfr and daqStopped must be passed by reference.