LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Searching for a text in multiple vi's

I have to search for a particular text ("c:\" to be exact) in files that make up a project (about 350 of them). (My task is to replace absolute paths with relative paths). I tried to search within files using windows explorer search feature but it reurned no result (maybe the vi's are not stored as text files). So how may I achieve the given task?

(Thanks in advance to all those good people out there who help people like us. What would I do without your guidance? Have a very productive valentine's day)
0 Kudos
Message 1 of 7
(3,191 Views)
Open the top level VI and select Edit>>Find (or press Ctrl+F). Select Text and All VIs in Memory and search for your text. Click the more options button to make sure you are searching everywhere. Ctrl+G and Ctrl+Shift+G then scroll back and forth through the results.

___________________
Try to take over the world!
Message 2 of 7
(3,182 Views)
Hello,

I believe that your refering to a search during the development of your project.
1 - You can use Ctrl+F .shortcut (in my system) or menu "edit" and "find and replace".
2 - select "serch for text"


Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 3 of 7
(3,181 Views)
Thanks a lot tst!
You are an angel! Saved me sooooo muc trouble. (I was planning on searching each and every file that makes up the project).
I'm blessed to have friends like you.
Keep up the good work (for work would be hard wihout you).

Have a very, very nice day!
0 Kudos
Message 4 of 7
(3,173 Views)
Thank you Jorge Ama…!
That indeed solved my problem.
Thanks again!

Have a nice day!

0 Kudos
Message 5 of 7
(3,172 Views)

In LV 7.1 I am able to do a search on the text from an Enum used as a state diagram selector.  In fact, I can even specify  whether the state is to be visible or not.  I will find all the Enums with that state exposed (ie "Init") as well as the case statement with the string in it.  Very useful.

 

However, in LV 8.5 it no longer finds the enums or the case!  It doesn't even find plain strings used for free text on the BD or FP, which 7.1 will gladly do.  It seems as if 8.5 only wants to find labels.  This is not quite as useful.

 

 I tried searching this topic but could not find any comments.  Anybody clue me in on what I'm missing?

 

 

0 Kudos
Message 6 of 7
(2,969 Views)

Works fine in 8.6. Make sure you have the checkboxes in the find window itself (e.g. case sensitivity) set up correctly.


___________________
Try to take over the world!
0 Kudos
Message 7 of 7
(2,954 Views)