10-26-2010 10:37 PM
Hi everyone,
I'm building a heart rate monitor as a final year project with my lab partner using the NI USB-6009 and Labview 2009. We have managed to obtain a signal using a photo transciever, smooth it out and count the events, however the count is incremental.
We wish to count the number of pulses we obtain for a few seconds (5-10 for example) and then use this value to obtain a pulse rate in beats per minute (e.g. 10 pulses in the first 10 seconds would give an estimated BPM of 60 etc etc).
Does anybody have ides on how we could implement this? We have tried timed loops, elapsed time VI's and other things but nothing gives us what we need.
Thanks in advance for any help that is offered.
Jeshua Graham.
10-26-2010 10:46 PM
Use external pulse as sample clock for your counter, so that the counter will count only when pulse occurs& then u can use the real time clock for finding BPM.
If you have implemented some code, then better post it.
10-26-2010 10:56 PM
We are very new to Labview. We are taking a raw signal from our DAQ and then using VIs to filter and then trigger counts on rising edges. I have attached our vi file to this post for you to look at (I hope that is what you mean by code).
11-01-2010 12:32 PM
You may get better results by posting on our Biomedical User Group located at www.ni.com/biomedusers
11-02-2010 01:13 PM
Regardless of where you post, it might be useful to break down the task into the components you want to perform so the community can make suggestions on how to accomplish them. For example, are you curious of how to set up the sampling, change the the triggering, implement a counter, etc. Try to break down your project into smaller components. We assume you are looking for help to specific questions, so narrowing your query will probably encourage more replies.