Jump to content

Application Directory function

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

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
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