Select Edit»Find and Replace and click the Find button in the Find dialog box or select Edit»Show Search Results to display this window.
Use this window to display all instances of objects or text that you search for and replace them with other objects or text. Use the keyboard shortcuts listed in the window to find the next <Ctrl-G> or previous <Ctrl-Shift-G> result.
Note The Search Results Window appears only if LabVIEW finds more than one object during a search. If LabVIEW finds only one object, LabVIEW highlights the object on the front panel window or block diagram window.
For hidden text, all objects that LabVIEW needs to display the text become visible temporarily as dimmed objects. If you click the mouse or press a key, the objects become hidden again.
Note If you delete an object or VI that is part of a search result, LabVIEW disables that entry in the Search Results window. However, modifying text does not update the search results. Therefore, you might highlight a text search result that no longer matches the search criteria. In that case, perform a new search to update the Search Results window.
This window includes the following components:
Search Results—Lists the results of the search you defined in the Find dialog box. If you search for a local variable or a global variable, the Search Results list specifies whether the variable is set to read or write. A checkmark icon appears next to an entry in the Search Results list when you select an item and click the Go To button.
Note A strikeout icon appears next to an entry in the Search Results list if LabVIEW cannot replace that instance. For example, you cannot replace the text in a Property Node or an Invoke Node. You also cannot replace text in running VIs. If you click the Replace All or Replace Selected buttons, LabVIEW attempts to replace all instances except those marked with a strikeout icon.
Replace with—Specifies the object or text with which to replace the found items. If you searched for text, Replace with is a text box from which you can enter the replacement text or select from previous text entries.
Replace Selected—Replaces selected instances of the original item with the new item. Select the instances you want to replace from the Search Results list and then click the Replace Selected button. LabVIEW attempts to replace all selected instances except those marked with a strikeout icon .
Replace All—Replaces all instances of the original item with the new item. LabVIEW attempts to replace all instances except those marked with a strikeout icon .
Clear—Clears the Search Results list.
Go To—Highlights the selected search result. You also can double-click the result to highlight it. A checkmark appears beside each item in the Search Results listbox after you view it.
Find—Displays the Find dialog box to start another search.