LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Processing - Cutting spikes

The picture is the waveform I measured using the electrocardiogram sensor. The red square is the peak of the ECG R wave. It is obvious that there are very high spikes. I want to cut off the higher spikes.

 

Is there any expert who can answer this? Thank you.

 

Snipaste_2024-09-04_20-14-15.jpg

0 Kudos
Message 1 of 3
(244 Views)

@M0906961 wrote:

The picture is the waveform I measured using the electrocardiogram sensor. The red square is the peak of the ECG R wave. It is obvious that there are very high spikes. I want to cut off the higher spikes.

 

Is there any expert who can answer this? Thank you.

 

Snipaste_2024-09-04_20-14-15.jpg


If you want a quick and dirty solution you can use the "In range and coerce" vi: 

Screenshot 2024-09-04 at 7.39.33 AM.png

You can also make an algorithm that removes peaks or possibly design a filter. 

 

PS: I can't find the online help documentation for LabVIEW VIs any more, where did NI put it now? 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 2 of 3
(230 Views)

The first question to answer is why there are these spikes. Should there be spikes in these places, just with a lower amplitude? We cannot tell from the interpolated lines how these spikes look like. Are they single points or are there multiple points above the threshold? Could the be cause by processing issues?

 

If this data is real, maybe you could just set the y-axis to logarithmic scaling, for example.

 

As a first step, attach some raw data and explain exactly how you are reading it. We cannot debug these problem from a low resolution picture.

 

Just coercing spikes to a lower range is irreversible data manipulation that does not address the potential underlying issues.

Message 3 of 3
(202 Views)