LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display and control a VI or EXE within another VI?

I have a complex sub-vi that I want to simultaneously display and control multiple instances of. Where is an example of how to display and control a VI within another VI?
Or an example of doing the same with an application would be great, too.
I remember seeing one a while ago but can't find it again.
Thanks,
Dave
0 Kudos
Message 1 of 6
(3,163 Views)
Have you looked at the subpanel examples?

André
Regards,
André (CLA, CLED)
Message 2 of 6
(3,151 Views)
I haven't before, but I just did and the Simple Subpanel.vi example got me rolling in the right direction.
Thanks,
Dave
0 Kudos
Message 3 of 6
(3,142 Views)


@DavidW wrote:
I have a complex sub-vi that I want to simultaneously display and control multiple instances of.


I think you ve to use Reentrant Clones for multiple instances. It is available visibly in 8.5. You ve to some work-arounds if you re down. Smiley Wink

What version of LV do yu use ?

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 6
(3,139 Views)
Making the dynamically loaded vi a VIT (VI template) removes all the fuss about reentrancy.

I.e. with a VI template you on't have to worry about the re-entrancy. It always launches a new copy of the template.

I think with subpanels you already have an open reference to the VI, but otherwise don't forget to read this.

André
Regards,
André (CLA, CLED)
Message 5 of 6
(3,129 Views)

LV ver 8.2

I am not familiar with reentrant clones but I will study.

Thanks,

Dave

0 Kudos
Message 6 of 6
(3,128 Views)