10-19-2012 02:05 PM
Hi ,
I am having a trouble with selecting a default directory to save a file ( write to spreadsheet ). I want to automatically WriteToSpreadsheet as a NEW FILE without prompting the user to click Ok button everytime on " save file as " dialog.
Please find the attached picture to see the code.
Analogy : I just want the program to automatically save the file with a new file name every loop without popping up a dialog for the user to confirm the action.
Thanks!
Abhi
Solved! Go to Solution.
10-19-2012 02:09 PM
Then don't call the File Dialog.
10-19-2012 02:11 PM
You mean just quit using file dialog vi ?
or replace it with any other alternative ...
10-19-2012 02:13 PM
The following VI is what I have been trying to do , without using file diaog. but, I quite dont understand how can I connect my data to the writetospreadsheet.vi with this.
could someone help me with this.
10-19-2012 02:16 PM
Well, you already have the constant of where the data should go by default. You could just use that.
Another option would be to create a subVI to only call the File Dialog on the first call and save the folder path in a feedback. Then the folder only needs selected once on the first time.
Probably the best option would be to have the user select the folder when the program first starts and pass that path into the while loop.