LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get index of all matching values in 1d-array

Hi,
how can I get all index of matching in an 1d-array?
Is there a easy way to do it?
thanks for any help

yves
0 Kudos
Message 1 of 2
(2,540 Views)
See the attached VI, a quick solution which took about 2 minutes.  It takes an array 1-d and a value, and returns the indicies of all matching values.  You can replace the array type and match type with any type and it will still work, right now it is a float type, hope this helps.
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 2
(2,528 Views)