LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Background clones locked?

Solved!
Go to solution

I'm playing around with running parallel reentrant loops in order to solve a larger problem. I've run Popup.vi and Popupmain.vi and I understand how they work. The difference with mine is I have to pass a different value to the front panel of each clone. I got that part working as well. The problem I'm running into is that after it opens the number of clones (4 or so), only the top level clone can be interacted with. The background clones cannot be moved, minimized, closed, or even hit the stop button. When I try to change focus to any other cloned VI i get the windows error beep.

 

Any help would be appreciated. I need to be able to independently move individual windows to see their front panels and hit each stop button at any point in time.

 

How to repeat my problem:

Run Launcher.vi (make sure Counter.vi is in the same directory)

Increment Number of counters to something greater than 3 (I use 4)

Enter random values less than 100 in each spot in the Starting Values array (or leave them 0)

It should open <number of counters> clones of Counter.vi which will individually count to 100 then stop.

Try to hit the stop button on background clones or move the other windows. I am unable to.

Download All
0 Kudos
Message 1 of 4
(2,867 Views)
Solution
Accepted by topic author iBrent

Your subVIs are set to "dialog", thus they are modal. Change that setting.

Message 2 of 4
(2,863 Views)

Awesome, that fixed it. Thanks!

 

I picked dialog mode because I thought the windows looked cooler. Didn't realize it would have an effect on its behavior.

0 Kudos
Message 3 of 4
(2,849 Views)

You can still start out with "dialog" to get the looks, but then modify the undesirable settings such as modal.

Message 4 of 4
(2,846 Views)