LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting a Threshold Array

Solved!
Go to solution

Hello,

 

I've looked and looked on how to do this in on the forums but no luck.

 

I'm working with larger data sets. The code below is a simplified version of what I'm trying to do.

 

I have a 2D array that gets converted into a 1D array to make taking the average easier.

 

I want to create a new 1D array whose elements are above a threshold that I define. The size of this new array may be smaller. Every time I try to eliminate the elements below the threshold for those values below the threshold, a zero is put into the new array. This will effect the average.


Can someone help. As I just want the values below the threshold and no zeros.

 

 

Cheers.

 

0 Kudos
Message 1 of 4
(4,908 Views)

It is time to call in the bucket brigade.  See the example.

 

0 Kudos
Message 2 of 4
(4,906 Views)

Darin.K

 

Could you please repost for labview 8.2.

 

Thank You

 

0 Kudos
Message 3 of 4
(4,903 Views)
Solution
Accepted by topic author Kamilan
0 Kudos
Message 4 of 4
(4,897 Views)