03-08-2011 08:49 AM
Hi
Something seemingly simple I can not get to work...
Please see the attached VI which contains an array constant (which represents a typical set of acquired data points) on which I perform a peak/valley detection.
I would like to find the valley(s) but no matter what 'width' is used it never finds any valleys.
Any ideas as to why this may be or suggestions on how else to determin the valley location?
Many thanks for your help!
Jack
Solved! Go to Solution.
03-08-2011 09:25 AM
Hi there,
You need to wire in a value for the 'Threshold' input. This input tells the VI to ignore any valleys below the threshold value. As there are no valleys in your data set below 0, you will not detect any if you don't wire in this input.
Should you set the threshold value to '800' you will detect one valley. If you set the threshold value to '1200', you will detect three valleys.
Hope this helps.
Regards,
Dave.