Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI PIO card

I hava a bluchip technology PCI-PIO data acquisition card.

I just need to access the card and further disable one of the input port.

 

I downloaded the dll file and called the dll with the call function library.

But i dont know the datatype to be given for the different function parameters, like for the return value as well as for the parameters.

 

for ex:

i called the dll C:\WINDOWS\system32\Bcdll32.dll

i got into the function BCTGetBoardId

 

then i have to assign the datatype of the parameters...How can i replicate the C++ attached herewith in labview 2010.

 

"

BCT_DWORD dwStatus;

char *szErrTxt;// Get the board id structure completed by the driver

dwStatus = BCTGetBoardId(&nPCIPIOBoardID, PCI_PIO, 0);

if (dwStatus != BCT_OK){BCTErr2Txt(dwStatus, szErrTxt);

printf(“Status: %s\n”, szErrTxt);

return(dwStatus);

}// Get the handles initialised by the driver

dwStatus = BCTInitHandle(&nOutputHandle); // Check dwStatus returned

dwStatus = BCTInitHandle(&InputHandle); // Check dwStatus returned

"

 

Please help me.....

Thanking you in advance.

Regards
Grugh Mike

Success is Everything !!
0 Kudos
Message 1 of 1
(2,898 Views)