07-09-2019 01:19 PM
I'm building an ECG Monitor and need help. What I'm trying to set up is a filter system with a band-stop to remove 60 Hz noise and a low-pass filter to remove high frequency noise (> 150). I would like to display a moving average set between 4 consecutive R waves, using peak detection.
In addition, I set up an LED alarm for high and low heart rate that turns off when the condition disappears.
Any ideas for troubleshooting this VI and getting it to run? VI is below:
07-09-2019 03:33 PM
You are treating the output of the filter as a waveform (it is a dynamic data type). Use the conversion correctly, and you should be all set, good luck.
07-09-2019 04:24 PM
Sorry, how do I find the part that does the conversion. Im having trouble finding it.
07-09-2019 04:30 PM
You'd use "Convert from Dynamic Data" and then right click, and select Single Waveform as shown below. Also attached VI with that conversion.
As a note, There are probably better ways to do what you're trying to do. I suggest using Signal Processing toolbox, and building a logic around it. Good luck!