LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating dll in Labview

Hello All,

How do i create a dll in labview? I want to use it as a plug in into an application.

 

Demmy

0 Kudos
Message 1 of 2
(4,452 Views)

Hi Demmy

 

What LabVIEW version are you using? If you are using version 8 and higher then you have to have your VIs loaded into a LabVIEW project and you use the project build specification.

Here is a quick summary:

In the project window right click build specifications and choose New -> Shared Library (DLL). This will open the window to create the dll.

 Create DLL

Go to the Source Files category and use the arrow to take the VIs that you want into exported VIs, a dialog will then come up to define the function prototype for that vi. Do this for each vi you want to access in your dll.

 

Create function prototype 

 

You will need LabVIEW professional version to create dlls and the target computer where you are using the dll must have the LabVIEW run time engine installed.

 

Message Edited by Karissa on 03-03-2010 09:05 PM
_______________________________________
Systems Test Engineer
Certified LabVIEW Architect (CLA)
Message 2 of 2
(4,437 Views)