‎07-06-2011 02:26 AM
Hi!
Is there any way to determine, is the front panel loaded into memory, programitically?
Thanks!
Solved! Go to Solution.
‎07-06-2011 03:23 AM
Without answering your question, i ask you:
Why do you want to know this? LV always loads the front panel into memory if needed. Using property nodes will often result into loading of the front panel even if it was not loaded before.
hope this helps,
Norbert
‎07-06-2011 03:27 AM
I've searched for some intela about what makes the front panel is loaded into memory, but I did not find a complete answer, just some words about it....
I u could tell me, I would be greatful!
‎07-06-2011 03:50 AM
Well, easy rule of thumb:
LV does not load the front panel into memory if not needed.
LV loads the front panel into memory if you display it.
LV loads the front panel into memory if using property nodes requiring the front panel. This info can be obtained from the detailed help of this property:
LV loads the front panel into memory for certain methods (also documented in detailed help of the method).
On a side note:
Please do not mix execution of code in the UI thread with loading the front panel. The UI thread is always running and does not determine wether (or not) front panels are loaded into memory!
hope this helps,
Norbert
‎07-06-2011 03:52 AM
Thank you!