Open the ?find? window as in the previous method. Within the window make the following configurations: for the ?search for? option select ?object?, ?globals? and click on the icon of the variable you wish to search for. As explained previously the location of all variables being used will be listed.
The attached example VI, "Cluster test.vi", has been developed by one of our engineers as a starting point for anyone who wants to develop LabVIEW code which can search for and list the VIs where shared variables are being used.
Using the attached VI, "Cluster test.vi", you can also just have an array of the variables you want to search for, rather than having to strip them from the project names as long as the names of the variables are known.
I have zipped up an example LV 8.0 project so that the functionality of using "Cluster test.vi" can be easily seen.
Simply run the "Cluster test.vi" and it's front panel will populate the table control listing what variables are being used and in what VIs they are being used.
I hope this is helpful.
Emma Rogulska
NIUK & Ireland
SharedVariableSearchVI.zip:
http://forums.ni.com/attachments/ni/170/191496/1/SharedVariableSearchVI.zip