ADLINK PCI-8124-C User Manual
Page 72

62
Function Library
@ Syntax
C/C++ (Windows 2000/XP)
I16 _8124_initialSw( I16 *CardIdInBit, I16
ManualId, I16 DefaultSw );
I16 _8124_close();
I16 _8124_get_version(I16 CardId, I32
*Firmware_ver, I32 *Driver_ver, I32
*DLL_ver);
Visual Basic (Windows 2000/XP)
B_8124_initialSw (CardIdInBit As Integer, ByVal
ManualId As Integer, ByVal DefaultSw As
Integer) As Integer
B_8124_close () As Integer
B_8124_get_version (ByVal CardId As Integer,
Firmware_ver As Long, Driver_ver As Long,
DLL_ver As Long) As Integer
@ Arguments
I16 *CardIdInBit
: The information of PCI-8124-C cards’ card
ID in bit format.
Ex. CardIdInBit = 0x0009; It means there are two PCI-8124-
C cards in your system
Card_0’s ID = 0, Card_1’s ID = 3
I16 ManualId
: Cards’ ID decided by SW1
0: Decided by system,
1:Decided by dip switch(SW1)
I16 DefaultSw
: Default output setting.
0: Default output as PWM and Digital out
1: Default output as SW2
I16 CardId: The PCI-8124-C card’s ID number. (0 ~ 15)
I32 *Firmware_ver
: The firmware version.
I32 *Driver_ver
: The device driver version.
I32 *DLL_ver
: The DLL’ version.