LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find local maximum points with set of raw data from excel spreadsheet by using labview?

Hi everyone

 

I am currently using the 2013 version and I am new to labview. It would be great if someone can solve my problem.

 

Question:

 

My excel spreadsheet contains 35000 data points and I want to find all the local maximum points from it. How can I do it?

 

I have gone through some of the online tutorials. I know how to read the excel file in labview (by clicking File I/O and then read spreadsheet file), I also know how to find a local maximum points and their locations (Analog Wfm -> Measurement -> Wfm Monitoring ->Wfm Peak Detection). But when I wire the Wfm Peak Detection to the indication of the spreadsheet file, the wire is broken and it said I connected a 2D array to a 1D array. How can I solve it or is there other way to do it? 

 

The attached file is the raw data I mentioned above .

 

Thank you very much

0 Kudos
Message 1 of 5
(2,956 Views)

Then you have to connect the read from spreadsheet like this:

wave.png

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 2 of 5
(2,942 Views)

Thanks for your help. But what is the thing in the middle? I can't find it in labview.

0 Kudos
Message 3 of 5
(2,925 Views)

is it a reshape array function? thx

0 Kudos
Message 4 of 5
(2,921 Views)

That is Index Array resized for a 2D input array. So it has two index inputs. The top one indexes rows and the lower one indexes columns. Notice that the glyph for the unwired input is an open box and the one for the wired input is a solid box.  If both were wired, the output would be in element at (row, column) and both boxes would be solid.

 

Lynn

0 Kudos
Message 5 of 5
(2,914 Views)