ADLINK cPCI-7249R User Manual
Page 40

32
• C/C++ Libraries
5.3 _7248/96_Initial
@ Description
The cards are initialized by this function. The software library could be used
to control multiple cards.
@ Syntax
C/C++ (DOS)
U16 _7248_Initial (U16 *existCards, PCI_INFO *pciInfo)
U16 _7249_Initial (U16 *existCards, PCI_INFO *pciInfo)
U16 _7296_Initial (U16 *existCards, PCI_INFO *pciInfo)
C/C++ (Windows 95)
U16 W_7248_Initial (U16 *existCards, PCI_INFO *pciInfo)
U16 W_7249_Initial (U16 *existCards, PCI_INFO *pciInfo)
U16 W_7296_Initial (U16 *existCards, PCI_INFO *pciInfo)
Visual Basic (Windows 95)
W_7248_Initial (existCards As Integer, pciInfo As
PCI_INFO) As Integer
W_7249_Initial (existCards As Integer, pciInfo As
PCI_INFO) As Integer
W_7296_Initial (existCards As Integer, pciInfo As
PCI_INFO) As Integer
@ Argument
existCards: The numbers of installed PCI-7224/7248/7296
cards. The returned value shows how many
PCI-7224/7248/7296 cards are installed in
your system.
pciinfo:
It is a structure to record the PCI bus
plug and play initiallization information
which is decided by p&p BIOS. The
PCI_INFO structure is defined in ACL_PCI.H
The base I/O address and the interrupt
channel number are stored in pciinfo.
@ Return Code
ERR_NoError
ERR_PCIBiosNotExist