8 _7251_check_exist, Description, Syntax – ADLINK cPCI-7252 User Manual

Page 47: Argument, Return code, 7251_check_exist, Syntax @ argument @ return code

Advertising
background image

C/C++ Libraries

37

5.8 _7251_Check_Exist

@ Description

This function is used to check the existence of the PCI-7251
expanded board. For normal configuration, each PCI-7250 can be
connected with up to three PCI-7251 boards. This function is used
to detect the presence of the PCI-7251.

@ Syntax

C/C++ (DOS)

U16 _7251_Check_Exist
(U16 cardNo, U16 extnesionBoardNo)

C/C++ (Windows 95)

U16 _7251_Check_Exist
(U16 cardNo, U16 extnesionBoardNo)

Visual Basic (Windows 95)

W_7251_Check_Exist (ByVal cardNo As Integer,

ByVal extensionBoardNo As Integer) As
Integer

@ Argument

cardNo: card number to select borad

existBoardNo: Extension PCI-7251 No.

@ Return Code

PCI_7251_EXIST 1
PCI_7251_NOT_EXIST 0

PCI_7251_EX1 0x01 PCI-7251 Board #1
PCI_7251_EX2 0x02 PCI-7251 Board #2
PCI_7251_EX3 0x03 PCI-7251 Board #3

Advertising