LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to call one vc++ dll inLabview?

I am a new user of Labview,but I don't know how to call one dll compiled by vc++ in Labview,please the experts tell me how to call it and use what function .
thanks a lot !!
0 Kudos
Message 1 of 4
(3,163 Views)
Hi,

use Advanced/Call libtrary function.
1. Double click on this function.
2. In opened window you need select function
from list of functions that consist your dll.
3. Fill all function's parameters.
0 Kudos
Message 2 of 4
(3,162 Views)
hi,

For using dll's in labview, just go to 'advanced' in the functions pallete
and then klik on 'call library function'
When you dubbelclick it, you can see that you can select the dll you want to
use
You can also check out the help of this function.

regards

214552213 wrote in message
news:50650000000800000034410000-1012609683000@exchange.ni.com...
> I am a new user of Labview,but I don't know how to call one dll
> compiled by vc++ in Labview,please the experts tell me how to call it
> and use what function .
> thanks a lot !!
0 Kudos
Message 3 of 4
(3,162 Views)
Hi 214552213;

There are several references at NI Developer Zone that explain how to access a dll from LabVIEW. You need to know the function prototype of the function you are calling in order to make the right call from LabVIEW. If you have LabVIEW 6, it allows you to see the different functions, but not the necessary arguments. If you have LabVIEW 5, you can use a vi available from NI<
/a> to view all the functions exported in a dll. Follow nchernin instructions...

Using External Code in LabVIEW, which you can access from LabVIEW's help or access through the link above.

If you are writing the dll, check the several articles in NI website. There is a lot of documentation, but specially for doing it using Microsoft's VC++.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 4 of 4
(3,162 Views)