PIO/PEX-D24/D56 Series User Manual (Ver.3.0, Feb. 2011, PMH-005-30 )
40
A2.
DOS LIB Functions
A2-1.
ErrorCode and ErrorString Code Table
Table A.1
Error
Code
Error ID
Error String
0
NoError
OK (No error)
1
Driver HandleError
Error opening the device driver
2
DriverCallError
An error occurred
while calling the driver
functions
3
FindBoardError
Can
’t find the board on the system
4
TimeOut
Timeout
5
ExeedBoardNumber
Invalid board number
(Valid range: 0 to TotalBoards -1)
6
NotFoundBoard
Can
’t detect the board on the system
A2-2.
PIO_DriverInit
Description:
This function is used to detect all PIO/PISO series card in the system
and is implemented based on the PCI Plug & Play mechanism. The
function will locate/identify all PIO/PISO series cards installed in this
system and save the resource information in the library.
Syntax:
WORD
PIO_DriverInit
(WORD *
wBoards
, WORD
wSubVendorID
,
WORD
wSubDeviceID
, WORD
wSubAuxID
)
Parameters:
WBoards
[Output]
The number of boards found in this PC
wSubVendorID
[Input]
SubVendor ID of the board
wSubDeviceID
[Input]
SubDevice ID of the board
wSubAuxID
[Input]
SubAux ID of the board
Returns:
Refer to "Table A.1".