03-22-2016 06:38 AM
I have a subVi with a push control, and I want control the sub VI with the principal VI. I would like create a control for the subVI In the principal VI.
03-22-2016 06:45 AM
It is not clear what you are asking for here. Could you supply an example?
03-22-2016 08:39 AM
In a sub VI I have a while cicle and to obtain the acquisition of data by external device I push a control called "avvio acquisizione". I want to control "avvio acquisizione" on the front panel of principal VI. I Attached here the VI and the sub VI.
03-22-2016 10:17 AM
How to pass a boolean control from a subVI to a VI?
03-22-2016 10:24 AM
If you want to pass the data use the connector pane.
If you want to view the control in the subvi on the higher level vi you should look into subpanels.
Hope this helps
Dave B
03-22-2016 10:25 AM
Hi Robbie! If your question is how you modify a top level VI front panel object from a sub-vi, you'll have to do it by passing the reference. I'm including a link below on how to do so.
Updating a Control or Indicator of a Top Level VI from a SubVI
http://digital.ni.com/public.nsf/allkb/0F4EA104660C0AF38625726F0069B27E
03-22-2016 10:53 AM
I tried, but I don't have result. I want to use the control"avvio acquisizione" ,present in subVI, directly in the main VI. I attached here the VI and the subVI.
I would be grateful if you could kindly bring myself this problem by modifying if necessary my VI.
03-22-2016 10:58 AM
Please don't create a new message with the same question you've already asked.
The two message threads have been merged so everyone has the benefit of seeing earlier messages and no one wastes their time helping in one message thread when you are being help in another.
Please read NI Discussion Forums User Guidelines particular item #3.
03-22-2016 11:04 AM - edited 03-22-2016 11:05 AM
If you put a border around your "Main" icon it will be much easier to connect.
If you want to be able to stop your "MAIN FINAL" from your "utilizzare" VI then you can make a global variable to stop your "MAIN FINAL"
Edit: As far as naming conventions go, when you use the word "Main" it often refers to a top-level VI, not a SubVI.