How do you determine the distance between the QRS interval, as well as the time over that distance, in order to calculate a heart rate

Hi!
I have a continuous sample data acquistion VI created.  I collected an ECG signal from electrodes connected to an ELVIS unit.  Once I viewed my signal, I am curious to determine the heart rate.  I need to know how I can find the R-R interval, as well as the time over than span, so I can roughly determine the heart rate, continuously.  Each time a new ECG wave occurs, the heart rate should be modified automatically.  Some algorithm is required. 
Thanks!

Hello bmeecg,
Welcome to the NI forums!  If I understand your question correctly, you wish to calculate the instantaneous heart rate from your ECG (the inverse of your R-R interval).  I would recommend using the Peak Detection vi (Functions Palette»Signal Processing»Signal Operation) to determine the location of the R wave (since it is the largest magnitude, you could set a threshold above your P and T waves so that it only picks up the R wave).  The calculation for time is in the detailed help for the Peak Detection vi (Ctrl+H»Hover over the VI»Detailed Help).
I also found this forum which has a VI that reads an ECG and then does a lot of analysis. Maybe this would help you out as well.
And just FYI, the Counter/Timer forum is oriented toward our counter/timer boards (e.g. the PCI-6602),  the Multifunction DAQ forum probably would have more of the type of people that could help with this issue.
However, please post back here if you have more questions about this.
Neal M.Applications Engineering       National Instruments        www.ni.com/support

