01-19-2009 05:23 AM
Are you looking for a way to simulate the 50/60 Hz noise from the mains? Then you just add a signal to your simulated ecg. In this thread you will find link to a ecg simulator doing this.
http://forums.ni.com/ni/board/message?board.id=170&thread.id=378604&view=by_date_descending&page=3
01-19-2009 05:13 PM
01-22-2009 02:57 AM
Dear all,
I am quite new with Labview and am learning about the ECG Heart Rate Measurement.
After reading most of the posts and comments of yours... May i ask for your advices about my ECG LABVIEW program ( which is attached)? I was able to get a correct waveform of PQRST wave, however i have been an about to get the correct beat/min rate. While using KL-71001 Biomedical Measurement , electrodes and DAQ to get the signal from my body, the rate (beat/min) keeps changing from -ve value to +ve value within a wide range and the count does only show at 0 to 1 ...
May i ask what made the heart beat negative? Could you pleave advise me on which parts i went wrong...
Thanks for your help in advance
01-22-2009 04:06 AM
01-22-2009 09:12 AM
Thanks for the info.. May i just double -check that i fully understand you... Is that because of my Eslapse Time which is set to stop in the 60seconds interval?
Btw, since my signal is passed through KL71001 bio measurement which has included all the high -low passes, so do i need to include more filter?
Thanks for your help
01-22-2009 11:48 AM - edited 01-22-2009 11:49 AM
First of all. The code you copied from marp84 has some major flaws. It is stupid. I have cleaned up and removed most of the bad programming. I have also removed the "elapsed time.vi" You do not need it. Your timing is handled by The daq hardware. As an example if you run your program, and set the sample rate 1000, and then read 1000 samples every time you will get 1 second of data. This data will come in a continuous stream.
As mentioned before you need ca 3 to 5 seconds of data for calculating HR, But you can have a update every second. So we need some type of FIFO memory. The good thing is that we already have placed it on the block diagram. The waveform chart! But we need to set how many samples we shall store in the FIFO. Find charts and history length in help
About filters. If your unit has analog filters you can probably skip filters for now. But you can add filters later then things are working.
For getting started set the sample rate to 1 Khz and read 3-5 seconds of data every time. If I see some useful code I may help you more. But I will not answer questions asked because you are to lazy to look in labview help, or search trough examples. You may learn a lot by looking at the labview examples.
01-27-2009 10:45 PM
Thank you for your help
06-22-2009 08:57 PM
06-23-2009 09:24 AM
marp84 wrote:
how to add baseline restorations on this VIs
I'm trying to help you out here. Please keep your questions in 1 thread please.
11-19-2012 02:41 PM - edited 11-19-2012 02:43 PM
why when i opened file Project ECG Filter.vi 35 KB i see this error ?