LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dependent VIs

Hi,
 
How can I generate a list of dependent VIs using LabVIEW?
In LabVIEW project explorer, I did observe bunch of files in 'dependencies'.  There are lot of project VIs and .llb files  and I just want to gather the dependent VIs.  But, I am not sure how to capture only the dependent or support VIs in a separate folder.  
 
Thank you.
 
0 Kudos
Message 1 of 4
(2,987 Views)
Hello Troy12,
 
The easiest way to do this programmatically using LabVIEW is wit VI Server. For example,
 
 
You can also select "View >> VI Hierarchy" from the menu bar if you just want to see a graphical representation. I hope this helps answer your question -- let us know if there's anything else!

Message Edited by Charlie S. on 07-28-2006 11:19 AM

Charlie S.

Visit ni.com/gettingstarted for step-by-step help in setting up your system
Message 2 of 4
(2,970 Views)

Thanks for the reply, Charlie.

I actually want to gather all Support VIs together since I plan to deploy it on the target machine (which only has LabVIEW run time engine).  Can I generate support VIs using LabVIEW project?  If yes, how can I do that?

Thank you.

 

 

 

0 Kudos
Message 3 of 4
(2,957 Views)
Hello Troy,

If you're going to deploy your VI to a computer with the runtime, you have to build it. Now the builder takes care of these dependent VI. You'll only have to select the main VI (this will run when the build is started). This looks nice and solves your issue.

However this is only valid for direct called VI's (even in sub-sub-sub-sub...-sub vi'sSmiley Very Happy)

Now if you dynamically call a VI it won't show up in the dependencies list or in the builder, but you can easily check this by running the build after building it.

Ton

PS it is hard to keep it G-general if you want to say exe.... instead of build
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 4 of 4
(2,940 Views)