LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

List of User VIs?

Is there an easy way, perhaps with property nodes, to get a list of all user VIs in a project?

 

Thanks.

0 Kudos
Message 1 of 4
(2,846 Views)

There is no property node that returns that information. You'd need to iterate through the project item and for those items that are VIs you can get the VI reference and then look at the path of the VI to determine if the source is from your user.lib. There's a few shipping examples that deal with projects and they show you how to access the properties and methods for projects.

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

I'm just taking a stab at this, I've never actually used anything like this. There may be an easier way, but this should at least get you started:

 

19341i9BBEC52D13CDBEE3

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

Saverio brings up a good point... with my solution, you would "stay away" from traversing the Dependencies, and assume that all project items of interest are in Virtual Folders and not the Dependencies.

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