LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open csv file in labview

Solved!
Go to solution

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
(4,066 Views)
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
(4,062 Views)

sorry that way not working i had tried

0 Kudos
Message 3 of 9
(4,058 Views)

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
(4,050 Views)
Solution
Accepted by topic author hussey

its worked only there is a problem in delete some index

0 Kudos
Message 5 of 9
(4,044 Views)

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
(4,035 Views)

please find attached vi.

0 Kudos
Message 7 of 9
(4,033 Views)

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
(4,028 Views)

hello

 

thaks a lot for your valuable response.

 

i agreed that you are genius.

 

thanks

0 Kudos
Message 9 of 9
(3,989 Views)