9113_Ad_Ffhf_Polling_Mux; 9113_Ad_Aquire - NuDAQ PCI- 9113A User Manual

32 channels isolated analog input card
Table of Contents

Advertisement

ERR_NoError
ERR_FIFO_Half_NotReady

6.30 _9113_AD_FFHF_Polling_MUX

@ Description
This function is used to perform powerful AD data transfer by applying
half-full polling mode. This method checks the FIFO half full signal
every time calling this function. If the FIFO is not half-full, the software
does not read data. When the FIFO is full, the AD FIFO is overrun.
When the FIFO is half-full and not full, software reads the A/D data,
which is stored in FIFO, in size of one "block" (512 words). The
difference between this function and 9113_AD_FFHF_Polling is that
the former reads data from the 16-bit register and the latter reads
data from 32-bit data register. Please refer to section 5.1.4 for the
detailed description of half-full polling mode.
@ Syntax
C/C++ (DOS)
U16 _9113_AD_FFHF_Polling_MUX (U16 cardNo, U32 far *ad_buf)
C/C++ (Windows 95)
U16 W_9113_AD_FFHF_Polling_MUX (U16 cardNo, U32 *ad_buf)
Visual Basic (Windows 95)
U16 W_9113_AD_FFHF_Polling_MUX (ByVal cardNo As Integer, ad_buf
As Long) As Integer
@ Argument
cardNo: The card number of PCI-9113A card initialized.
ad_buf: The 32bits A/D converted value. The data format can be referred
to section 5.1.5 for details.
@ Return Code
ERR_NoError
ERR_FIFO_Half_NotReady

6.31 _9113_AD_Aquire

60
C/C++ Software Library

Advertisement

Table of Contents
loading

Table of Contents