03-24-2012 09:36 PM
Hello,
I have a Keterex USB-910 SPI/I2C adapter, and I am trying to write Labview drivers that interface with the provided DLLs. Some of these DLL functions make use of double pointers. The GetInData function returns the captured data as a pointer to an array pointer. The prototype is as follows:
KXUSB_API KX_BOOL kxGetInData (KX_DATA **data, KX_COUNT *rcnt);
where KXDATA is type U8, and KX_COUNT is type U16.
I have looked through the documentation and a number of links, but I have not been successful. Would anyone be able to explain exactly how my Call Library Function node ought to be configured for this particular function?
Attached is the header file for the DLL.
Thank you!
03-26-2012 11:58 AM
Hi,
Have you seen this Discussion Forum? The VI there should help you with setting up a Call Library Function Node for kxGetInData.
Hope this helps!
03-27-2012 07:47 AM
Thanks for the reply. I have seen that post. It deals with a more specific case involving a different function with a string paramenter, and using the CLF node on string VIs. However with some editing and experimenting, I think I may be getting good results. Some testing is still required though.
Thanks for your help.
For others who may be having issues with the CLF node and pointers, I recommend looking at these links: