03-03-2006 10:52 AM
03-03-2006 11:02 AM
| Robst - CLD |
| Using LabVIEW since version 7.0 |
03-03-2006 11:07 AM
You can check the error output of the File/Directory Info function, and if there was no error, the file does exist. This method will not work if you're checking a path inside an LLB. In that case, you would have to do something else, like listing the parent LLB contents and seeing if the file exists inside that parent.
I plan on including a new VI on the Advanced File I/O palette in the next version of LabVIEW that, given a file path, will return a boolean indicating if that file/folder exists...it will also work on files inside LLBs.
Hope this helps,
-D
03-03-2006 12:56 PM
03-03-2006 03:28 PM