LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

weird behavior calling subvi (Help)

Yes, I thougt you understanded what I mean.

So, like subvi is running, with the front panel as main vi's (no user response at this situation), my question is how can I get back sub vi's control. is there any different way to avoid this problem. I try using  vi server, the problem still happen.  Thanks.

 

 

 

0 Kudos
Message 11 of 16
(1,294 Views)

So, you want the main VI to launch the subVI, you want the main VI's panel to be visible, and you want to be able to operate buttons on the front panel of the main VI? If that's the case, then VI Server will do it. Why don't you post the code you've written that uses VI Server.

And, does the thread at http://forums.ni.com/ni/board/message?board.id=170&message.id=189722 from today apply?

Message Edited by Dennis Knutson on 06-14-2006 12:08 PM

0 Kudos
Message 12 of 16
(1,287 Views)

Thanks, Dennis.

Your post doesn't apply in my case.  the reason may be this bug only occurred only my machines.

Anyway,  I will try to figure out how to solve it.

0 Kudos
Message 13 of 16
(1,274 Views)
Sorry, I made mistake ( I am not using vi server, it is call by reference node method)
 
static and call by reference node don't work.
 
Using VI server method:  Open FP, Run vi and close FP, I fix this bug.
0 Kudos
Message 14 of 16
(1,271 Views)
The important thing is that you fixed the bug 😉
Message 15 of 16
(1,259 Views)

Just post the code. theoretically, two method should be the same, but on my PC, they are really different.

If interest, you could test it just change the True and False switch.  

0 Kudos
Message 16 of 16
(1,250 Views)