From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-15-2006 11:35 PM
02-16-2006 12:37 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
02-16-2006 12:40 AM
Hiii,Sasi
As per your statement un the post i think that in your excel file, there is a data is as a string, and it is tab delimited file, so if you try it through the Read from spreadsheet file, then you won't succeed, you use the open file/read file and close file, whic gives you data, perfectly. Is there any string in the excel file???? thats waht dont allow you to read the data from spreadsheet , coz it reads the numerical data.
Thanks,
Nishant
02-16-2006 12:44 AM
Hi
If you want to read a "real" excel file, I mean a file that was saved with excel, you can't read it using "read from spreadsheet file", because it is binary.
As TiTou already pointed correctly, this function just reads files, that were stored character separated and that just contain numbers.
To read a binary xls-file, I think you have to use ActiveX. There were already some discussions about how to retrieve data from a xls-file.
Thomas
02-16-2006 01:07 AM
Hiii, Thomas
Here as Sasi told that there is a string in the excel file, then it easily can be read by using the read file,it is to simple to read this way, i dont think that he should go for the Activex, cos i already have read the excel files with the strings, and it gives me the perfect result. and according to Sasi's post, i think that his file should be tab delimited.
Here i ve attached the vi, in path just enter the file, .xls with strings and it will read the data and give it to the Data.
Thanks,
Nishant
02-16-2006 01:37 AM
02-16-2006 02:04 AM
02-16-2006 02:27 AM
Obviously we're talking about two different things.
In a excel-file you can't "put the tab separator". So I attach you a simple excel-file, which I'm quite sure you can not read in and display it in a proper way.
02-16-2006 03:41 AM
Hiii, Thomas,
I already worte in my previous post that i was talking about the tab delimited file, and thats why i was talking about putting tabs in the vis while reading the tab delimited file, so it might my misunderstanding in this point, anyways thanks man, nice conversation with you.
Thanks,
Nishant
02-16-2006 03:49 AM