05-14-2013 12:55 PM
Hello,
I am trying to extract elements from an array under the following conditions:
Background:
I am using the peak detector VI that ships with Labview 2012. Its output is an array of indices for which it found peak values above some threshold. I have rounded these indices to their nearest integer and want to use them to extract peak locations from another array (of wavelengths). I could just stick with using a single element, but I will not generally have a single peak.
I only see a way to wire a static number of inputs for the "index array" function. Likewise, given an unknown number of elements in my index array, how would one use these indices to extract elements from another array?
Thanks!
05-14-2013 01:05 PM
Consider array subset, and also using index array in a for loop.