Intel cPCI-7200 User Manual

Page 48

Advertising
background image

40

C/C++ Libraries

5.4 _7200_Switch_Card_No

@ Description

After initializing more than one PCI-7200 card, this function is used to select
which card is currently used.

@ Syntax

Visual C++ (Windows 95)

int W_7200_Switch_Card_No (U8 card_number)

Visual Basic (Windows 95)

W_7200_Switch_Card_No (ByVal card_number As Byte) As
Long

C/C++ (DOS)

int _7200_Switch_Card_No (U8 card_number)

@ Argument

card_number:

The card number to be initialized, four cards can be

initialized, the card number must be CARD_1, CARD_2, CARD_3, or
CARD_4, but only one card is active.

@ Return Code

ERR_NoError

ERR_InvalidBoardNoInit

5.5 _7200_AUX_DI

@ Description

Read data from auxiliary digital input port of cPCI-7200 card. You can get all
4 bits input data by using this function.

@ Syntax

Visual C++ (Windows 95)

int W_7200_AUX_DI (U32 *aux_di)

Visual Basic (Windows 95)

W_7200_DI (aux_di As Long) As Long

C/C++ (DOS)

int _7200_DI (U32 *aux_di)

@ Argument

aux_di:

returns 4-bit value from auxiliary digital input port.

@ Return Code

ERR_NoError

ERR_FunctionNotAvailable

Advertising