LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Locate all .net objects/references used in project

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(2,902 Views)
Solution
Accepted by topic author joernheit

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

Message 2 of 4
(2,870 Views)

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.

0 Kudos
Message 3 of 4
(2,850 Views)

@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.



0 Kudos
Message 4 of 4
(2,834 Views)