07-05-2017 05:21 AM
Well you can build one..
start by getting a reference to the project,
then determine how to get a reference for all VIs in the project, (ages since I played with this and I've archived my code somewhere.)
then use the Traverse for Gobjects on each VI to find what you are looking for.
then update the paths.
Gerd's solution would have been done by now on instances in 400+VIs in a project of 1000s using Ctrl+F and Ctrl+G!
Sometimes we have to stop messing, grab the coffee and accept it's going to be a long slog. (The use of a subVI as a replacement will enable a quick change in the future though.)
07-05-2017 05:24 AM - edited 07-05-2017 05:24 AM
@aniketjha wrote:
I tried your method but instead of searching the path text, it is searching for the vi's name in the project. So, how to search inside the vi is my doubt here.
Regards
Aniket
You are searching in the project.
1) Drag all VIs in the project into a new VI to ensure they are in memory (The VI will be broken)
(This ensures any dynamically called VIs are not missed from the search)
2) Open the top level VI - in this case the new VI.
3) perform the search within the VI (as Gerd said), not from the project explorer window.
07-05-2017 05:29 AM
Ok James, thanks for the heads up.
I will try,and let you know the same.
Aniket
07-05-2017 05:32 AM
07-05-2017 05:37 AM
Yeah, Gerd.
Thanks finally got it what i need.
Followed your's and James's steps, and got the result what i am looking for.
Thanks a ton
Aniket