LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read excel data .csv and operate arrays later

Solved!
Go to solution

Hi! I'm afraid that it's a very simple issue but I'm very new in LabVIEW. I hope that you could help me!

 

I'm trying to read a .csv file in labview. The excel has two columns and I'm interested just in the second. 

I'm going to read many rows, so my goal it's to make the main of each 10 numbers. 

 

So, first I want to read the data (just the second column) and then make the main of each 10 numbers and then introduce in another array the mains. Finally, I need to plot this array. 

 

Thanks!

0 Kudos
Message 1 of 6
(2,221 Views)

Read the entire .csv into a 2D array and then index out just the column(s) you need.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 6
(2,205 Views)

Hello! Thanks for your answer.

 

Sorry because maybe I should be more specific. But I don't know how to follow. I'm not familiar with LabView

 

I attach a picture where you can see what I have. I'd like to take the data from this array and do the mains that I told you in the last post. I think that it's easy but I don't have any idea. 

 

Thank you very much

 

Luis

0 Kudos
Message 3 of 6
(2,188 Views)

Hi Luis,

 

yes, that's easy: use IndexArray to get the 2nd column!

 

I'm not familiar with LabView

Why don't you take those training resources offered for free in the header of the LabVIEW board?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,183 Views)
Solution
Accepted by alarcon7

Here is how you do it.

array2..png

But I agree with GerdW you need to take a few of the free training courses

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 6
(2,179 Views)

Thank you guys, you are right! I'll look everything there!

 

 

0 Kudos
Message 6 of 6
(2,155 Views)