LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XControl in SubPanel seems to block FP

Solved!
Go to solution

Dear all,

 

I would like to display and edit data from a LV class and its child classes (like graphical object with points, boxes, circle ... as child classes). While running the main VI the class can change and different controls and indicators will be visible according to the "contents"  of the class (think of the properties of graphical objects like points, boxes, circles,...). I don't wanted  to hard implement the UI objects in the main VI for all possible (future) classes but implement it in the classes.

 

I did it the following way: the classes have got a VI (method) called "edit data". This is loaded into a subpanel. There is an XCtl on the FP of the edit data.vi.

 

Now when building an executable and running it the processor load goes up and sometimes the FP of the main VI hangs.

 

What could be the reason?

 

It looks like a missing wait in a while loop.

 

Any ideas?

 

Regards,

Jörn

0 Kudos
Message 1 of 2
(2,549 Views)
Solution
Accepted by topic author Jörn
After detaching the application, building a new one and compile after each step I found the reason: In one sub-VI I programmatically closed the front panel and configured the VI to close the front after execution. That is too close and hang up the runtime engine in a power consuming loop.
0 Kudos
Message 2 of 2
(2,514 Views)