LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView DLLs

Hello,

First time posting to this list. I'm a long time TestStand and LabWindows user, that is just starting to use LabView. I've actually ramped up fairly quickly with LabView. I do have a question regarding using LabView to create DLLs. I've been able to create a single Labview DLL that is contained within one LabView VI file.

My question is how can I create multiple LabView DLLs in the same VI file? I'm not sure if this is a valid question when using LabView, but being a newbie I have to ask. I'm relating my question to a "C" (i.e. LabWindows/CVI) DLL where I can have one source (.c file) that contains all of the DLL functions. I am trying to understand if this can be done in Labview (i.e. all the DLL VIs in one VI file?). If so I was hoping someone might be able to point me to an example or tutorial (which I have yet to come across on the NI web site).

I thank you for your time and appreciate any response you may have.

Thank You
0 Kudos
Message 1 of 4
(2,892 Views)
In a single DLL, you can have multiple functions. I think this is what you mean instead of multiple DLLs. When you create the DLL, each time you click the "Add Exported VI" button, you will will pick a new VI and this will correspond to a different function call in the one DLL that you create. You have to do this manually for each VI that you want to add. There is no way to automatically create function calls from a list.
Message 2 of 4
(2,892 Views)
Dennis,

EXCELLENT! This was exactly what I was looking for.

Thank you very much,
Jim
0 Kudos
Message 3 of 4
(2,865 Views)
Jim,

Below is a link to a 3 hour on-line tutorial for new LabVIEW users. You might check this out sometime.

http://www.ni.com/devzone/lvzone/fundamentals.htm

Jennifer
National Instruments
www.ni.com/support
0 Kudos
Message 4 of 4
(2,838 Views)