<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to measure distance between R-R peaks in Life Science</title>
    <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/802675#M324</link>
    <description>&lt;P&gt;thanks for the link, due to short time constraints it is not possible for me to work on the hardware signal enhancement, and my task is to extract the best signal conditioning from this hardware, so I am really bound by time and trying my best to get&amp;nbsp;HRV out of this signal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have downloaded the trial version of adaptive filter toolkit..its for 30 days only..although my signal is full of noise but in some of the previous recorded signal that I have sent, I can see ECG, I know its not very clear, but I have to work with them only, as I dont have any option at the moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the attached screenshot you can see some ECG signal but my I am not sure weather I am getting the correct measurements here..your previous data mod vi works absolutely perfect with the conventional ECG, but with my signal it looks as in screenshot. I have a doubt with the&amp;nbsp;locations of Heart rate, when I change the location to 1,2,3,4,...and so on it shows different heart rates every time..so I am confused by this, can you explain me what exactly is happening here..I have to display a mean heart rate, and mean value of R-R interval at the end...how can I do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your time,&lt;/P&gt;&lt;P&gt;abi&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by infra444 on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 11-03-2008&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 09:38 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 03 Nov 2008 15:38:20 GMT</pubDate>
    <dc:creator>infra444</dc:creator>
    <dc:date>2008-11-03T15:38:20Z</dc:date>
    <item>
      <title>How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/793315#M293</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt; Hi Friends,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;I am trying to measure the distance between two R-R peaks and plot the respective frequeny spectrum from that, which is as shown in the attached picture. I could not find how to do it, kindly have a look at my vi.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;Thank you,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;Regards,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Times New Roman'"&gt;abi&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2008 14:22:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/793315#M293</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-16T14:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/795040#M300</link>
      <description>&lt;P&gt;Take a look at the attached.&amp;nbsp; I modified your existing program to read in the data and accumulate the R-R intervals and Heart Rates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also allowed the vi to remember the position of the last peak from the previous loop iteration so it can computer the data correctly. Also the program will ask for a file name and end when the EOF is reached.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2008 15:20:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/795040#M300</guid>
      <dc:creator>rpursley8</dc:creator>
      <dc:date>2008-10-20T15:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/795726#M301</link>
      <description>&lt;P&gt;Dear Mr.Pursley,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for mod vi, could you please explain me a bit about the changes you made in the mod vi.&lt;/P&gt;&lt;P&gt;Actually I am using a real time data and not from a file,&amp;nbsp;so I&amp;nbsp;tried replacing &amp;nbsp;the input file &amp;nbsp;by a Daq assistant to read the data here in this vi, but it doesnt work. Is it necessary to specify the file dialog to read the file every time. How can I get a real time data using Daq assistant in this vi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;abi&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2008 13:43:13 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/795726#M301</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-21T13:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/796588#M303</link>
      <description>I have commented and modified the previous vi to use DAQ to collect data.&amp;nbsp; Take a look at it and see if it does what you want.</description>
      <pubDate>Wed, 22 Oct 2008 14:46:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/796588#M303</guid>
      <dc:creator>rpursley8</dc:creator>
      <dc:date>2008-10-22T14:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/797094#M304</link>
      <description>&lt;P&gt;Dear Mr.Pursley ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question the vi is still asking for a file name every time I run it, but I dont want to read it frm a file, I want to read it directly from the Daq acqusition device in real time. So for this I just connected the DAQ device to notch filter as shown in the vi, but I think something is missing here. Kindly have a look at it. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it necessary to specify a file name every time, because it is just reading the data from the previous file and not the real time measurement&amp;nbsp; when I run the vi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;abi&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2008 08:49:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/797094#M304</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-23T08:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/797250#M305</link>
      <description>&lt;P&gt;Sorry about that.&amp;nbsp; I added in the file read to double check the rest of the code and forgot to take it back out.&amp;nbsp; The attached should be right.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2008 12:58:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/797250#M305</guid>
      <dc:creator>rpursley8</dc:creator>
      <dc:date>2008-10-23T12:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/797979#M306</link>
      <description>&lt;P&gt;Dear Mr.Pursley&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you once again for really helping me out, I will get back to you, if I have any questions in the future. &lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2008 08:59:29 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/797979#M306</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-24T08:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/798807#M307</link>
      <description>&lt;P&gt;Dear Mr.Pursley,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my program the vi is acquring data for 5 seconds only and then it stops, and all the varying parameters such as heart rate and R-R intervals stop after 5 seconds, and it remains the same, I mean it does not vary or continue further with time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say for suppose I need to check the data for 2-3 minutes continously´, the heart rate and the intervals also should change along with time, but thats not happening here, it just reads the data for first 5 seconds and the values remain constant, irrespective of how long you run the vi. I want to make this vi continously running with changing parameters. Kindly advise what I need to do in order to display this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;abi&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 09:44:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/798807#M307</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-27T09:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799128#M308</link>
      <description>&lt;P&gt;The program I attached in an earlier message works fine for me.&amp;nbsp; Make sure the Stop button hasn't been pressed before the program has even started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2008 16:55:45 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799128#M308</guid>
      <dc:creator>rpursley8</dc:creator>
      <dc:date>2008-10-27T16:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799491#M309</link>
      <description>&lt;TABLE border="0" class="msg_table"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="msg_text_cell"&gt;&lt;P&gt;&lt;STRONG&gt;Dear Mr.Pursley,&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked it again with your mod vi it scans for the first 5 seconds and displays heart rates and R-R intervals, and this remains constant from then, only the locations are changing with time and not the respective Intervals and heart rate.&lt;/P&gt;Is this normal, I am little confused here wheather its working correctly or not.&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by infra444 on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 10-28-2008&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 04:05 AM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Oct 2008 09:05:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799491#M309</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-28T09:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799505#M310</link>
      <description>&lt;P&gt;Kindly check the vi with these recorded signals wheather the vi is working properly, these are the recorded signals from my DAQ device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;abi&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 09:31:48 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799505#M310</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-28T09:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799661#M311</link>
      <description>&lt;P&gt;I looked at your files and I do not see much in the way of ECG.&amp;nbsp; The signals are dominated by what I will assume to be a respiration signal.&amp;nbsp; The ECG is there, but of such small amplitude that your filtering cannot be selective enough to separate it from the respiration signal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is the best signal for ECG that you can acquire, then you will have to figure out a new approach. &lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 14:18:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799661#M311</guid>
      <dc:creator>rpursley8</dc:creator>
      <dc:date>2008-10-28T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799668#M312</link>
      <description>&lt;P&gt;thanks you for your reply, ya this is the best signal I could get from Daq acqusition, in fact I have sent you only the better ones, so what method can I use with such a signal, as I am dealing with these signals only and the other conventional ECG I sent before was just used to compare both the ECG's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ya your right here respiration signals are overlapping with ECG, so is there any way to deal in such a situation.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2008 14:26:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799668#M312</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-28T14:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799712#M313</link>
      <description>How are you measuring the ECG?&amp;nbsp; Is this signal acquired using regular contact electrodes/gel and a ECG amplifier connected to a DAQ board?</description>
      <pubDate>Tue, 28 Oct 2008 15:13:50 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799712#M313</guid>
      <dc:creator>Steve.J</dc:creator>
      <dc:date>2008-10-28T15:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799716#M314</link>
      <description>no this is contactless capacitively coupled ECG, plate electrodes are attached to car seat at the lower back and then the signal is extracted with a ECG amplifier, and a driven circuit which is then fed on to a DAQ acqusition device. This is completely contactless, not attached on to the body using any gel or so.</description>
      <pubDate>Tue, 28 Oct 2008 15:21:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799716#M314</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-28T15:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799734#M315</link>
      <description>OK - that explains the waveform...</description>
      <pubDate>Tue, 28 Oct 2008 15:40:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799734#M315</guid>
      <dc:creator>Steve.J</dc:creator>
      <dc:date>2008-10-28T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799777#M316</link>
      <description>You should look into LMS adaptive filtering.&amp;nbsp; This should be able to filter out the respiration signal.</description>
      <pubDate>Tue, 28 Oct 2008 16:28:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799777#M316</guid>
      <dc:creator>rpursley8</dc:creator>
      <dc:date>2008-10-28T16:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799804#M317</link>
      <description>Take a look at the attached.&amp;nbsp; I have added a simple adaptive filter that effectively filters out the respiration.&amp;nbsp; The ECG signal is still pretty poor, but easier to see.</description>
      <pubDate>Tue, 28 Oct 2008 16:55:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/799804#M317</guid>
      <dc:creator>rpursley8</dc:creator>
      <dc:date>2008-10-28T16:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/800186#M318</link>
      <description>thank you for mod vi, I am not very well conversed with adaptive filter toolkit, can you expalin a bit about it and also is it not possible to measure the heart rate and R-R intervals with this adaptive filter concept.</description>
      <pubDate>Wed, 29 Oct 2008 09:11:39 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/800186#M318</guid>
      <dc:creator>infra444</dc:creator>
      <dc:date>2008-10-29T09:11:39Z</dc:date>
    </item>
    <item>
      <title>回复： How to measure distance between R-R peaks</title>
      <link>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/801004#M319</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a try of you signal of "R10-R10_closed cover_Bhavin1_1.lvm".&amp;nbsp;ECG signal is very weak. However, choosing a suitable filter will help improve the SNR. Then using peak detection technique to find the heartbeats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/e53258e34ee35bfeb215924088fc77717ab24e19/687474703a2f2f696d673531382e696d616765736861636b2e75732f696d673531382f333136392f746573746773352e676966" border="0" alt="test" title="test" width="784" height="627" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During the peak detection ,the threshold should be adaptive as the ECG signals are so weak and changing. Here I only set to a fixed threshold 0.02. For adaptive threshold in ECG QRS detection, you could refer to the paper (although it is very old :))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt; color: black; font-family: 'Times New Roman'; language: en-US"&gt;J. Pan and W.J. Tompkins, “A real-time QRS detection algorithm,” &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt; color: black; font-style: italic; font-family: 'Times New Roman'; language: en-US"&gt;IEEE Trans. Biomed. Eng., &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-size: 12pt; color: black; font-family: 'Times New Roman'; language: nl"&gt;vol. 32, pp. 230-236, 1985. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2008 07:32:23 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Life-Science/How-to-measure-distance-between-R-R-peaks/m-p/801004#M319</guid>
      <dc:creator>ZJ.Gu</dc:creator>
      <dc:date>2008-10-30T07:32:23Z</dc:date>
    </item>
  </channel>
</rss>

