Check if File or Folder Exists VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

Owning Palette: Advanced File VIs and Functions

Requires: Base Development System

Checks whether a file or folder exists on disk at a specified path. This VI works with standard files and folders as well as files in LLB files.

path specifies the path to the file or folder you want LabVIEW to look for. If you use this VI to check the validity of a network path, make sure that you connect to the network first.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
dup path returns path unchanged.
file or folder exists? is TRUE if the file or folder you specify in path exists on disk and FALSE if the file or folder you specify in path does not exist on disk. If you wire an empty path to path, file or folder exists? returns TRUE because the empty path refers to the list of drives mapped to the computer. (macOS) The empty path refers to the mounted volumes. (Linux) The empty path refers to the root directory.
error out contains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful