LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

weird characters

Solved!
Go to solution

here you go,

Download All
0 Kudos
Message 11 of 20
(1,855 Views)

That is not a .csv file.  It is still an .xls file that you just happened to give the .csv extension to.

 

Did you remember to change the type of file you were saving to when you used the Save As dialog box in Excel?

0 Kudos
Message 12 of 20
(1,849 Views)

ok got it. i got what i wanted

but why is there such a problem in the first place ie. the weird characters if the file is not in csv format??

0 Kudos
Message 13 of 20
(1,843 Views)

@ybomi wrote:

ok got it. i got what i wanted

but why is there such a problem in the first place ie. the weird characters if the file is not in csv format??


Ugh, really?  If you don't understand this basic concept, I'm not sure you'd understand the explanation.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 14 of 20
(1,837 Views)

Here is what the file contents look like when read as a binary file and displayed in hexadecimal.

 

From Book1.png

 

A real csv file would have most of the hex characters starting with 3.

 

Lynn

0 Kudos
Message 15 of 20
(1,829 Views)
Solution
Accepted by ybomi

@ybomi wrote:

ok got it. i got what i wanted

but why is there such a problem in the first place ie. the weird characters if the file is not in csv format??


The Read From Spreadsheet File reads text files that have a delimiter of some sort.  Common delimiters are tab and comma.  An XLS file is a proprietary format the Microsoft created.  Only parsers that specifically know the xls (or xlsx) format.  The Read From Spreadsheet File does NOT know this proprietary format.  That is why it doesn't work.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 16 of 20
(1,797 Views)

thanks crossrulz, now i understand. 

My bad that i did not understand fully 

0 Kudos
Message 17 of 20
(1,780 Views)

@ybomi wrote:

thanks crossrulz, now i understand. 

My bad that i did not understand fully 


In your own defence an Excel file is a spreadsheet.  just one in a propriatary format that contains bytes and bytes of specific constructs.   There is even a romur that an easter egg exists in Excel with an entire plane flight simulator.  A "Generic" Spreadsheet is all that read from spreadsheet file supports.


"Should be" isn't "Is" -Jay
0 Kudos
Message 18 of 20
(1,773 Views)

thanks so much guys =D

0 Kudos
Message 19 of 20
(1,765 Views)

Not sure about the current versions of Excel, but it is true that the earlier versions had a basic flight simulator. And when you consider that memory in a PC was limited to 640Kbytes!

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 20 of 20
(1,741 Views)