
CHAPTER
2
System Initialization
The functions in this chapter provide the interface to Operating-System. By calling these functions,
your applications can scan all active PCI-D64HU cards in your system, and get the specific Card-ID
that is configured with the on-board Dip-Switch. Open the card before calling other functions in
PCI-D64HU Library.
2.1 d64h_scan
VC6
short d64h_scan(short* pCardNum, BYTE* pAvailCards = NULL)
VB6
d64h_scan(ByRef pCardNum As Interger, Optional pAvailCards As Byte = 0) As Integer
Description:
This function scans all active PCI-D64HU cards in your system. The pCardNum saves the numbers
of active PCI-D64HU cards. The optional user-provided Array, pAvailCards, indicates the presence of
active PCI-D64HU card. (1: present, 0: absent)
Parameters:
pCardNum: The pointer to the memory that stores the numbers of active PCI-D64HU cards.
pAvailCard: The address of user-provided
BYTE
-Array. Based on the Card ID, each element
indicates the presence of active PCI-D64HU card. The user must prepare one
BYTE
-Array with
D64H_MaxCards
elements.
For instance, there are three active PCI-D64HU cards with Card ID 3, 5 and 7. The
content of pAvailCard Array will be
{ 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 }
PCI-D64HU Function Reference Version
6
Summary of Contents for PCI-D64HU
Page 5: ...PCI D64HU User s Manual Ver 1 0 Dec 2009 5 1 4 Block Diagram...
Page 17: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...
Page 69: ...PCI D64HU Function Reference Version 53...
Page 73: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...