LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Determine Front Panel in memory

Solved!
Go to solution

Hi!

 

Is there any way to determine, is the front panel loaded into memory, programitically? 

 

Thanks!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 1 of 5
(3,075 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(3,069 Views)

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!  

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 3 of 5
(3,067 Views)
Solution
Accepted by D60

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:

DetailedHelpPropNode.PNG

 

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 5
(3,062 Views)

Thank you!

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 5 of 5
(3,059 Views)