LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Search automatically incorrect path mapped in 100 of VI's.

Solved!
Go to solution

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.)

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 11 of 15
(1,175 Views)
Solution
Accepted by aniketjha

@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.

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
Message 12 of 15
(1,173 Views)

Ok James, thanks for the heads up.

I will try,and let you know the same.

 

 

Aniket

0 Kudos
Message 13 of 15
(1,170 Views)
Solution
Accepted by aniketjha

Hi Aniket,

 

this one searches for text in VIs:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 15
(1,168 Views)

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

0 Kudos
Message 15 of 15
(1,162 Views)