A.2 system & initialization functions, A.1.1 register_card, System & initialization functions – ADLINK EOS-1200 User Manual
Page 54: A.1.1, Register_card
42
Function Library
A.2 System & Initialization Functions
A.1.1
Register_Card
Description
Initializes the hardware and software states of a NuDAQ
PCI-bus data acquisition card, and returns a numeric card
ID corresponding to the initialized card. Register_Card must
be called before any other PCIS-DASK library functions can
be called for a particular card. The function initializes the
card and variables internal to the PCIS-DASK library.
Because NuDAQ PCI-bus data acquisition cards meet plug-
and-play specifications, the base address (pass-through
address) and IRQ level are assigned directly by the system
BIOS.
Syntax
C/C++
I16 Register_Card (U16 CardType, U16 card_num)
Visual Basic
Register_Card (ByVal CardType As Integer,
ByVal card_num As Integer) As Integer
VB.Net
Register_Card (ByVal CardType As Short, ByVal
card_num As Short) As Short
C#
short Register_Card (ushort CardType, ushort
card_num)
Parameter(s)
CardType
Type of card to be initialized. ADLINK periodically upgrades
PCIS-DASK to add support for new NuDAQ PCI-bus data
acquisition cards and NuIPC CompactPCI cards. Refer to
release notes of the card to dtermine whether PCIS-DASK