LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

subvi front panel

Hi

I need to insert subvi's front panel into the main vi front panel. It can not be done by inserting the subvi into a subpanel, because i want (need) to see the subvi's front panel in design mode. I also can not make a .ctl from this subvi, because i need to execute some code in the subvi.

Another question: is there any possible solution how to run two or more same subvi at the same time (for example in 2 subpanels) ?

Thanks

--
baracuda
0 Kudos
Message 1 of 3
(3,072 Views)
Hi baracuda, I suggest you to post this question in the LabVIEW forum: this area is aimed to help CVI users.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,064 Views)
baracuda,

In future you'll get quicker responses if you try to post in the most appropriate forum (in this case the LabVIEW forum as Roberto pointed out).

With regards to this issue there is no way other than a subpanel to embed one VIs front panel in anothers.  Perhaps if you explain a little about why you need to do this we could suggest some other approach which may give you the results you desire.

There is a way to have multiple instances of the same subVI open in different subpanels.  If you save your subVI as a *.vit (VI Template) file each instance of that VI is created in its own memory space.  This will allow each instance of the subVI to have it's own independant front panel.

You might find this knowledgebase entry useful:

Differences Between Reentrant VIs, VI Templates, and Dynamic VIs


Regards,

Simon H
Applications Engineer
National Instruments
http://www.ni.com/support/


0 Kudos
Message 3 of 3
(3,037 Views)