02-22-2016 05:28 AM
Hello,
Guys can anbody help me with this thing, I have problem with writing spreadsheet file. I am upload picture of my program in LabVIEW.
When I run program everything working as well and excel file is filled with data I saw size of file how rising. But when I want to open file to check I got this message in "pic2".
So can anbody help me what should I do ? Is problem in my LabVIEW or ?
Many thanks in advance.
Solved! Go to Solution.
02-22-2016 05:34 AM
02-22-2016 05:36 AM
You cannot write an xlsx file. That is some propriatary format that Microsoft uses. Since you are use a comma as your delimiter, save your file at a csv.
02-22-2016 05:45 AM
Thank you a lot ! Its working now.
But check this now, from 38 row start to write. What could be this until 38 ?
02-22-2016 05:46 AM
Thank you a lot ! Its working now.
But check this now, from 38 row start to write. What could be this until 38 ?
02-22-2016 05:47 AM
02-22-2016 05:55 AM
No I make new excel file and change format from .xslx to .csv as Test.csv. Take this as file path and run program, but when I open again same thing, is there any chance for example to make some loop and to write every 5 minute value, maybe this garbage is generated until my signal is come to the write spreadsheet ?
02-22-2016 05:58 AM
Since you are just constantly adding on the file, you are just seeing Excel's attempt at fixing the file from before. You really should have your program create a new file each time it is ran.
02-22-2016 06:00 AM
@dony_92 wrote:No I make new excel file and change format from .xslx to .csv as Test.csv.
Don't do that. When you create an Excel file, it has stuff in the file that just looks like garbage (it really is data that Excel needs in order to read what is in the xlsx file). What's wrong with just letting your program create the file?