09-29-2008 09:58 AM
Hi all,
I have a program in LV that I want to porte in C/C++.
The program calls fucntions of lvanlys.dll.
I'd like to call them in C but I don't know the prototype.
There are some handle as input parameters but in LV program they are not attributed.
Have you got an idea ?
Maxime
09-29-2008 03:48 PM
If you already have the LV code, and so know which functions you want to use, then you can open the analysis VI of your choice, and you should be able to view the DLL function prototype by double clicking on the Call Library Function Node.
Note: there may be licensing issues with what you are trying to do. To the best of my understanding, the lvanalys.dll contains *all* of the functions, regardless of whether the toolkit was purchased from NI or not, so you could in effect write your own wrapper VIs.
09-30-2008 04:52 AM
Hi Maxime,
Following nrp instructions, you should be able to know the prototype of the functions you want to call.
here is a link that may be helpfull:
http://digital.ni.com/public.nsf/allkb/8AE57BDA995ACCB486256AEA0062B3C6?OpenDocument
Sincerely
Flo