LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: How to get path of a VI used in LV project?

Did anyone actually answer the simple question "How can I get the path of a VI used in LabVIEW project?"

Seems like it you should be able to do it from any decent coding environment without running code.

0 Kudos
Message 1 of 7
(3,098 Views)

In the Items view of your project, highlight the vi, right-click, and select Show in Files View.

0 Kudos
Message 2 of 7
(3,096 Views)

Or from in the VI.  Go to File, VI properties, and it is listed in the "General" section.

0 Kudos
Message 3 of 7
(3,089 Views)

In the project explorer open the menu entry "Project" and click "Show Item Paths".

0 Kudos
Message 4 of 7
(3,067 Views)

If I have a VI open in a project, I usually press Ctrl+Shift+E (to get the VI highlighted as described before in the Project View) then Ctrl+E to switch to File View from Item View.

Ctrl+E toggles between these two views, usually Item View is more useful except when checking paths/layout on disk.


GCentral
0 Kudos
Message 5 of 7
(3,046 Views)

Or CTRL+I from a VI to see the properties of the VI.

Certified LabVIEW Architect
0 Kudos
Message 6 of 7
(2,994 Views)

Open the Project.  You should see a list of all the VIs, right?  In the Menu Bar, click on "Project", and check "Show Item Paths".  A column will appear showing the path of all of the VIs (and controls, and other things) in your Project.  [I'm assuming you are asking how to find the file paths while programming, not while running the code.  You can also find the path to the VI at run time using a Property Node, "VI Path" ...].

 

Bob Schor

0 Kudos
Message 7 of 7
(2,965 Views)