LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to tell if a subVI is used by another vi?

LabVIEW NXG.

 

If I create a VI and use it in another VI and then someone else edits my project six months from now is there a way that the person new to the project can tell if a subVI is used somewhere else?

 

I see that you can tell what sub VI's are called by selected "Show Hierarchy". I want to go in the revers direction. I want to see what calls a certain VI.

0 Kudos
Message 1 of 4
(1,820 Views)

if it's in a project, you can select the subVI on the block diagram and hit CTRL+F to search for instances of that VI. 

You can also right-click the VI within the project and select Find>Callers.

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

In standard LabVIEW (don't have NXG, sorry) you can right-click a VI in the project and click "Show callers" to tell you what calls a given VI. Note that this only works within a single project though, as it's the project that tells you where a VI is used, not the VI itself.

 

If you need to lock something like this you can put it in an .lvlib. I assume those exist- or something like them- in NXG.

0 Kudos
Message 3 of 4
(1,811 Views)

Ctrl + F works.

 

Right button clicking on the sub VI in project view does not:

 

Image 29.png

0 Kudos
Message 4 of 4
(1,777 Views)