4.3.1. PIO_DriverInit
This function detects all PIO and PISO series cards that are installed in the
system and saves the related resource information in the library. It must only be
called once before calling any other Lib functions.
To determine the number of PISO-P16R16U/PEX-P16R16i cards:
wRtn
=
PIO_DriverInit(&wTotalBoardsFound, 0x1800, 0x00, 0xFF);
To identify all PIO and PISO series cards:
w
Rt
n
=
PIO_DriverInit(&w
Total
Boards
Found
,
0x
FF
,
0x
FF
,
0x
FF
);
•
Syntax:
WORD
PIO_DriverInit
(WORD *wBoards, DWORD wSubVendorID,
WORD wSubDeviceID, BYTE wSubAuxID);
•
Parameters:
wBoards
[Out] The Number of boards found.
wSubVendorID
[In] The Sub-Vendor ID of the board to search for.
wSubDeviceID
[In] The Sub-Device ID of the board to search for.
wSubAuxID
[In] The Sub-Aux ID of the board to search for.
•
Return:
Refer to the error codes in Section 4.2 for more information.
PISO-P8R8U/P16R16U/PEX-P8R8i/P16R16i User Manual (Ver.1.6,Mar/2010, PMH-021-16) -
27
-