05-29-2013 09:34 AM
Hi there,
I am trying to create a file path with folders named to some information relevant to my program like serial number and number of order. ex: c:\calib\LX2345\123456. my code is working and the program generates the path i want but if the path or some folder already exist it gives error of duplicated path. i want that in those situations the program ignores the creation of the folders and use the same path and overwrite the saved tdms file.
Solved! Go to Solution.
05-29-2013 09:45 AM
05-29-2013 10:11 AM
Your two options are to 1) first check to see if the folder already exists as ben already pointed out or 2) clear the error if you get that error code (I don't remember the code at the top of my head).
I have a VI in my library that will clear a specific erorr. I use this VI to clear the error if the folder already exists.