_9111_INT_Get_Reg. HP (Hewlett-Packard) NuDAQ PCI-9111HR, PCI-9111DG/HR

Add to My manuals
83 Pages

advertisement

_9111_INT_Get_Reg. HP (Hewlett-Packard) NuDAQ PCI-9111HR, PCI-9111DG/HR | Manualzz

5.23 _9111_INT_Get_Reg

@ Description

This function is used to get the AD mode setting and interrupt control setting by reading data from A/D mode and interrupt control read back register. The returned settings are stored in INTC. Please refer to section

4.7 and section 4.9 for the detailed definition of each bit of the returned data.

@ Syntax

C/C++ (DOS)

U16 _9111_INT_Get_Reg (U16 cardNo, U16 *INTC)

C/C++ (Windows 95)

U16 W_9111_INT_Get_Reg (U16 cardNo, U16 *INTC)

Visual Basic (Windows 95)

W_9111_INT_Get_Reg (ByVal cardNo As Integer, INTC As Integer)

As Integer

@ Argument cardNo: The card number of PCI-9111 card initialized.

INTC: The value returned from interrupt control register.

@ Return Code

ERR_NoError

W_9111_INT_Set_Reg (ByVal cardNo As Integer, ByVal INTC As

Integer) As Integer

@ Argument cardNo: The card number of PCI-9111 card initialized

INTC: The value written to the interrupt control register

@ Return Code

ERR_NoError

5.24 _9111_Reset_FIFO

@ Description

The PCI-9111 A/D data are stored in the FIFO after conversion. This function is used to reset A/D FIFO. This function should be called before performing A/D conversion to clear the old data stored in the FIFO.

@ Syntax

C/C++ (DOS)

U16 _9111_Reset_FIFO (U16 cardNo)

C/C++ (Windows 95)

U16 W_9111_Reset_FIFO (U16 cardNo)

50 • C/C++ Library

advertisement

Related manuals

advertisement

Table of contents