A.1.4 getcardindexfromid, A.1.4, Getcardindexfromid – ADLINK EOS-1200 User Manual

Page 57

Advertising
background image

Function Library

45

EOS-1200

Parameter(s)

CardNumber

ID of the card for release.

BaseAddr

Returns the I/O base address.

BaseAddr2

Returns the second base address #2. This is only available
in cards that support two I/O base addresses, such as PCI-
9113 and PCI-9114. For PCI-6202, PCI-9221, PCI-9222,
and PCI-9223, this parameter returns the memory address
of the specified card.

Return Code(s)

NoError
ErrorInvalidCardNumber
ErrorCardNotRegistered
ErrorFuncNotSupport

A.1.4

GetCardIndexFromID

Description

Obtains the card type and the sequence number of the
device with a specified card ID. This is the reverse function
of Release_Card.

Syntax

C/C++

I16 GetCardIndexFromID (U16 CardNumber, U16
*cardType, U16 *cardIndex)

Visual Basic

GetCardIndexFromID (ByVal CardNumber As Inte-
ger, cardType As Integer, cardIndex As Inte-
ger) As Integer

Advertising