LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to place a VI into another VI

I want a VI to be linked nto another i got the procedure how to do but the problem is linking with connectors what i want exactly is to palce a font VI into an existing VI with all the links
0 Kudos
Message 1 of 9
(4,430 Views)
Hello hardware,

what is a "font VI"?
What do you mean by "with all the links"?

Generally you can place SubVi's like any other VI: right-click in the diagram window -> "All functions" -> "Select a VI"

Best regards
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(4,430 Views)
I mean i want to link a VI where in I can set the font for my application how do i actually link it?
0 Kudos
Message 3 of 9
(4,430 Views)
Hello hardware,

do you mean connecting a VI with linking?

Standard way:
Open the subVI, right-click the icon, "Show Connector". Then again right-click the icon, select a pattern that is suitable for your application. Then connect those terminals with your controls and indicators (in your case: you should have a indicator containing the font to use). Save the subVI. Go back to your main VI, place the subVi in it and connect with the terminals you have created before.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 9
(4,430 Views)
Yup u got it but u know i have just started using this labview.I really dont know how do i connect it with the terminals and all can u show me a sample application.
0 Kudos
Message 5 of 9
(4,430 Views)
If you just start with LabView, then I would suggest: RTFM! (Sorry for any harsh words...)
Well, more polite: Here at the university we have an extra CD only with tutorials. Our students can watch movies on how to do the first steps with Labview, for instance connecting subVIs. Perhaps you can do that too. Other possibility: read the users manual, chapter 2, "Using Wires to Link Block Diagram Objects".

Connecting subVI's is the same as connecting standard LabView functions.

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(4,431 Views)
i saw the thereads that post,i according n done it, when i click show connector at the subvi, i unable to see the line for me to draw at the mainvi, why like that ? can explain more detail ?
0 Kudos
Message 7 of 9
(4,208 Views)
I'm not sure what exactly you are saying. If you created a VI and are attempting to use it as a subVI, in order to connect any wires to the subVI, in the subVI, you have to wire your controls and indicators to the connector pane. this is all explained in the on-line help.
0 Kudos
Message 8 of 9
(4,196 Views)
 

Hi Jex,
If you are trying to create a subVI, please look at the attached file.
1. show connector pane on your front pannel,
2. Click on one of the input terminals on the connector pane.
3. Click on the control where you want your input terminal to be associated to.
Save the VI and next time you drop it into another VI, the connectors will show up.
For more help regarding subVIs, please take a look at this article.
If you are new to LabVIEW, I highly recommend going through this tutorial.
Hope this information helps.

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support

 

Message Edited by Yi Y on 08-01-2007 04:49 PM

0 Kudos
Message 9 of 9
(4,171 Views)