02-01-2013 05:41 AM
Hi,
I want to write the DAQ data inot a .csv or .txt file, so I'm trying to use "Write To Spreadsheet File", cause I can save data in any formats. My concept is that the DAQ data will save in a same file continuously when I'll press the ON button and when I'll press OFF button then it'll ask to the user to save the file.
I have attached the VI file.
But my problem is that every time it's asking me a new file even though I have put the append file as true.
Any suggestions.
Thanks,
Chotan
Solved! Go to Solution.
02-01-2013 05:50 AM
Hi Chotan,
the first you should do is to read the context help for the functions in use!
Here you would read this:
file path is the path name of the file. If file path is empty (default) or is <Not A Path>, the VI displays a dialog box from which you can select a file. Error 43 occurs if you cancel the dialog box.
So what will be the solution to prevent opening the file dialog with every call of WritetoSpreadsheet?
02-01-2013 05:58 AM
02-01-2013 07:05 AM - edited 02-01-2013 07:05 AM
Hi,
Thanks for your quick suggestions and modified file, guys.
/Chotan