11-29-2013 05:15 AM
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
11-29-2013 06:46 AM - edited 11-29-2013 06:57 AM
Then you have to connect the read from spreadsheet like this:
11-29-2013 08:31 AM
Thanks for your help. But what is the thing in the middle? I can't find it in labview.
11-29-2013 08:53 AM
is it a reshape array function? thx
11-29-2013 09:17 AM
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