10-13-2008 09:53 AM
Hello
I've been trying to run a VI inside another VI in Labview 8.0. I studied the Dynamic Load example, but when I run my own the VI that I call from the " principla VI" does not open, it does executes it but it wont literaly open ( I have to search for it in my files and manually open it, there I can see that it is running and working, but it does not opens so I can manipulate it)
I think the problem is in the way i save them, there most like a herachy or something. I hope someone can help me and I hope my question is clear.
Solved! Go to Solution.
10-13-2008 09:55 AM - edited 10-13-2008 09:55 AM
Hi Special K,
you can use the reference and a property or invoke node to show the front panel. If you want to show the front panel automatically, then you have to change the vi settings.
Mike
10-13-2008 10:54 AM
10-13-2008 02:59 PM
HEELLP:
I'm using the OPEN VI reference anf then the CALL BY REFERENCE, and it does executes it, but the VI wont open ( the front panel of the VI I'm calling). Could someone explain me, spet by step how to do it.
I have done everything you told me before but nothing works.
10-13-2008 03:01 PM
Hi Special K,
i´m not sure why you need it, if you use the Call by Reference Node, but you can use for example the property FP.open = true.
Mike
10-13-2008 03:21 PM
Hi Special K,
see the attached example please. They are not equivalent, but both show the front panel.
Hope it helps.
Mike
10-20-2008 12:29 AM
Hi Mike,
Even i am looking for a same solution like this.
"Right click on the SubVI and select SubVI node setup. Then place a check mark next to Open front panel when loaded and Show front panel when called. You might want to select Close afterwards if originally closed too. "
But after implementing this the sub VI is running automatically.
Can someone help me how to avoid the autorun in the above case.
Cheers,
Suneel.V
12-24-2009 06:38 AM
Hi Mike,
The example gud one . I am able to open another Front Panel by VI Method
from present FP, if i want to open the Front Panel in run condition how do i do that.
Simultaneously i want to close the present vi which i have achieved
by close FP. I had tried Run VI but when i do that the present FP closes
but the next one doesn't open or run.
Karthik