LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak Detection

hi all,

I am searching for a good and fast algorithm (or a point to begin developing) to find the peaks in a histogram. the histogram is not clean, may be it has an offset-voltage and is not regular. any hint or idea?

best regards

Simon
0 Kudos
Message 1 of 4
(3,293 Views)
Hi Simon,

I have edited a Labview example on histograms to contain peak detection. Seems to work well - its attached.

As for implementation, if Labview can do it - it should be possible in LabWindows *fingers crossed*. But I know its not much of an algorithm...may have a look inside the vi?

Let me know what you think, if you have any problems with implementing it,

Thanks



Message Edited by Hillman on 08-08-2008 10:43 AM
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 4
(3,277 Views)
Hello Simon.

If you have the CVI Full Development System, you could use the PeakDetector() function from the Advanced Analysis Library.

According to the function panel help, PeakDetector "Finds the location, amplitude, and second derivatives of peaks or valleys in the input array".

Good luck.

Colin.



Message Edited by cdk52 on 08-09-2008 12:32 PM
0 Kudos
Message 3 of 4
(3,262 Views)
hallo,

thanks for the hint, I tested the PeakDetector() from the Advanced Analysis Library. It works fine. the only problem is, that I have to find and to describe not only the x/y-value-pair of a peak, but all the curve-parameters of the peak. so I had to analyse the first derivation in order to find the start- and ending point of the "peak". but It seems to work.

thanks and best regards

Simon
0 Kudos
Message 4 of 4
(3,220 Views)