LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unwanted front panel stripping

I am using the Project Manager to do a source distribution on a project of about 2500 VIs.  I explicitly strip only the block diagrams of the VIs, no front panels are set to strip.  Once the distribution is done I create an executable which is very small because I launch my main VI dynamically from a splashscreen VI. 
 
When I run the program, some of my VIs that show their front panel have been stripped of their front panels.  Of course I get a "Null Window" error and my application crashes.  Is this a known issue for the Project Manager?
 
I am using LV 8.5.
 
Thanks,
Zach
0 Kudos
Message 1 of 3
(2,602 Views)

Hi zrimkunas,

i think this is no issue. As far as i know LabView remove all front panels from vi´s which don´t have any connections on the connector pane. So if you want to keep such front panels you have to uncheck the option "remove front panel" under source file settings for each vi.

Mike

0 Kudos
Message 2 of 3
(2,587 Views)

By default, LabVIEW removes the front panels of all VIs when building to save memory.

For some VIs, LabVIEW does not remove the FP. This happens if they are either:

a) set to open their FP,
b) have a property node which refers to one of the controls or
c) are explicitly set not to remove their FP, as Mike mentioned.

Personally, I find that the easiest method is creating a property node for one of the controls and placing a comment explaining why the property node is there.


___________________
Try to take over the world!
0 Kudos
Message 3 of 3
(2,580 Views)