Jump to content

Current VI's Path function

From LabVIEW Wiki
Revision as of 20:14, 8 June 2021 by Q (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Object information
Owning palette(s) File Constants palette
Type Function
Requires Basic Development Environment
Icon

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 path is the path to the current VI.

History

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

See Also

External Links