hi all
im trying to control a condor 1553 pci card using this dll, busapi32.dll.
my question is this, when i load the dll using the call library function node i get the full list of functions on the dropdown, but when i select one e.g. BusTools_BC_Init the function prototype is as follows: void BusTools_BC_Init(void).
However the function itself actually includes the following parameters
BT_INT BusTools_BC_Init (BT_UINT wCardnum, BT_UINT wChannel,
BT_U32BIT dwIntEnable, BT_U16BIT wRetry,
BT_UINT wTimeout1, BT_UINT wTimeout2,
BT_U32BIT dFrame, BT_UINT num_buffers);
would i be right in saying that if i added these parameters so that i got the following function prototype:
void BusTools_BC_Init(long wCardnum, long wchannel, unsigned long dwIntEnable, unsigned short int wRetry, long wTimeout1, long wTimeout2, unsigned long dFrame, long wCardnum);
this would then work?
many thanks in advance (as i sometimes forget afterwards)