PISO-813 Series Card
32-channel Single-Ended Isolated A/D Board
User Manual, Ver. 1.5, Feb. 2014, PMH-003-15, Page: 29
wRetVal=PIO_DriverInit(&wBoards,0xff,0xff,0xff);
/*find all PIO_PISO*/
printf("\nThrer are %d PIO_PISO Cards in this PC",wBoards);
if (wBoards==0 ) exit(0);
printf("\n-----------------------------------------------------");
for(i=0; i<wBoards; i++)
{
PIO_GetConfigAddressSpace(i,&wBase,&wIrq,&wSubVendor,
&wSubDevice,&wSubAux,&wSlotBus,&wSlotDevice);
printf("\nCard_%d:wBase=%x,wIrq=%x,subID=[%x,%x,%x],
SlotID=[%x,%x]",i,wBase,wIrq,wSubVendor,wSubDevice,
wSubAux,wSlotBus,wSlotDevice);
printf(" --> ");
ShowPioPiso(wSubVendor,wSubDevice,wSubAux);
}
6.1.3 Show_PIO_PISO
Show_PIO_PISO(wSubVendor,wSubDevice,wSubAux)
Parameter
Description
wSubVendor
subVendor ID of board to find
wSubDevice
subDevice ID of board to find
wSubAux
subAux ID of board to find
This function will show a text string for this special subIDs. This text string is the same as that
defined in PIO.H
The demo program is given as follows:
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru