Tuesday, January 22, 2008

Checking the File existence in particular path

The most of the projects file creation & deletion operation is needed. On these operations file existence checking for particular file path is important. For file existence checking there is no direct tool in LabVIEW 7.1 and below versions. But its accomplished by File/Directory Info tool.

To get this tool,

Functions Palette->File I/O-> Advanced File functions-> File/Directory Info.









Wire the error out of this tool to case structure . The No Error case denotes the File is exists,if error is getting means the file does not exists (See picture 1)

No comments: