Thank you very much for your reply and for your willingness to look at my vi. I have attached it. Please let me know if you should have problems opening it. I am using LabVIEW 6.1.
When you open it and run it you will see the sample data set appear in the graph window. The two arrays on the right list the location and the amplitude of the peaks found. When I ran it it only found 11 peaks, although the data contains 23 peaks. When trying other data sets, sometimes the vi would list one peak twice, but still leaving out some of the other peaks.
Thanks for your suggestion of smoothing the data, but in my application I can't smooth the data, because I would like to detect all the peaks if they are noise or real.
Regards,
Jerome.