Jump to content

How to read columns of a Microsoft Excel .csv file with LabVIEW?


Recommended Posts

Hi All,

This should be simple. Any ideas on how to read an Excel file with csv extension using LabVIEW? I am stuck at reading the file using the read from spreadsheet file function.

Thanks!

It's what I would have said to use. Just define as separator a comma (instead of the default tab, since "csv" means "comma separated...") and you get a 2d-array with your data. With the index-array select the columns.

...just came to my mind: check that eventual values in your file do NOT have comma as decimal separtor... or you end up with comma as decimal AND element separator, and therefore with a big mess :wacko:

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.