LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling lvanlys.dll functions in C language

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

 

0 Kudos
Message 1 of 3
(2,924 Views)

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. 

0 Kudos
Message 2 of 3
(2,903 Views)

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

0 Kudos
Message 3 of 3
(2,885 Views)