02-05-2009 01:32 AM
Hi All
I've tried to look, but no clue yet. I am using labview 7.1 and trying to read a spreadsheet string file into a string array, but i got extra character in the beginning of the file and extra line in each of the line. I Have tried to put a value in the pos offset, can solve the extra character problem, but it didn't feel right.Text file, source code and result attached. Can Anybody explain about this?
Thanks A lot.
Solved! Go to Solution.
02-05-2009 01:44 AM
Hi Nandha,
can you upload your files? Try also the "Read From Spreadsheet File" function.
Mike
02-05-2009 01:51 AM
These are my files.
The "Read from spreadsheet" function is only applicable for reading numbers, not string.
That is why first i tried to read the file as string, and then split it using "spreadsheet string to array".
My goal is to make an array of strings.
Thanks
02-05-2009 01:59 AM
Hi Nandha,
your file contains this additional characters (i think it's a unicode file), but the normal editor don't show them. You can see them if you open your file with Word.
Mike
02-05-2009 02:27 AM
OMG, i didn't realize that
Thanks a lot, Tried to open it from word as plain text, and it did contain the extra character and extra line. Actually i made the text using excel and save it as semicolon delimited, And that is the result.
Once again thanks a lot. Kudos for you.