LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Relink all subVI in a project of many vis after adding terminals

I have searched the board and really have not seen an answer to this.  Is there a way to automatically relink all the instances of a subvi the was changed and used in several vis in a project? Using LabVIEW 2018   

0 Kudos
Message 1 of 3
(227 Views)

If all the callers of the subVI are in memory, you can use the Find dialog (with a VI open, press Ctrl-F), and do a Search and Replace, where you search for that subVI, and then replace it with the same subVI. That will automatically relink all the subVIs. Note that terminal positions can sometimes change unexpectedly when relinking subVIs, which is why it is normally a manual procedure. So you'll want to spot-check the subVIs to ensure they weren't re-wired in an unexpected manner.

Message 2 of 3
(202 Views)

@Darren wrote:

If all the callers of the subVI are in memory, you can use the Find dialog (with a VI open, press Ctrl-F), and do a Search and Replace, where you search for that subVI, and then replace it with the same subVI. That will automatically relink all the subVIs. Note that terminal positions can sometimes change unexpectedly when relinking subVIs, which is why it is normally a manual procedure. So you'll want to spot-check the subVIs to ensure they weren't re-wired in an unexpected manner.


I agree.  I have seen instances where you have two terminals of the same data type get swapped.  LabVIEW usually makes good guesses, but you have to make sure it was a good guess.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 3
(164 Views)