HP NuDAQ I-9111DG/HR manual 35 9111GetIRQStatus, 36 9111ADFFHFPolling

Models: NuDAQ I-9111DG/HR

1 83
Download 83 pages 54.21 Kb
Page 67
Image 67

5.35_9111_Get_IRQ_Status

@ Description

This function is used to get the status of the two IRQs (INT1 and INT2) in PCI-9111 card.

@ Syntax

C/C++ (DOS)

void _9111_Get_IRQ_Status (U16 cardNo, U16 *ch1, U16 *ch2)

C/C++ (Windows 95)

void W_9111_Get_IRQ_Status (U16 cardNo, U16 *ch1, U16 *ch2)

Visual Basic (Windows 95)

W_9111_Get_IRQ_Status (ByVal cardNo As Integer, ch1 As Integer, ch2 As Integer)

@ Argument

 

 

cardNo:

the card number of PCI-9111 card initialized.

ch1:

the IRQ status of INT1, 0: no IRQ,

1: IRQ

ch2:

the IRQ status of INT2, 0: no IRQ,

1: IRQ

@Return Code None

5.36_9111_AD_FFHF_Polling

@ 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 call this function. If the FIFO is not half-full, the software do not read data. When the FIFO is full, the AD FIFO is overrun. When the FIFO is half-full but not full, software reads the A/D data, stored in FIFO, in size of one “block” (512 words). The FIFO half-full polling method is the most powerful A/D data transfer mode. Please refer to section 5.1.4 for the detailed description of half-full polling mode.

@ Syntax

C/C++ (DOS)

U16 _9111_AD_FFHF_Polling (U16 cardNo, I16 far *ad_data)

C/C++ (Windows 95)

U16 W_9111_AD_FFHF_Polling (U16 cardNo, I16 *ad_data)

Visual Basic (Windows 95)

W_9111_AD_FFHF_Polling (ByVal cardNo As Integer, ad_data As Integer) As Integer

@ Argument

C/C++ Library 57

Page 67
Image 67
HP NuDAQ I-9111DG/HR manual 35 9111GetIRQStatus, 36 9111ADFFHFPolling