Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Replace a Sub VI in Multiple Locations

Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
In my main VI I have a sub VI in many locations. I would like to replace my sub VI and not have to do this one-by-one. What is the easiest way to change out my sub VI?

Solution:
You need to first have all your VIs organized in a project (main VI and sub VIs). Make sure that you don’t have any VIs open. Then, simply right-click on the sub VI and select Replace with…. You can then browse to the VI you would like to use. LabVIEW will replace the old VI in the project as well as any project item containing references to that VI (such as the main VI).



Related Links:
KnowledgeBase 3JKE9M7U: Cannot Place Two Different Sub VIs With the Same Name On the Block Diagram

KnowledgeBase 3C891HZH: Can I Display Multiple SubVI Front Panels Simultaneously at Run-Time?
KnowledgeBase 209FCA7Z: Can I Wire One Control Reference to Multiple SubVIs?
KnowledgeBase 40KG302F: How Can I Start Two VI's Simultaneously?



Attachments:





Report Date: 10/20/2008
Last Updated: 05/05/2009
Document ID: 4QJ7SC4H

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit