How do I count and display events every few seconds and then convert the counted values into events per minute? (for a heart rate monitor)

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.

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).
Attachments:
TCRT-1010DAQ_jeshua1.vi ‏367 KB

Similar Messages

  • Firefox takes time loading and keeps stopping every few seconds, but only in the last week

    I have had updates for Windows and wonder if there is a clash between the two. I also seem to be getting more errors thn I ever had. I have tried uninstalling FF and reinstalling it and the results are still the same. It is damm annoying to have had such a great website that just seems to have malfunctioned overnight 25 April seems to have been the date, anything changed at your end

    hey try a smc reset
    EDIT (smc reset
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.)
    if that doesnt help look at replacing the batteries in your magic mouse and try it then
    if the issue still presists take it into a apple store and they can test it there to see whats up

  • Droid ultra wont turn on  blk screen and phone vibrates every few seconds

    droid ultra wont turn on  blk screen and phone vibrates every few seconds

        Hello es1040,
    The Droid Ultra is an awesome device with a wide range of features to enjoy. We're excited to partner with you and get your phone on so you can enjoy said features. Is there any physical or liquid damage on the device? Also, is the device charged? I would suggest doing a reset to get the phone back to normal. Here's a link on how to do so.
    http://www.verizonwireless.com/support/devices/knowledge_base.html/83029/
    Thank you...
    ArnettH_VZW
    Follow us on Twitter @VZWSupport

  • Firefox is locking up VERY frequently after every few seconds unless I minimize the window and maximize it again. But then in a few seconds it locks up again, unable to click anything or DO anything

    Firefox is locking up VERY frequently after every few seconds unless I minimize the window and maximize it again. But then in a few seconds it locks up again, I am unable to click anything or DO anything and it is becoming extremely annoying! Ya'll just released a new version that I'd hoped would have fixed this issue, apparently not...and I also can't select an option in a drop down box, I have to use my keyboard to do so...
    == This happened ==
    Every time Firefox opened

    Yeah I'm seeing this as well. A force quit and relaunch seems to solve the problem for a while.
    IMHO the app has just gone downhill in the last few years. Useful tools like browser history from the back button are hidden / rendered useless (click and hold doesn't work so well from a track pad), and it's performance just isn't what it used to be.

  • After changing my e-mail address, two iCloud accounts were created, my iphone is unusable due to password requests every few seconds and my account has been blocked. What can I do?

    After changing my e-mail address, two iCloud accounts were created, my iphone is unusable due to password requests every few seconds and my iCloud account has been blocked. What can I do?

    So, you are saying that you set up a brand new Apple ID and then signed into iCloud with it, correct?
    Are you also saying both accounts are disabled for Security reasons? If not, why can't you sign on with the one that is not disabled?
    GB

  • When I play either music or movies on my ipod touch it stops every few seconds and I have to restart the song/film.  AT the same time, it won't hold a volume contol.  It jumps louder or softer, or simply jams on either very low or maximum volume.  Help

    When I play either music or movies on my ipod touch it stops every few seconds and I have to restart the song/film.  Also, it won't hold a volume contol.  It jumps louder or softer, or simply jams on either very low or maximum volume.  Help?

    No one here is going to do anything about it. Send feedback to Apple.
    http://www.apple.com/feedback/ipad.html
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • Generate a event every X seconds and reseting a counter

    Hi!
    I'm quite newby in programming in Labview and I need your help.
    I've programmed a counter that is send to a MySQL database every time I click a button. Now I want to change this click event to an event ocuring every X seconds and that every time this event occurs it resets the counter. How can I do that?
    I think it's not a difficult question for someone used to programming Labview but I can't find an accurate solution.
    Thanks a lot.
    Solved!
    Go to Solution.

    Something like this?
    Jean-Marc
    Jean-Marc
    LV2009 and LV2013
    Free PDF Report with iTextSharp
    Attachments:
    Automatic event LV86.vi ‏26 KB

  • Why is my 24-inch LED display flashing black (and sometimes scrambles) every few seconds?

    I have recently upgraded to a new iMac: 3.4 GHz Intel Core i7. 4 GB 1333 MHz DDr3. AMD Radeon HD 6970M. 1024 MB. Mac OS X Lion 10.7.4. I have it attached to a 24-inch Cinema Display.
    Before I switched to my new iMac, it would blink black a couple of times a day. This was going on for a LONG time, but was not a big deal. However, now that I have switched to the new iMac, it is every few seconds. And it has now added the "scrambled" screen to it's repertoire. Fun. And, as I am typing this...it just went black and has not come back on.
    I've read a few threads on this happening, but haven't found any substantial evidence as to what is causing this. It's beyond annoying. Has anyone learned anything new?

    Okay. Murphy's Law. As soon as I posted this, I found an answer (hopefully!). My situation fit the criteria at http://support.apple.com/kb/TS4045?viewlocale=en_US and I installed the update and so far, so good. I'll keep you posted.

  • Windows Explorer was crashing/restarting every few seconds and after trying several different methods of fixes, the only one that worked was removing Firefox, is there something I've missed that I can get Firefox back?

    I'm running a Toshiba Satellite laptop that was originally running Windows Vista 32-bit, but was upgraded by me to Windows 7 32-bit. On Windows Vista, all I would run was Firefox. I loved it!!! On Windows 7, I've noticed that Firefox kept hanging whenever I would try to download a file...from anywhere. I got so frustrated I went to try several different browsers. They all worked extremely quickly, whereas Firefox was working so slow, I could click on a link to a page, go get some lunch, come back and it still be trying to load the page. This was drastically unusual for Firefox. I used the other browsers and everything was fine for a week and then Windows Explorer started going down every few seconds. I went to the windows 7 forums and started looking. There were several suggestions on how to fix the problem, none of which worked for my compy. I tried restarting the compy in safe mode. That didn't help. I turned off every startup program except for the essentials and that DID work in keeping Windows Explorer from restarting. I then dove into the tedious task of trying to discern which 3rd party program was the offender. I removed everything from my compy that had been downloaded in the last ten days (well before the windows explorer issue, but not before the firefox issue). That didn't work either. I tried replacing an explorer file, which didn't work either. There were several other things I tried, as well, but nothing worked. Then, I saw a post that Firefox had caused the problem for one person. I went in and did as was suggested and completely removed Firefox and all associated files. Unfortunately, this worked. I haven't had any more trouble with windows explorer restarting. My big problem is, however, I can't run Firefox!!! And I LOVE Firefox!!! It's spoiled me! I hate Internet explorer, which is what I'm forced to run now. I've tried Safari and Google Chrome and don't like either one of those, either. I want my Firefox back! But if it's not working 100% it's less frustrating to be forced to live with the Internet Explorer. I'm going insane, here! Does anyone have any suggestions? I tried clearing out browser history, changing download files and a couple of other things and nothing worked with the Firefox to get it going better before I started having the Windows Explorer difficulty and had to completely erase the Firefox program. If I've missed any info, please don't hesitate to ask!! I'm happy to supply whatever I know about the issue!!

    uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
    ... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
    so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert

  • T500 wireless connects and disconnect​s every few seconds

    The machine has the Intel 5100 adapter in it, and runs W7 x64. There are numerous other devices using wireless in the same house, including two T61ps, which do not have this problem.
    The T500 is using the latest Access Connections for W7, and the latest Intel drivers (the machine is 10 days old, and is fully updated using Lenovo System Update and Windows Update. Not much 3rd party software yet due to this and another problem with the T500.)
    Every few seconds, the wireless will disconnect, then reconnect immediately. I have tried turning off power management for the wireless adapter, including telling Windows not to power it off for power savings. This occurs running on AC power, haven't tried on battery. (This is irritating enough as it is, but it makes W7's Windows Explorer keep moving things up and down in the display as the network items disappear and reappear.)

    Hi Graham,
    Try increasing the roaming of your wireless card from aggressive to low and power output to maximum in the power management option.
    Hope it helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Mozilla was crashing every few seconds and I couldn't install the update. I removed the old to install the new and now I can't install - getting error messages that close themselves.

    When I try to install I receive this message:
    "Firefox has stopped working
    A problem caused the program to stop working correctly. Windows will clsoe the program and notify you if a solution is available."
    This happens when I select RUN to install Firefox 9.0.1
    I removed the old version because it was crashing everytime I tried to use it and it wouldn't let me update with the new.
    I HATE IE, and need my Firefox back --- I am dead in the water for work without it.

    Do a clean (re)install and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\).
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data in the profile folder.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • ITunes (v. 11.1.5.5) is slow, freezes occasionally, pauses songs every few seconds, and just generally stinks. What should I do?

    Ever since I updated iTunes to 11.1.5.5, it has become a mess. It's slow to start. Once it finally gets going and allows me to click something, it usually freezes up for a short time. This happens especially if I click the search box in my library. If I manage to get a song playing, it will skip constantly. After about 5 songs of doing this, it will usually correct itself and play right. If I try to go to the iTunes Store, it might take 5 minutes to come up. Altogether the entire program is just slow and unresponsive most of the time. If I buy an album and try to download it, it'll only let a few songs download and the others will have errors. I've had iTunes since the original version and I've never had this many issues with it.
    Here's what I'm working with:
    -HP Pavillion m7 Notebook PC
    -Windows 7 Home Premium
    -Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
    -8GB of installed memory (RAM) 7.90Gb usable
    -64 bit operating system
    *I'll be happy to provide any more information
    I only use this computer for music and I have about 40GB worth. Could I have too much music? Is anyone else having these types of problems with this version?

    Ever since I updated iTunes to 11.1.5.5, it has become a mess. It's slow to start. Once it finally gets going and allows me to click something, it usually freezes up for a short time. This happens especially if I click the search box in my library. If I manage to get a song playing, it will skip constantly. After about 5 songs of doing this, it will usually correct itself and play right. If I try to go to the iTunes Store, it might take 5 minutes to come up. Altogether the entire program is just slow and unresponsive most of the time. If I buy an album and try to download it, it'll only let a few songs download and the others will have errors. I've had iTunes since the original version and I've never had this many issues with it.
    Here's what I'm working with:
    -HP Pavillion m7 Notebook PC
    -Windows 7 Home Premium
    -Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
    -8GB of installed memory (RAM) 7.90Gb usable
    -64 bit operating system
    *I'll be happy to provide any more information
    I only use this computer for music and I have about 40GB worth. Could I have too much music? Is anyone else having these types of problems with this version?

  • My browser keeps pausing and giving me the color wheel every few seconds

    Whenever I'm using Firefox my browser pauses every few seconds and if I am typing something nothing comes out, or the color wheel comes out (I'm on a Mac), if I'm watching a video it pauses every few seconds... it's sort of maddening. I do have about 20 tabs open at a time, I don't know if that is what causes it. It doesn't seem to happen when I am in Safari.

    "the spinning wait cursor is displayed automatically by the window server when an application cannot handle all of the events it receives. If an application does not respond for about 2 to 4 seconds, the spinning wait cursor appears."
    read how to troubleshoot: http://www.macworld.com/article/151583/2010/05/spinningbeachballofdeath.html

  • The screen on my MacBook Pro Retina has horizontal lines and has a brightness flicker every few seconds since june 2013 upgrade of airport utility.

    The screen on my MacBook Pro Retina has horizontal lines and a flicker every few seconds this happened after  this weeks Airport Utility 6.3 upgrade.

    Hi John,
    I would take your machine into a Apple service center. Its highly likely a hardware issue. The most likely issue being the display has failed. If there is no external damage to the machines display they will replace the whole display under warranty for you.

  • How can I place markers on audio to BPM/every few seconds?

    Hey guys,
    I'm doin' music and animation, but I want to place markers every few seconds, or consistently to the bpm. It would save me a WHOLE not lot, but ton, of time.
    Thanks!

    Highlight the audio layer.  Don't use mp3 audio.  Do an audio preview with the decimal point key on the numeric keypad.  Don't use mp3 audio.  Hit the asterisk key on the numeric keypad where you want a marker.  Don't use mp3 audio.  Change the duration of audio previewing in AE preferences if necessary.  Don't use mp3 audio.
    You'll want to listen very closely several times to figure out where in the music you want those markers to go BEFORE you do it for real.  It can be a real pain to slide a boatload of layer markers off the layer if you make massive mistakes.

Maybe you are looking for

  • Creation of purchase order in MRP

    Hi All, Is it possible to create purchase order as an output of MRP? If yes, then how? regards, Mohit

  • OIM DB columns to get user events

    Hi, Can we capture the events from OIM database tables - New Joiner, Leaver, Modified User and certain fields based on these events Using BIPublisher integrated with OIM, can we consolidate above 3 events in a report and print all the users which are

  • Mission Control does not work!!!!!!!!

    Hi all, I have recently Reformatted my mac and made it into 1 partition of 500gb just to run mac os x. I did it with the discs the laptop came with. After OSx install was complete, I ran the os x lion downloaded from the app store and installed it to

  • Macbook Week 36

    Hello, I bought a Macbook in September. I was checking its serial number and it says it is from week 36. I have read some websites talking about the random shutdowns... these sites say that macbooks up to week 38 may have that problem. After installi

  • Remote debugging - can't debug subVIs [LV 8, Win XP]

    I've successfully built one app and debugged it at a remote location. I'm trying to do the same with a different app and it won't let me debug anything but the main VI. With my first app I could open subVIs on my develpoment PC and they would be conn