06-16-2015 08:19 AM
Hi -
I need to interface with a DLL. I can communicate fine with most of the functions, but I can't figure out how to configure Call Library Function for "GPIO_Init". Can anyone with more experience help me out? I've attached the header, and also the manual - it's section 3.8.1 (page 37)
Many thanks,
Jon.
Solved! Go to Solution.
06-16-2015 11:12 AM
See this recent thread with approximately the same question: http://forums.ni.com/t5/LabVIEW/FTDI-FT4222-DLL-calling/m-p/3146709
In this case, you pass a LabVIEW array and configure the array parameter as an array, passed by array data pointer.
06-16-2015 12:42 PM
Thanks so much - the problem was nothing to do with the DLL at all. It was an (almost) undocumented requirement to "turn off" two of the other chip's features so the GPIO could be used. Thanks for the pointer!