Similar Messages

  • How do you determine the time stamp or pointer in an Event?

    Perhaps I want to tell someone to check the specific point in an event, like 22:08 into the event or from marker 1234 to 5678.  What markers does iMovie use?
    Maybe I have 20 favorite clips in an Event and I want to reference a specific one. 
    When playing back a YouTube video I can say, Go to the 2:38 mark.   With an event, what time stamp can I reference?

    Event clips have a time code based on the time of day you shot the clip. Clips are listed in the event in chronological order. So you you want to point somebody to the action that tool place on March 23 at 10:03:45, you can.
    Click VIEW/Playhead Info. Now as you skim your mouse over the event clips, you will see the date and time info.
    This works on clips shot by a digital camera. If you have clips shot by older analog cameras like VHS or 8MM, you need to take some additional steps. Let me know if you need this.

  • How do you determine the optimal size for Mozilla Firefox?

    How do you determine the optimal size for cache in Mozilla
    Firefox? I am using Firefox 7.0.1 on a 64-bit Windows 7 Ultimate operating system with 3GB RAM and 300 GB hard drive, but I have other computers running Windows XP. If the answer doesn't apply to all current versions of Firefox on all supported Windows operating systems, please explain the differences. Is there a formula for calculating the best cache size?

    I found that the best idea is to let Firefox decide that itself.

  • How do you determine the firmware version for a laptop docking station?

    How do you determine the firmware version of a HP docking station?
    Laptop Model: HP 2740p
    OS: 64bit Windows 7
    Expansion Base: 2740 Ultra Slim Expansion Base WA995AA#ABA
    Thank you for any assistance.
    Alvin

    atenpo wrote:
    How do you determine the firmware version of a HP docking station?
    Laptop Model: HP 2740p
    OS: 64bit Windows 7
    Expansion Base: 2740 Ultra Slim Expansion Base WA995AA#ABA
    Thank you for any assistance.
    Alvin
    WA995AA#ABA shows to be a hard drive, not a docking station

  • How do you determine the picture that is shown on iTunes for your podcast?

    How do you determine the picture that is shown on iTunes for your podcast? Is that done in iWeb or Garagetunes?

    That is a supported format,
    Pull the battery while the device is ON, replace after a minute, Let the device reboot 1-3 min,
    see if the problem is fixed,
    If not we may have to reload the device OS to get back the missing option.
    Thanks,
    If you need more info please ask!  If not please resolve the thread using the options by the Kudos’ star, Just place the check in the Post that answered your question, Thanks
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • How do you Determine the Largest Size/Fastest Speed Hard Drive

    In general, how do you determine the maximum hard drive size/speed you can upgrade to?

    As long as the drive your are considering physically fits as already stated there is no maximum size you can install. Please complete your profile so we know what machine you have.
    If your machine is covered by a warranty or AppleCare I would recommend against installing another HD as this may invalidate the warranty. I would recommend in that case using a Firewire 800 external HD instead.
    Regards,
    Roger

  • HT201209 How do you determine the funds left on an itunes card?

    How do you determine the funds left on an itunes card?

    If it hasn't been redeemed, the value is the face value.
    If it was redeemed, the value on the card is zero. 
    When you redeem an iTunes gift card, the full value is immediately transferred as a credit to the account you are using when you do the redemption.  After that point, the card is worthless.

  • How can I determine the time zone the computer it set to?

    How can I determine the time zone the computer it set to?
    I am using Lab View 5.1.1

    Hi,
    in the G-tools (http://www.geocities.com/gzou999/index.html ) you find two
    time functions, "Get local time" and "get sys time". The difference between
    them is the time zone.
    Niko

  • With IOS 7.0 How do you change the Color Red, that shows up on the Calendar to another color? People with certain eye problems cannot tolerate the color Red.

    How do you change the Color Red, that shows up on various points of the Calendar to another color? Persons with certain eye problems have visual irritations that can be caused by the color Red. This problem came up with the update to IOS 7.0.

    Sorry but you cant

  • How do you change the time of day presets in ical?

    How do you change the time of day presets in ical?  I would like them to be only 1 hour difference, with the preset start times of 10:00 am and end time of 6:00 pm, if I have anything starting after 4:00 pm it also changes the date to the next day.  Incredibly annoying!

    Hi there jenni6,
    It looks like this is possible in the Calender prefernces. Take a look at the article below for more infromation.
    Calendar (Mavericks): General preferences
    http://support.apple.com/kb/PH14994
    -Griff W.

  • How do you set the time for this forum??? Not in nerd pleas

    how do you set the time for this forum?

    There were problems with the correct time display for postings, and based on another recent post this doesn't seem to have been fixed. My advice... don't worry about it.

  • How do you change the email address that was used to set up your ipod?

    How do you change the email address that was used to set up your ipod?

    Jus what do you want to accomplish? The Apple ID email address is used for variosu thing onthe iPod like:
    - For purchasing media. Srrings.iTunes and App stores. Sing out and sign into anoterh account
    - Settings>iCLoudl for iCloud account
    - Settings>FaceRome for Apple ID and where You can Be Reached At email address
    - Settings>Messages for Send And Receive email address.
    - Maybe for Game Center

  • How can I change the time shown that the picture was taken on the edit panel - it is an hour slow

    How can I change the time shown that the picture was taken on the edit panel - it is an hour slow

    Thanks!  I can't believe I missed that!

  • Mailexample.sql how do you determine the file type?

    I'm using the mailexample.sql which explains how to use the demo_mail wrapper package for utl_smtp. There's a procedure for attaching text files and a procedure for attaching binary files. I've got binary files to attach to email successfully.
    How can I determine the file type so that I can use the attach_text procedure when attaching text files rather than the procedure for attaching binary files?
    Sandy

    Watch out! I think there is a bug in that code :-
    bug with PL/SQL Sample - maildemo.sql
    To answer your question - the usual way of determining a file type is to look for 'magic numbers' in the file that indicate its type. For example, Windows exe files often (always?) begin with the two letters 'MZ'. Zip files begin with 'PK'; Rar archives begin with 'Rar!'. Text files can begin with anything, and do not have any characteristic marker, but USASCII7 (which is what the format that routine is designed for - I think), is a characterset that only uses the first 7 bits of the byte. You could read the file, and if you find any bytes > 127, then you know it is not a USASCII7 file. I have seen various programs that 'sample' the first 64 or 256 bytes of a file instead of reading the whole file, and they usually get it right.
    Hope this helps.
    Takmeister

  • How do you set the time period on IMAP email accounts (razr maxx)

    Hi Guys -
    Does anyone know how you can set the time period that the stock email will keep the already downloaded messages for IMAP email accounts?
    Mine never seems to show more than a couple of days worth at a time. I'd ideally like to be able to see at least 2 weeks worth of messages without needing to download them again!
    On other phones I've had there was a setting in the menu, but either I can't find it...or it's not there. I've found the setting for how OFTEN it checks the accounts, but not the setting I am seeking.
    Your help is appreciated!
    Best Wishes for the Holiday Season.
    -Rich

    Hey Rich.  Once in 'settings,' there should be a "days to sync' under the 'data usage' section.   You don't have that?

Maybe you are looking for

  • Next record

    I'm using vb script. I'm making a quiz. I connect to a database for the questions and choices. I have a test page and a test processor page. On the test page I display the question and 4 choices. On the test processor page, it tallies up the score an

  • How to Save Agent Output in Local Disk in OBIEE 11g on linux

    Hi I am using OBIEE 11.1.1.6.2 I want to schedule some reports which will run everyday night and the Output to be saved in my local disk I read this article http://obiee1000.blogspot.in/2012/01/actions-in-agents-part-1.html ...but this solution is on

  • Orderby jpa aritmetic exp in order by

    hello i have aquestion i have this query in sql select R.* from REOFFER R,.PROPERTY P where P.propertyId=R.propertyId order by (R.Precio/P.areaConstruction) in mysql and run ok, but this equivalent query in jpa select distinct object(o) from Table as

  • Obsolete Shortcut Files

    I can't help but notice that every time new updates come up for not only iTunes but other Apple-based programs as well, and I download them, all the shortcuts I originally had for them break and I have to replace them with the new shortcut file. Does

  • Using external libraries

    Hello there, I am finding solution for my software's proposal. I will have got some flex libraries in my project(air application), but I would like to dynamically switch off some libraries. For example, one version of application(for example the free