LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to export VI array as parameter in DLL

I'm using LabVIEW 8.0 and trying to build a DLL file to use my labview code in C++.

I used "Build Executable" to generate a DLL file to export my labview code. However, the DLL contains a single function which take no parameters and outputs nothing. How can I make the build tool generate separate functions for each control on the Front panel and specify parameters?
0 Kudos
Message 1 of 2
(2,169 Views)
In LabVIEW 8, you must create a built specification. In the project window, click on build specification and select "new...shared library (dll)".
 
In the "source files" section, you must add the desired VIs and define their prototype. Make sure to assign terminals to the FP object you want to define, objects that don't have a terminal assigned in the connetctor pane won't show up in the prototype dialog.
 
I would recommend to make your first VI in to a usable regular subVI with all desired inputs and outputs defined in the connector pane.
 
Check the online help for more details.
 
 

Message Edited by altenbach on 06-16-2006 02:21 PM

0 Kudos
Message 2 of 2
(2,167 Views)