
FRB-200U/200/100 User Manual (Ver.1.3, Jun.2008, fmh-001-12) ---- 32
A.3 DOS LIB Function
A.3.1 Table of ErrorCode and ErrorString
Error
Code
Error ID
Error String
0 NoError
OK ! No Error!
1 DriverHandleError
Device driver opened error
2 DriverCallError
Got the error while calling the driver functions
3 FindBoardError
Can't find the board on the system
4 TimeOut
Timeout
5 ExceedBoardNumber
Invalid board number
(Valid range: 0 to TotalBoards -1)
6 NotFoundBoard
Can't detect the board on the system
Table A.2 ErrorCode and ErrorString
The following functions are provided:
1. PIO_DriverInit(&wBoard, wSubVendor, wSubDevice, wSubAux)
2. PIO_GetConfigAddressSpace(wBoardNo,*wBase,*wIrq, *wSubVendor,
*wSubDevice, *wSubAux, *wSlotBus, *wSlotDevice)
3. ShowPIOPISO(wSubVendor, wSubDevice, wSubAux)
A.3.2 PIO_DriverInit
•
Description :
This function can detect all the FRB series cards in the system. It is
implemented based on the PCI Plug & Play mechanism-1. It will find all
the FRB series cards installed in this system and save all their resources
into the library.
•
Syntax :
WORD PIO_DriverInit(WORD *wBoards, WORD wSubVendorID,
WORD wSubDeviceID,WORD wSubAuxID)
•
Parameter :
WBoards : [
Output
] Number of boards found in this PC
wSubVendor : [
Input
] SubVendor ID of the board
wSubDevice : [
Input
] SubDevice ID of the board
wSubAux : [
Input
] SubAux ID of the board
•
Return:
Please refer to " Table A.2".
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru