From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-26-2009 02:42 PM
A while back, Michael Aivaliotis posted a nifty tip on LAVA that makes a great nugget. If you have a large app containing many subVIs, and you do something to cause a relink to be required of those subVIs, there is a very easy way to relink all the subVIs at the same time. Prior to finding out this trick, I usually just went through each individual subVI instance and manually selected the "Relink to SubVI" right-click menu option. But with Mike's trick, first you find all instances of the subVI in the Find dialog:
Then, pick the subVI itself in the "Replace With" box, and select the "Replace All" button:
This operation will instantly relink every instance of the subVI that was found. I really like this tip...in fact, I just used it today!
05-26-2009 02:46 PM
I used this tip about a week ago when I had to relink my subvi's
thanks for the tip 🙂
05-26-2009 06:02 PM
05-27-2009 07:42 AM
Interesting tip but it prompts me to obesrve that choosing a good icon connector when the VI is first created will go a long way toward avoiding this condition in the first place. One of the few corporate dictates that where passed down to me when I came to Data Science Automation was "All VIs will use the same icon connector (worse case - 1)". As a result I can NOT recall ever having to re-link a bunch of calls to a sub-VIs.
So quoting from Indiana Jones,
"Choose wisely."
Ben