LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call a vi two times in 2 different subpanel in a vi

thank you titto
how can i call one vi 2 or more then 2 time in the same vi,,,, within subpanel,,,,
 
in this vi i have a tabpage,, on page 1 i want to open,,, second.vi on subpanel.,,..
 
and,,, repeat the same thing on the page 2...
 
i know attached vis r not working,, but,, this will give you idea, wht i m trying to do,,,,
 
manisha
Download All
0 Kudos
Message 1 of 11
(4,212 Views)
hi
activate the <reentrant execution> in the VI properties dialog

regards timo
0 Kudos
Message 2 of 11
(4,206 Views)
hi timo.. thanks,,
 
no,,could not make it.. cause,, i m still getting the same reply that vi is in suspended mode,,,
 
manisha
0 Kudos
Message 3 of 11
(4,196 Views)
can anyone,, give the solution for my vi,,,,
 
i have a tabcontrol on vi called first.vi,,,&,, i want to insert second.vi on both tabpages of first.vi,,, how do i do that,,,
 
i have attached my vis,, above,,, if anyone could help me,,Smiley Sad
 
manisha
 
 
0 Kudos
Message 4 of 11
(4,190 Views)

Make your second VI a template VI (.vit extension).  You will first want to study the VITs in detail -- they have their own idiosyncrasies.  And sub-panels add to the complexity.

-Khalid

0 Kudos
Message 5 of 11
(4,186 Views)

thanks,, khalid,, i was eagerly wating,, that,, some one, reply me and,, help me to cum out of this, problem,, thanks, for replying first..

 

but,, wht is this .vit,., and,, how it works,, i dont have any idea about that,, but,, can you do that ,, thing,, can you pass example ...

 

thanks,, once agin,,,

manisha

0 Kudos
Message 6 of 11
(4,187 Views)
You should load two SubVIs with different names.
 
So there are two ways.
 
1. You can make a copy of "second.vi"
2. You can create a template based on "second.vi".

Jack
Win XP
LabVIEW 6.1, 7.0, 7.1, LabWindows/ CVI 7.1
Let us speek Russian 🙂
0 Kudos
Message 7 of 11
(4,180 Views)
no, i cant do that, becoz here i have give simple example with only two pages, but,, in my actual program i have to deal with 8 pages,, and 5 different vis... so i can create 5 * 8 = 40 different vis,,
0 Kudos
Message 8 of 11
(4,176 Views)

Manisha, I remember your commas and semicolons...  well,,,  good,,;;;  goood..;..;,.,,,

VI templates are "special" type of VIs with the .vit extension.  You need to find documentation on these and read them before trying -- search your manuals, the website, etc.  The truth is out there... somewhere. 

As I said, you can save your Second VI as a VIT and it will work -- BUT, you really want to know how the instances of a template VI get instantiated, etc.  It's a different ball game. 

-Khalid..,,;;..,;,,"   Smiley Happy

 
Message 9 of 11
(4,176 Views)

Smiley Happy thanks,, for your comment,,, well,, i m very much confused with this problem,, well ,, as u said,, im trying to understand abt this vi templets,,

though,, if i will not get answer then,, i will come back agin,, with my problem....S...

thanks,,

manisha

 

0 Kudos
Message 10 of 11
(4,173 Views)