06-01-2011 01:01 PM
Hello Everyone,
I am trying to read serial port and save its data to excel file. I have successfully read the data and saved it into the excel file but when i tried to open it. It is giving warning message "The fle is in different format". I dont know it is saving in pdu file format. kindly reply me how to read data in excel file. Concerned VI is attached
Regards,
Rizi
06-01-2011 01:04 PM
could you pls down convert VI to 8.6 and attach it for me
06-01-2011 01:19 PM
Hi Dear,
File for 8.6 version is attached...
Plz if u find any solution try to send me as soon as possible i am badly struck in this problem.
Regards,
Rizi.
06-01-2011 01:26 PM - edited 06-01-2011 01:28 PM
The Write to Spreadsheet File does not create Excel workbooks. It creates delimited text files. If it's formatted properly then you should be able to open the file using Excel. Did you take a look at the file in a text editor? Note that just using .xls as the extension does not magically change it to an Excel workbook. If you truly need to create an Excel workbook then you need to either buy the Report Generation Toolkit, or use ActiveX directly to control Excel. You can find a lot of examples on how to do the latter in the Excel thread. NOTE: DO NOT POST QUESTIONS in the Excel thread. It is a thread for links only.
06-01-2011 01:35 PM
What Smercurio said is perfectly right, but you just get a warning, your data is in the file why do you need to worry. If you want excel then follow the things what Smercurio suggested.
06-02-2011 10:52 AM
Hello
I am also trying to do this but i am also facing problem in writing data in excel file...My program always print ###### instead of writing values coming from serial port....kindly help me...its urgent...my program is attached...
Thanks
06-02-2011 11:09 AM
Have you tried expanding the width of the column in Excel? ##### is a sign that the data is wider than the column width you allocated for it.