LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

different threshhold values for elements of one array

Hi,
can anybody tell me how to set different threshhold values to the elements of one array. I tried using the threshhold value method on one element, but it changed the values of all the other array elements, too...
0 Kudos
Message 1 of 7
(3,004 Views)
Hi Franzi,

Do you mean you want to apply different min/max value to the elements of an array ?
e.g. :     for i = 0, min=0 and max = 10
             for i = 1, min=5 and max = 10
             ....
             for i = n, min=m and max = M

Is that what you meant ?
If so, you need to have an array of the same lenght containing a cluster with min and max.

Hope this helps



We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 7
(3,001 Views)
I am sorry, but I don't exactly understand what you mean. If I build an array of clusters with my min- and max-values, than what am I to connect it with?
0 Kudos
Message 3 of 7
(2,991 Views)
save the words show the code 😉

hope this is clearer Smiley Very Happy



We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 4 of 7
(2,980 Views)

Hi TiTou,

Thanks for the VI. It solved my problem.

0 Kudos
Message 5 of 7
(2,977 Views)
You can also apply the coersion directly to the array.  Complete with an array of upper limits, an array of lower limits, and get a coerced array and "In Range?" array.


Message Edited by jasonhill on 07-26-2006 08:54 AM

Message 6 of 7
(2,972 Views)
Beware In Range and Coerce - when limits are NOT included, coerced value may still be out of range! Smiley Surprised (at least, this is true in LV7.1)
"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 7 of 7
(2,951 Views)