Current VI's Path function

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) File Constants palette
Type Function
Requires Basic Development Environment
Icon File Constants Palette - Current VI's Path.png

Current VI's Path function returns the path to the file of the current VI. If the VI never has been saved, this function returns <Not A Path>.

Usage

This function always returns the current location of the VI. If you move the VI, the value returned changes.

If you build the VI into an application, this function returns the path to the VI in the application file, and treats the application file as a VI library.

To obtain the path to the directory containing the application, use the Application Directory VI.

Data Type Name Description
Path Indicator.png path path is the path to the current VI.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links