LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Remove Panel" in Application Builder?

Hi,
I don't really understand the purpose of the Remove Panel feature in the vi settings tab of app builder. It says if you are dynamically loading vi's, then you must set this to "no", which I have found out your app will not work if you don't do this. But what happens when this is set to "no" and what happens when it is set to "yes"? Why not leave it to "yes" for all vi's? And where is the "source setting" for this? Thanks!
0 Kudos
Message 1 of 2
(2,718 Views)
The reason for not leaving it to 'no' for all is easy. It consumes more memory. Both static (your exe grows) and dynamic (a copy of all front panel control and indicator data is made). so removing the front panel saves memory and can speed execution time.

Setting all to 'yes' wont work because then there will not be a panel for anything the user needs to see. in other words, you need at least 1 panel to be set to 'no'. If you use other input or dialog boxes, these must be set to 'no' also.

Read chapter 28 of the G programming manual, specifically pages 28-19 and 28-20 for front panel memory issues. The whole chapter is a must read, i think, but read at least these 2 pages.

Jared
0 Kudos
Message 2 of 2
(2,718 Views)