Hello Marlon,
Since you are inputting data from a transducer into a computer, I will assume that you are using some Data Acquisition board and software to input this sine wave. Also, since you are posting in the LabWindows/CVI forum, I will assume that you are using LabWindows/CVI as your software environment. If you have the Full Development System (FDS) of LabWindows/CVI, it includes advanced analysis library functions. One of these functions is PeakDetector(). PeakDetector() will take an input array and return the peak locations and amplitudes. You could then use the MaxMin1D() analysis function on the amplitude array to determine the maximum and minimum values of your sine wave peaks. You could then compare the minimum value to your voltage threshold and re
ject the unit if necessary. If you do not have LabWindows/CVI FDS, then you will need to come up with your own functions that perform this analysis.
Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask