LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open csv file in labview

Solved!
Go to solution
Highlighted

hello

 

its little difficult for me to open .csv file in labview. so can any one suggest labview program or any hint for attached file bellow?

 

its really a challange to open it in Labview.

 

if free then try to solve this issue.

 

thanks

0 Kudos
Message 1 of 9
(1,487 Views)
Highlighted
Solution
Accepted by topic author hussey

Use the Read Spreadsheet File.  You could then use Index Array to get the first colum and do a search for an empty string.  That will give you the break between the header data and the actual data.  Take all of the data after that line and convert it to a number (String to Floating/Exp Number).


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 2 of 9
(1,483 Views)
Highlighted

sorry that way not working i had tried

0 Kudos
Message 3 of 9
(1,479 Views)
Highlighted

Then show us what you tried.  There is likely just a stupid mistake in there that you missed.


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 4 of 9
(1,471 Views)
Highlighted
Solution
Accepted by topic author hussey

its worked only there is a problem in delete some index

0 Kudos
Message 5 of 9
(1,465 Views)
Highlighted

there are six column but i am able to read only first column data .

what to do for read 4 th column.

same process doesn't work.

thanks

0 Kudos
Message 6 of 9
(1,456 Views)
Highlighted

please find attached vi.

0 Kudos
Message 7 of 9
(1,454 Views)
Highlighted

You need to set your delimiter to be a comma.  The default for the Read Spreadsheet File is a tab.

 

And why are you using Delete From Array?  Why not Index Array?

 

And I noticed there is an extra comma in your data so you will get a colum of just 0s.

 

Here's what I was saying to do.


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 8 of 9
(1,449 Views)
Highlighted

hello

 

thaks a lot for your valuable response.

 

i agreed that you are genius.

 

thanks

0 Kudos
Message 9 of 9
(1,410 Views)