Application Directory function

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

Application Directory VI returns the path to the directory containing the application.

  • If you call this VI from a stand-alone application, this VI returns the path to the folder containing the stand-alone application.
  • If you call this VI from the development environment and the VI is loaded in a LabVIEW Project (.lvproj), this VI returns the path to the folder containing the project file.
    • If the project is not saved, this VI returns <Not a Path>.
  • If the top-level VI is not loaded in a project, the VI returns the path to the directory containing the top level VI.
    • If the VI is not saved to disk, this VI returns <Not a Path>.

Usage

Data Type Name Description
Path Indicator.png Application Directory Application Directory is the path to the directory where this VI is running.

History

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

See Also

External Links