LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deleting peak values detected by peak detector vi

Hi,
 
I m using the peak detector vi to detect peaks every 100 samples, if the difference between two consecutive peaks is greater than 15 i want to delete the peak with the higher amplitude only. This data set, should be plotted again on another waveform. I m able to detect peaks that have amplitudes greater than 15, but I dont kn ow how to delete only these peaks.
Attached is the waveform, with a single peak with high amplitude which I want to delete.
 
Any help would be appreciated.
Thank you.
 
Regards.
0 Kudos
Message 1 of 2
(2,059 Views)
Hi Prakruthi,

please have a look at this forum thread:

http://forums.ni.com/ni/board/message?board.id=170&message.id=69416&requireLogin=False

It contains a complete VI for deleting peaks. You only have to insert one more condition to deal with the "only peaks with difference > 15" requirement.

Regards,

Johannes Bauer
0 Kudos
Message 2 of 2
(2,019 Views)