cardNo:

the card number of PCI-9111 card initialized.

ad_data:

the 16bits A/D converted value. The data format can be

 

referred to section 5.1.6 for details.

@Return Code ERR_NoError ERR_FIFO_Half_NotReady

5.37_9111_AD_Aquire

@ Description

This function is used to trigger the A/D conversion data for PCI-9111 by software trigger. It reads the 12 bits A/D data when the data is ready.

@ Syntax

C/C++ (DOS)

U16 _9111_AD_Aquire (U16 cardNo, I16 far *ad_data)

C/C++ (Windows 95)

U16 W_9111_AD_Aquire (U16 cardNo, I16 *ad_data)

Visual Basic (Windows 95)

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

@ Argument

cardNo: the card number of PCI-9111 card initialized.

ad_data: the 12bits A/D converted value. The data format can be referred to section 5.1.6 for details.

@ Return Code

ERR_NoError

ERR_AD_AquireTimeOut

5.38_9111_AD_HR_Aquire

@ Description

This function is used to trigger the A/D conversion data for PCI-9111HR by software trigger. It reads the 16 bits A/D data when the data is ready.

@ Syntax

C/C++ (DOS)

U16 _9111_AD_HR_Aquire (U16 cardNo, I16 far *ad_data)

C/C++ (Windows 95)

U16 W_9111_AD_HR_Aquire (U16 cardNo, I16 *ad_data)

Visual Basic (Windows 95)

58 C/C++ Library

Page 68
Image 68
HP NuDAQ I-9111DG/HR manual 37 9111ADAquire, 38 9111ADHRAquire