04-13-2008 02:13 PM
04-13-2008 03:56 PM - edited 04-13-2008 03:58 PM
04-13-2008 05:14 PM - edited 04-13-2008 05:24 PM
04-13-2008 05:16 PM
04-13-2008 06:14 PM - edited 04-13-2008 06:23 PM
04-13-2008 06:32 PM - edited 04-13-2008 06:34 PM
04-13-2008 09:58 PM
Thanks.
I know that. By default, it is "new or existing file". My question is, the "start path" of this file dialog is a directory where you choose/create a file, not a file you can control.
My situation is, I have had that file name created in the beginning of my program depending on the source data file name. I cannot use this file dialog, because it cannot work with a full path including the file name.
I hope my description is clear.
04-13-2008 10:27 PM - edited 04-13-2008 10:32 PM
04-14-2008 01:23 AM
It's a pity that there is no that " Check if File or Folder Exists.vi " with LV7.1.
I use the source data file name to create a new file name (add a suffix) just in the beginning when I read the source file. After analyzing, I need to save the result with the new file name. Somtimes, from the same source data, I need to change some conditions to generate another result (This happens occasionaly). Then I need to consider whether the file exists or not. and If existing, replacing it or creating a new file. The "write characters to file.vi" can tell you whether a file exists, but its dialog only has "replace" and "cancel" option.
Actually, I can set an indicator which shows tthat the file name has been used for saving data once, then I need to programmatically create another new name.
Anyway, Thank you.
I will try other method.
Best
Wei Tong
04-14-2008 02:40 AM - edited 04-14-2008 02:41 AM