LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I add a terminal to a subVI to pass a value into it?

I have a VI that is made up of a few subVI's. What I am trying to do it take a control from one of the subVIs and plave it on the main front panel of the overall VI. I don't seem to be able to add a terminal to one of the subVIs in order to pass my control value into it. Any ideas?
 
Thanks
 
Alan Homer
0 Kudos
Message 1 of 7
(3,321 Views)
Hi Alan,
you could create a reference of your Control and pass it to the SubVI. There you pass the reference to a property node to change everything of that control you want to.
Greets, dave
Greets, Dave
Message 2 of 7
(3,315 Views)

Hi

I'm not quite sure where you have problems. If you want to pass a value to a subvi, you have to create a control of the same type in the subvi and assign this control to a terminal.

If you don't know how to do this, search the LV help for "terminals, assigning".

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 3 of 7
(3,314 Views)
I have solved the problem, thanks for your help
0 Kudos
Message 4 of 7
(3,309 Views)
Thanks for the rating -  a rating at all is at least better than none.
 
But always remember that the first answer is as good as the question.
 
If you want a good answer, you have to provide information. Very often answers are of the "I try to ... but it does not work. Any ideas?" pattern. The description of the problem often lacks necessary details as the questioner is not so into LV yet. This makes it difficult to understand the problem and ends in guessing possible problems.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 7
(3,307 Views)
Sorry, I should have written more details in the question, it was my fault, I would change the rating if I could. I have just reread my original post and it is very vague. Once again, my apologies.
0 Kudos
Message 6 of 7
(3,302 Views)
Ok, this is quite a basic operation :

 1. open the Front Panel of your subVI
 2. right-clic on the VI icone, and select "show connector"
 3. choose a pattern
 4. link the connector pane to your indicator



let me know if you need more help 😉

Message Edité par TiTou le 06-01-2006 12:25 PM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 7 of 7
(3,304 Views)