LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find a VIs subvis programatically

Solved!
Go to solution

I've decided to put up instead of shutup. I want to write a tool to make it very easy to docment VIs (instead of complaining about the lack of a decent tool). One feature I want is to be able to propagate a control's description and tip down a VI's hierarchy if the controls of the subvi's have identical names. To do this, I need to know the names of the subvis that a VI calls. I can do this by loading the VI and building a tree by looking at all the VIs in memory and examing the caller VIs of all VIs.

 

Is there is a simple way to directly get a list of a VI's subvis?

 

 

 

0 Kudos
Message 1 of 3
(2,337 Views)
Solution
Accepted by topic author Jacc

Hi Jacc,

 

You can use the Invode node method, Get VI Dependencies to list all the sub VIs of a VI.

invoke node.JPG


Regards,
Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your Problem is Solved;)) 

Message 2 of 3
(2,331 Views)

Expected it to be property and did not check out Invoke, enven though I use Invoke.for other purposes, but Invoke really does make sense. Many thanks.

0 Kudos
Message 3 of 3
(2,307 Views)