PIO-D64/PIO-
D64U User’s Manual ( Ver.1.
6, Mar. 2015, PMH-007-16 ) ----- 43
5.5.3 PIODIO_SearchCard
Description :
This subroutine will search the card and get total boards. This function
must be called once before applying other PIODIO functions.
Syntax :
WORD PIODIO_SearchCard(WORD *wBoards, DWORD
dwPIOCardID);
Parameter :
wBoards :[
Output
] Number of boards found in this PC
DwPIOCardID :[
Input
] Sub vendor, sub device and sub aux id of
the board to find. Please refer to chapter 3.1.
NOTE :
Different version PIO-D64/PIO-D64U boards may have
different Sub IDs. This function will find the total board of PIO-
D64/PIO-D64U including all versions, no matter what version Sub
ID you input. Following is the example demonstration:
wRtn=PIODIO_SearchCard(&wBoards, 0x800120);
you will get the total numbers of PIO-D64/PIO-D64U boards
including REV 1.0 and REV 2.0 in PC.
Return:
Please refer to "Section 5.1 Error Code"
5.5.4 PIODIO_DriverClose
Description :
This subroutine closes the PIODIO Driver and releases the
resource from computer device resource. This function must be called
once before exiting the user's application.
Syntax :
void PIODIO_DriverClose();
Parameter :
None
Return:
None
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru