11-11-2009 12:42 PM - edited 11-11-2009 12:48 PM
11-11-2009 12:54 PM
11-11-2009 12:57 PM
11-11-2009 12:59 PM - edited 11-11-2009 01:02 PM
If you are looking at my diagram from above. The data going in is the bottom array. It is a constant here. If you look at the attached code you will better understand. You would set the upper limit to +inf and the lower limit to 603. The fore loop would index through the array and only pull out the values that are equal to or are between the limits. It then would process the array of valuse that meet this requirement and calculate a mean value.
11-11-2009 01:06 PM - edited 11-11-2009 01:10 PM
hmm....I like it.
OpenG makes it even better.
11-11-2009 01:08 PM
11-11-2009 01:13 PM
11-11-2009 01:14 PM
11-11-2009 01:16 PM
11-11-2009 01:18 PM
It's the Conditional Auto-Indexing VI available from OpenG. It basically does what your case structure does. If the boolean is true, it keeps the corresponding number, otherwise it deletes it.
I beat you on calling out the bug in your code 😉