04-01-2015 02:21 AM
Hello,
in a project with > 1000 vi's I would like to locate all usage of .net objects (constructor nodes, property nodes, invoke nodes) or/and locate all .net references used.
Is there a way to achieve this ?.
Best regards,
Jörn
Solved! Go to Solution.
04-01-2015 10:27 AM
There are two ways to do this. If all of the VIs are in memory, you can use the Find command to look for the .NET objects (though you'll need to look for them one object at a time). Alternatively, if their names all include the string ".net", you could do a text search.
Oops, I was going to suggest a method I used to find all reentrant VIs in a Project, but that involved a search at the VI level, looking at the VI properties. I'm not sure how you would enumerate the functions used in a VI programmatically ...
Bob Schor
04-02-2015 03:46 AM
Indeed I underated the textsearch capabilities of the search function. At least I can limit the results to < 100 instead of > 1000, thats ok for me.
04-02-2015 07:17 AM
@Bob_Schor wrote:
...Alternatively, if their names all include the string ".net", you could do a text search...
Note that text searches in some earlier versions of LabVIEW (I believe 8.5 and earlier) would not find hidden items on the block diagram, meaning if you have a constant that is named with "*.net" but the label is hidden, it will not be found.