LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Load VI`s Labview

Solved!
Go to solution

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.

 

 

0 Kudos
Message 1 of 8
(5,631 Views)

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

Message Edited by MikeS81 on 10-13-2008 04:55 PM
0 Kudos
Message 2 of 8
(5,630 Views)
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.
0 Kudos
Message 3 of 8
(5,604 Views)

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.

0 Kudos
Message 4 of 8
(5,590 Views)
Solution
Accepted by topic author Special K

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

Message 5 of 8
(5,588 Views)

Hi Special K,

see the attached example please. They are not equivalent, but both show the front panel.

 

Hope it helps.

Mike

Message 6 of 8
(5,578 Views)

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

Message 7 of 8
(5,486 Views)

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

0 Kudos
Message 8 of 8
(5,119 Views)