From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Biomedical User Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

how to find heart rate from negative peaks?

i am working on a projet of detecting pulses using led and photodiode,i want to get the heart rate in bpm from the pulses.i got a VI from NI website.i am attaching the zip file with this.but the problem i have is,due to change in logic in my hardware i am getting negative peaks for every pulse,if there is no pulse,i am getting a constant voltage of 4 volts,if a pulse is detected i am getting output in around .1 volts.is there a chance of changing the program to suit my requirement,that is give the bpm from negative peaks?i tried changing "peaks" to "valleys" in peak detector VI,but there was no change.

0 Kudos
Message 1 of 3
(3,342 Views)

Invert the signal and add 4 to it before passing it through the peak detector.

Randall Pursley
Message 2 of 3
(2,851 Views)

thanks sir,will try that.thanks for you fast response.

0 Kudos
Message 3 of 3
(2,851 Views)