LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program halts on build path, path/file not created.

Solved!
Go to solution

@rickford66 wrote:

Not sure if your icons are the same as mine, but my File Info function throws an error if the folder does not exist.  Therefore, I don't feed that error through, I just "absorb it" by feeding it to the unbundle cluster.  Probably not the best programming technique, but it silences it.  Also, the New function will return an error if the directory already exists.  The behavior I want is for it to create the folder if it does not exist.  If it exists, then do nothing.



The vi I use is "Check if File or Folder Exist.vi" (from the File IO -> Advanced File Functions palette) and it just return a true or false if the file or folder exist or not. I don't know if this vi exist in LV7.1.

 

Ben64

0 Kudos
Message 11 of 11
(166 Views)