Initialization - NuDAQ PCI-7230 User Manual

723x series 32 channels isolated digital i/o card
Table of Contents

Advertisement

5.3 Initialization

@ Description
The PCI-7230 or PCI-7233 or PCI-7234 cards must be initialized before
using. The software library can control multiple PCI-7230/7233/7234
cards. Because in PCI bus architecture, the cards meet the plug and play
specifications, the IRQ and I/O address are assigned by system BIOS
directly.
@ Syntax
C/C++ (DOS)
U16 _7230_Initial(U16 *existCards, PCI_INFO *pciInfo )
U16 _7233_Initial(U16 *existCards, PCI_INFO *pciInfo )
U16 _7234_Initial(U16 *existCards, PCI_INFO *pciInfo )
C/C++ (Windows 95)
U16 W_7230_Initial (U16 *existCards, PCI_INFO *pciInfo)
U16 W_7233_Initial (U16 *existCards, PCI_INFO *pciInfo)
U16 W_7234_Initial (U16 *existCards, PCI_INFO *pciInfo)
Visual Basic (Windows 95)
W_7230_Initial (existCards As Integer, pciInfo As PCI_INFO)
As Integer
W_7233_Initial (existCards As Integer, pciInfo As PCI_INFO)
As Integer
W_7234_Initial (existCards As Integer, pciInfo As PCI_INFO)
As Integer
@ Arguments:
existCards:
pciinfo:
@ Return Code:
ERR_NoError
ERR_BoardNoInit
ERR_PCIBiosNotExist
The total number of installed PCI-7230 /7233/7234 cards.
The returned value shows how many PCI-7230/7233/7234
cards are installed in your system.
It is a structure to memorize the PCI bus plug and play
initialization 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 is stored in pciinfo
which is for reference.
C/C++ Libraries 29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-7233Pci-7234Cpci-7230Pci-7233h

Table of Contents