File Constants

Owning Palette: File I/O VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the file constants with the File I/O VIs and functions.

Palette ObjectDescription
Application DirectoryReturns the path to the directory containing the application.
Current VI's PathReturns the path to the file of the current VI. If the VI never has been saved, this function returns <Not A Path>.
Default Data DirectoryReturns the directory you configure to store the data a VI or function generates.
Default DirectoryReturns the path to the default directory.
Empty Path ConstantReturns an empty path.
Get System DirectoryReturns the system directory specified in the system directory type input.
Not A Path ConstantReturns a path whose value is <Not A Path>. You can use this path as an output from structures and subVIs when an error occurs and you do not want to return a path.
Not a Refnum ConstantReturns a refnum whose value is Not A Refnum. You can use this refnum as an output from structures and subVIs when an error occurs.
Path ConstantUse this constant to supply a constant path value to the block diagram.
Temporary DirectoryReturns the path to the temporary directory.
VI LibraryReturns the path to the VI library directory for the current application instance on the current computer.