LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV8 Application Builder Folder Structure

I have a folder structure in my development environment.
When I build an application, using the application builder, I want to get the same folder structure.
Example:
I have folders ..Application\Drivers\DMM\Agilent 34401 and ..Application\Drivers\DMM\Fluke 45.
There are subfolders containing VI:s in each folder (..Application\Drivers\DMM\Agilent 34401\Subs\sub.vi)
 
In the application builder I add ..Application\Drivers to "Dynamic VIs and Support Files".
I create a new "Destination".
Now all vi:s from ..Application\Drivers goes to this folder, not to subfolders.
 
Is it possible to get a folder structure?
 
 
Staffan Ekstrom
Sony Ericsson Mobile Communications AB
Lund, Sweden
 
 
0 Kudos
Message 1 of 2
(2,356 Views)
Hi Staffan,
 
When you build an application all of the VI:s will be integrated in an .exe file. The reason for this is that the user of your program not shall be able to do changes in the source code.
 
When adding files to the "Dynamic VIs and Support Files" these files are for example help files that you want the program to find no matter where you install your program on the computer. Before adding files to this you need to build the relative path in the program using strip path.vi and build path.vi.
 
Dynamic VI:s are not the same as sub VI:s.
 
The short answer to your question is no, there is not possible to get a file and folder structure when building an application.
 
Regards,
Andreas E
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,326 Views)