07-28-2009 09:25 AM
Solved! Go to Solution.
07-28-2009 10:29 AM - edited 07-28-2009 10:30 AM
Hi Sylvain,
it should be possible with the "Threshold 1D Array" function.
Mike
07-28-2009 10:48 AM
The problem is the VI "Threshold 1D Array" index only the first value egal to zero and doesn't index the other values in the 1D array.
Regards,
Sylvain
07-28-2009 11:01 AM
I would use 'In Range and Coerce'.
In my example (attached), all values between -0.1 < x < 0.1 will be considered zero.
It then outputs a 2D array of (Index, Value)
07-28-2009 11:15 AM
07-28-2009 11:29 AM
07-28-2009 11:32 AM
If you don't need to interpolate the index you can check for changes in the sign. See example.
Hope this helps,
Daniel
07-28-2009 11:51 AM - edited 07-28-2009 11:52 AM
To build on what
smercurio_fc said here is a solution with comments.
07-28-2009 12:17 PM
07-28-2009 12:23 PM