07-30-2008 08:12 AM
08-15-2008 09:54 AM
I agree this would be very nice if it was built into LV
... thanks for the tool
08-15-2008 10:01 AM
08-15-2008 10:09 AM
rpursley8 wrote:
In the project list under My Computer>>Dependencies there are vis listed for each of the shared variables. If a shared variable is named 'Value' then there is a vi listed there named 'Globals_Value'. If you click the right button and Find Callers, it will list all the vis where that variable is used.
Thanks Randall... I hadn't thought of using that before, that will come in handy. I doen't find the instance of the variable on the diagram howerver, just tells you what vis its used in.
08-15-2008 10:24 AM
To find the shared variable instances on diagrams in 8.0, 8.2, and 8.5, the FindSV utility attached to this thread should work. If you're using 8.6, you will need to use the VI Analyzer Test I have attached to this other thread.
-D
02-19-2010 12:33 PM
Hi,
Yes I know : this is an old thread !
But I have one problem with this very useful tool.
I tried it on a little project and it works well fine, but when I want to search in a big project (not written by me) with a lot of SV, the execution of this tool stop without finish the search and without display any error message. So the list isn't completed anymore.
I think there is bad or missing link to some VIs, which I found grace of your tool KenT. But maybe still some remain invalid.
If I can see the code, I can understand why the tool crash!
Thank you, and all my apologize for my poor English, I hope that I am comprehensible !
02-19-2010 12:52 PM
julien_82 wrote:Hi,
Yes I know : this is an old thread !
But I have one problem with this very useful tool.
I tried it on a little project and it works well fine, but when I want to search in a big project (not written by me) with a lot of SV, the execution of this tool stop without finish the search and without display any error message. So the list isn't completed anymore.
I think there is bad or missing link to some VIs, which I found grace of your tool KenT. But maybe still some remain invalid.
If I can see the code, I can understand why the tool crash!
Thank you, and all my apologize for my poor English, I hope that I am comprehensible !
That code just parse all of the diagrams looking for SV's and building arrays as it goes. Check your memroy on your machine while searching to see if you are running out of memory. If so try running the search against a sub-set of teh app to see what you get.
Yout should be able to use the "Callees" property of a VI to find all of its sub-VIs. If you write code to find all sub-VIs that may also give you a clue as to what you are running into.
Does the hierachy screen work for you?
On large apps it crashed regulary under LV ... 8.5 for me.
Just sharing ideas,
Ben
06-21-2020 07:40 AM
Easiest way I found was to view the label for the Shared Variable and then search for Text within the label making sure to select the option to search for both Visible and Hidden labels.