07-27-2011 09:24 AM
Is there a way to disable the prompt to select the directory when writing to text file or spreadsheet file? I am using the File dialog express VI with a default name and directory and have used and not used the open/create/replace file vi to try to find an option to disable this, no luck. I just want to overwrite the existing file everytime without being prompted.
thanks.
07-27-2011 09:25 AM
Just wire the path input to a control or constant set to the file you want.
07-27-2011 09:38 AM
I am wiring a constant with the directory\file name to the start path on the file dialog and I put a default name as well and passing the selected path onto the write to text file vi. However it still opens the "choose or enter path of file" every time I call this up.
07-27-2011 09:44 AM
The file dialog express VI will always prompt because it is a dialog. I was refering to the open file vi.
07-27-2011 09:00 PM
This will do what you want.