02-07-2013 04:15 AM
It is necessary, otherwise it will error if a directory you are trying to create already exists and everything will fall over!
02-07-2013 04:50 AM
in which way can i handle error?
new dir.VI --> no error (my path didn't exist and now it's created) --> build path --> save file
new dir.VI --> error (my path existed) --> build path --> save file
is it correct?
i don't thinks so...in this way i recognize if my path existed but in my control i do the same things... i use build path VI and i save my file in it
02-07-2013 05:08 AM
@gigi85 wrote:
in which way can i handle error?
new dir.VI --> no error (my path didn't exist and now it's created) --> build path --> save file
new dir.VI --> error (my path existed) --> build path --> save file
is it correct?
Yes
i don't thinks so...in this way i recognize if my path existed but in my control i do the same things... i use build path VI and i save my file in it
Sorry Dont understand what you mean
02-07-2013 05:12 AM
after NewDir VI i make the same things, if there is error or no error 🙂
02-07-2013 05:16 AM
So is your problem fixed?
02-07-2013 05:27 AM
no, i make as in image but it doesn't work...
in this way i can't find new dir, and i can't find my file too...they didn't wasn't create 😞
in image i show both cases, with error and without error...
from datalog file name subvi i got my relative path, that i would to sum to datalog path.
02-07-2013 05:49 AM
Below are two screenshots which shows the true and false cases. Hope that helps
02-07-2013 06:41 AM
if you have time could be so gentle to explain me your program? why is it done in this way?
i'm trying to understand it but... 😞
02-07-2013 06:56 AM
Go back and look at my example. In it you will see that I am looking for a particular error code (10). This error code is generated when you try to make a directory that already exisits. If you get this error, simply clear it.
02-07-2013 06:59 AM
the icon to create folder what is?
in labview 7.1 i don't find it...what can i use? the mine one, new directory?