LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do to replace a SubVI?

Suppose I create a VI (main1.vi) that uses a SubVI1. Then, I realize another version of the main VI, main2.vi, which differ from main1 by the fact that it uses SubVI2. I don't want to create a new icon, because there is a slight difference. Just want to associate a new file and make this association valid for main2 only. Is it possible?
0 Kudos
Message 1 of 2
(2,578 Views)
Yes,

but you have to name SubVI2 differently than SubVI1.
You can open SubVI1 change it and save it as SubVI2. In LV7, it will automatically substitute the sub-vi to SubVI2 in your main2.vi and save your second main2 under a new name (such as main2.vi).. (that part you understood already.. ;o)

-JLV-
Message 2 of 2
(2,578 Views)