04-25-2006 11:06 PM
04-26-2006 01:44 AM
04-26-2006 02:19 AM
Magic,
Just wanted to clarify something: The Write to Spreadsheet VI in LabVIEW (under File I/O pallette) creates a delimited file that can be opened by many Spreadsheet programs. It will NOT write directly into an Excel sheet, nor create a native XLS file. For that, you need magic - just kidding!
You will need VIs that interface with Excel. There's a Report Generation Toolkit for Office from NI which does this, and also some free VIs floating on the forum and elsewhere.
As for the reading, since it's a text file, you can indeed use the Read from Spreadhseet VI to get the data as an array into LabVIEW.
Regards,
-Khalid
04-26-2006 02:59 AM
04-26-2006 09:49 AM
Nishant,
I think the ultimate goal is to see this data in Excel cells. Maybe I misunderstood the question...?
-Khalid
04-26-2006 10:58 PM
Hiii, Khalid
Actually yes, i also think that his ultimate goal is to see the data in the excel sheet, and thats why i have suggested him this method, but as a senior i would like to know from you that the method i suggested is right? or their should be any changes in that method?
And finally let him clarify what he wants? ![]()
hahaha.....
Thanks,
Nishant
05-08-2006 09:39 PM
05-09-2006 02:06 AM
Chris,
That's actually a very good point... or is it a comma? ![]()
-Khalid
PS: I assumed the user wanted to open the text file in LabVIEW first, do some processing on it, and then display the results in Excel. I could be wrong.
05-09-2006 02:49 AM