LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

value from Vi into SubVI

Hallo
 
I need a help , I want to put the result from VI into SubVI , can someone explain me  how
i start to do it but I didn't know how to finish it
Thank you in advance
 
Toni
Download All
0 Kudos
Message 1 of 8
(3,261 Views)

Hi dctoni,

create a control of the type you want send to the subvi, in the subvi. right click on the icon and select "conector pane" (only possible in the FP), add the created control to the conector pane. save your vi. Now you can conect the value to transfer to the subvi.

Mike



Message Edited by MikeS81 on 04-07-2008 04:10 PM
Message 2 of 8
(3,257 Views)

In the subVI, create a front panel numeric control and wire it to your Format Into String. From the subVI's front panel, conect this new control to the subVI's connector pane. Click the subVI's icon and select Show Connector.  The prperty node and reference in the subVI are not needed. After you save the subVI, go back to your main program. On the block diagram you will have to right click on the subVI and select 'Relink to SubVI. After you have done that, you can just wire your result to the subVI.

This is very basic LabVIEW. You really need to look at the resources for learning LabVIEW at http://www.ni.com/academic/lv_training/how_learn_lv.htm

Message 3 of 8
(3,251 Views)

thanks guys for your reply

I have been reading this the whole day , and I still don't know how , coz i am using a german version and it is not easy to follow everything , but i will try again maybe with this description I will know how

thanks again

0 Kudos
Message 4 of 8
(3,246 Views)
Here's the modified subVI.
Message 5 of 8
(3,236 Views)

OK

but what do you mean with "connect this new control to SubVI's connector pane " and where can i find it

0 Kudos
Message 6 of 8
(3,225 Views)
Dennis thanks man I understand it  . HaliluyaSmiley Very Happy
0 Kudos
Message 7 of 8
(3,222 Views)
Hello dctoni,

thank you for using the NI discussions forum. I agree very much with Dennis' comment about taking a trainings class for LabVIEW, especially after reading this comment from you:

"I have been reading this the whole day , and I still don't know how"

Please have a look at this link that provides all the localized information about LabVIEW trainings classes at NI-Germany. This will help you to save time and money and to become more successful with LabVIEW. For the case that you are working on a thesis, please contact NI-Germany as we offer special conditions for students.

Thanks and best regards,

Jochen Klier
National Instruments
0 Kudos
Message 8 of 8
(3,182 Views)