05-08-2009 07:56 PM
I need to know how to use a non-NI API library in Labwindows CVI. I've been searching all over but don't know how to find it. If there is a document explaining how this is done please tell me where to find it. I'll help myself if I know where to look. I have C programming experience in Unix/Linux environment. But I don't know to compile and link programs on Windows or LabWindows. I have no idea where to start. I understand DLL's conceptually but that's about it. I presume the Labwindows IDE can be configured to do this automatically. I just need someone to point me in the right direction. Once this is done will the non-NI functions appear in the LabWindows function tree window?
thank you,
xyz
05-09-2009 09:18 AM - edited 05-09-2009 09:19 AM
Hi,
For the functions to appear in the function tree window they must belong to an .fp (function panel) file.
"Function panel"s are NI's way of simplifying function call coding.
They can show type information and parameter/function help and provide interactive execution, all in a single window.
They can also be created automatically from a header file.
You do not have to have a function panel to call a function from a 3rd party library.
See here for all other answers: http://zone.ni.com/devzone/cda/tut/p/id/3341
Hope this helps,