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

Add to My manuals
83 Pages

advertisement

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

5.18 _9111_AD_Get_Range

@ Description

This function is used to get the A/D range from the gain control register.

The relationship between gains and input voltage ranges are specified by following table.

@ Syntax

Input Range (V)

±

10 V

±

5 V

±

2.5 V

±

1.25 V

±

0.625V

Gain

X 1

X 2

X 4

X 8

X 16

Gain Code

AD_B_10_V

AD_B_5_V

AD_B_2_5_V

AD_B_1_25_V

AD_B_0_625_V

C/C++ (DOS)

U16 _9111_AD_Get_Range (U16 cardNo, U16 *ADRange)

C/C++ (Windows 95)

U16 W_9111_AD_Get_Range (U16 cardNo, U16 *ADRange)

Visual Basic (Windows 95)

W_9111_AD_Get_Range (ByVal cardNo As Integer, ADRange As

Integer) As Integer

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

ADRange: The programmable gain of A/D conversion, the possible values are: AD_B_10_V, AD_B_5_V, AD_B_2_5_V,

AD_B_1_25_V, AD_B_0_625_V.

@ Return Code

ERR_NoError

5.19 _9111_AD_Get_Status

@ Description

This function is used to get AD FIFO status from the gain control register.

@ Syntax

C/C++ (DOS)

U16 _9111_AD_Get_Status (U16 cardNo, U16 *ADStatus)

C/C++ (Windows 95)

U16 W_9111_AD_Get_Status (U16 cardNo, U16 *ADStatus)

Visual Basic (Windows 95)

W_9111_AD_Get_Status (ByVal cardNo As Integer, ADStatus As

Integer) As Integer

C/C++ Library • 47

advertisement

Related manuals

advertisement

Table of contents