Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak detection in VC++?

Hello,
is there easy way to work with peak detector in VC++?
The class PeakDetector is available only in C  sharp or VB.  Of course, I could prepare a peak detector myself with second dt. But is there any way how use the Peak detector class in VC++?
Any advice or idea?
Thank You very much.
emta41
0 Kudos
Message 1 of 2
(3,477 Views)
Hi,

Yes the VC++ version also has peak finding. Its called PeakDetector:
CNiPeakDetector m_PeakDetector;
m_PeakDetector.DetectPeaks(m_yData,CNiPeakDetector::Peaks,m_fThreshold,m_nWidth);

However sometimes it doesnt find ALL the peaks, maybe due to the two params width and threshold.

Hope this helps a bit.

Miklos
0 Kudos
Message 2 of 2
(3,475 Views)