09-24-2024 10:18 AM
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
09-24-2024 01:25 PM
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.
09-25-2024 04:15 PM
@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.