Having trouble getting RPM from prox sensor

I've been trying to use a proximity sensor to find the RPM on a dyno, but am having some trouble with the LV coding (I'm new to LV).  Using a cRIO 9012 with NI 9205 module.  The prox sensor basically gives about an 8V signal when a tooth on a gear passes in front of it (theres 15 teeth).  While I can get the counter part going, I can't get anything after that part in the code to work, in order to find the RPM.  I think one problem might be with timing, where the prox sensor will be going at about 500 Hz, so I'm not sure if thats giving the differential function problems?  Is a timing loop even the right thing to use?  Eventually I'd like this to run standalone on the cRIO and write to a USB stick but I know how to do that part.  If anyone could help me solve this or let me know a better way to find the RPMs it would be much appreciated.  I've tried everything I can think of, I couldn't get functions that find the frequency or period to work when I made the signal into a waveform (square wave) even though I thought that would be the simplest method.  Thanks! 

c ryan, 
You should take a look at the LabVIEW examples specific to cRIOs (LabVIEW Help > Find Examples > Hardware Input and Output > CompactRIO)? Under the Basic IO folder, there are a few good examples for reading analog input, and there is even an example in the Module Specific folder designed for a 9205. For that latter example, you would need to change your chassis to be the 9111 (add a new chassis, and move the module under that chassis).
After you have the signal, you can just count the number of time the signal is greater than 7V (or some threshold that will be sure to catch the 'highs' indicative of a tooth passing the sensor). Every time this count is a multiple of 15 (15 teeth per revolution), you could log the time. This would give you an effective RPM.
~kgarrett
Applications Engineer
National Instruments

Similar Messages

  • I'm having trouble getting music from itunes on computer to my iphone?

    I'm having trouble getting music from itunes on my computer library to my iphone can someone please tell me what i'm  doing wrong?

    Hi ckwools,
    Welcome to the Support Communities!
    What is the specific issue?  Are you getting an error message? The article below will provide some general information on syncing with iTunes:
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/ph12313
    Cheers,
    - Judy

  • I am having trouble getting mail from the server that my new iMac is connected to. I have to reboot the system to get Outlook for Mac to access the system. Any ideas?

    I am having trouble getting mail from the shaw server that my new iMac is connected to. I have to reboot the system to get Outlook for Mac to access the system and obtain new messages. Any ideas? Its at the point where I have started using the PC again as its less trouble.......

    In Firefox 3.6.4 and later the default connection settings have been changed to "Use the system proxy settings".<br />
    See "Firefox connection settings" in [[Server not found]]
    You can find the connection settings in "Tools > Options > Advanced : Network : Connection"<br />
    If you do not need to use a proxy to connect to internet then select No Proxy

  • Help?! I use multiple Apple ID's to download purchases to my phone and am having trouble getting purchases from them all?!

    Hi, 
    This situation has been causing me much stress and frustration for about a week now and I really hope I can get help here. 
    I got my first iPhone 5 this past June and synced purchases from my mom's computer to my phone and was able to use my own Apple ID to purchase music to my phone just fine. Everything was fine with having purchases from my Apple ID and from my mom's Apple ID on my phone until I recently got my new HP 2000 laptop with Windows 8 and set up an iTunes library under my own Apple ID. Before setting up iTunes on my computer, I cleared out my music library (containing songs purchased from my Apple ID and my mom's) due to an issue with my playlists. I re-synced my phone with my music on my computer and ran into a problem: I had to delete apps and tones bought with my mom's Apple ID. Not caring or thinking I let it delete the few apps and tones I synced from my mom's library. I got all my songs back on my phone and fixed the playlist issue. Everything was good, but I have songs and other purchases on my mom's account that I want on my phone. I read that I can't sync with two libraries though, which is a bummer. So, I decided to just sign in to her account on my phone and re-download purchases right from there. Well, when I tried I got a warning that stated, "this device is already associated with another Apple ID" and it tells me if I want to transfer purchases from her account, I'll have to wait 90 days if I want to re-download purchases from other Apple ID's? What does that mean? Is there away around all this so I can get purchases from other accounts on my phone without running into that warning? Will I be able to get the purchases to my phone at all? 
    I apologize if this is confusing, I'd be more than happy to provide any further clarification to those willing to help me. All replies are very much appreciated. Thank you to those who can help in advance!

    Have you tried signing out and then back in?

  • I am having trouble getting audio from a DVD.

    Initially when I insert the DVD i get audio playing.  Then, I pair my bluetooth headphones, they say they are connected but I get no audio from the laptop speakers or from my headphones.  I disconnect the headphones and still get no audio from the laptop.  I have ejected the DVD and tried to start over and still have no audio.  I would like to have audio from my bluetooth headphones because this is a workout DVD.  Oh, I can get audio from itunes when my headphones are connected.
    Thanks in advance!

    There are differences among MacBook models in that most cannot use audio over HDMI, and according to at least one answered reply here in ASC discussions, you'd need another cable or adapter for audio if you don't have a 2010 MacBook...
    Here's a similar discussion with ideas, from a few years ago:
    •I'm trying to hook my MacBook to my TV:
    https://discussions.apple.com/message/16089168#16089168
    You could check some of the similar discussion links to the right
    of your posted question (this column) to see if other ideas are
    offered; but this one seems to cover a general circumstance &
    it may be workable if you get the correct parts.
    Good luck & happy computing!

  • TS3899 Having trouble getting email from my blue yonder account.

    ipad says searching for mail and then times out with error message, "server not working check settings". have checked settings and deleted account and re installed but still having trouble.
    Also tried power on off.
    Can send mail ok.
    Any help would be appreciated.
    Thanks

    you should check the stmp setitngs up against the settings in aols online guide

  • Having trouble "getting" video from a DVD.

    When trying to "get" video from a DVD I have recorded using a Magnavox DVD recorder, Premier Elements 4 will only import a portion of the video. The entire recorded video is viewable if I watch the DVD on a player so I know it is all there. This is only happening with video recorded on this one particular recorder. It is also only happening with Premier Elements 4. We also use Final Cut Pro and it works fine with DVD's from this recorder.
    If anyone has any answers please let me know.
    Thanks!!!!

    VCR/DVD burners can produce some mixed quality video files, Richard, particularly if they're recorded to a low quality disc (like Memorex).
    The wisest move would be to convert those DVD files to DV-AVIs using a program like MPEG Streamclip or VirtualDubMOD (both free), per the FAQs at the top of this forum.
    http://www.adobeforums.com/webx/.3bc4800e
    DV-AVIs are the ideal format for editing on a PC.

  • Having Trouble getting data from iphone 4 to itunes so I can ultimately transfer to 4s.

    Original itunes machine is dead, so I deauthorized all machines and authorized current machine and couldn't sync items from phone to machine. Apple then told me to uninstall itunes and reinstall, have done so but still can't get it to sync all items from phone to itunes library. (It only synced purchased songs, none of the apps)  I want all the data on my phone to go to my computer, not what is on computer but can't get there. Any suggestions?

    Media sync (music videos, etc.) is 1 way. Computer to iPhone. Items purchased on the phone can be transferred using File>Transfer Purchases in iTunes. If you have music on the phone that was synced to it from another computer but not purchased from iTunes, you will either have to use the backup of your old computer to get it on the new one, as suggested above, or invest in 3rd party software to extract it from the phone.

  • Having trouble getting my bluetooth from iPhone 5 to connect with PolarH7 Heart Sensor.

    Having trouble getting my bluetooth from iPhone 5 to connect with PolarH7 Heart Sensor. when in settings Bluetooth is on but not reading devide ( it satyas at Now Discoverable) .

    bradbev,
    Welcome to the community! Thanks to everyone for the help. I do agree that adding and removing the Yahoo! e-mail account is the best first step to get this resolved. Below I have the steps to remove and re-add the account.
    Remove a Personal Email Account
    Add a Personal Email Account
    Thank you!
    AdamE_VZW
    Follow Us on Twitter @VZWSupport

  • Since downloading iOS 7, I have been having trouble purchasing music from iTunes Store. When ever I try to make a purchase I always get the message "Your account    is not valid in the US  store"

    Since downloading iOS 7, I have been having trouble purchasing music from iTunes Store. When ever I try to make a purchase I always get the message "Your account    is not valid in the US  store" As I am new at this I don't know what I can do to remove this problem.

    What country are you in ? If you aren't in the US and the address on your account isn't in the US then try going to the bottom of the Featured tab in the App Store app on your iPad and tap on your account id, tap on 'View Apple ID' on the popup and log into your account, and then select the Country/Region section and select your country.

  • I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadshee​t. Any ideas?

    I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadsheet. Any ideas? Right now my data will collect one reading instead of continuously reading my IMU which displays data in a continuous stream.
    Thanks
    Attachments:
    Read_IMU_Drew.vi ‏21 KB

    Hi
    Your vi is in 2009 version, which i am unable to open in 8.6
    However, if you want your data to be saved in excel sheet, here is the VI
    Somil Gautam
    Think Weird
    Attachments:
    save to excel.vi ‏12 KB

  • HT4009 having trouble getting purchases for candy crush from the iTunes Store, any suggestions ?

    I am having trouble getting purchases for candy crush from the iTunes Store, any suggestions ?

    The problems being ? Does the 'buy' button not work, do you get any error messages ... ?
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (on these forums we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • I am having trouble getting my photos from my iPhone to my PC.

    I am having trouble getting my photos from my iPhone to my PC. My iPhone no longer shows up in my Windows Explorer, and I can't get them from iTunes or iCloud either. The Photo Stream folder is empty. Any help is much appreciated.

    Thanks Razmee. Actually the phone is synching, but only apps and music. There's no way I can find to get my photos through iTunes. When I go to the photos option in iTunes, I can only synch the photos from my computer to the iPhone and not vice versa (which I don't understand why it would ever be necessary to move photos from the computer to the phone, but oh well). I use to get my photos by accessing the phone itself from Windows Explorer, but now the phone won't appear in Explorer for some reason. I also tried connecting from the Photo Stream folder on my PC, but it was still empty even after it seemingly connected. I just want to move my photos to my PC without having to email each one individually.

  • I'm having trouble getting my photos centered for printing from iphoto to lexmark pinnacle pro 901 printer.  How am I able to do that?  Thanks.  Sheila

    I'm having trouble centering photos from iphoto to Lexmark Pinnacle Pro 901 series printer.  How might I accomplish that? 
    Thanks,
    Sheila

    even when the hard drive is compatable with my MacBook Air.
    What is the file system on that drive? Is it formatted MacOS Extended (Journaled)?
    And what is your iPhoto version? iPhoto 9.5.1?
    Some how I have trouble trying to drag my photos to my drive and it is not letting me to do so
    What exactly happens when you try to drag photos to your drive? Are you dragging from iPhoto's window to the drive?
    Can you export your photos, when you select the photos on iPhoto and use the command "File > Export"?

  • I am having trouble getting sound on video clips I have imported into Premiere Elements 10.

    I am having trouble getting sound when importing video clips into Premiere Elements 10.  Is someone able to offer me a solution as I have no idea what I have done to cause this to happen. 
    The clip has sound when opened with windows media player.
    Thank you

    Hi Steve,
    After reading everybody’s responses I am feeling a little out of my depth.  Being new to this I am having difficulty in understanding a lot of the information given to me and also in the information you require from me.  It appears that one thing I should never do is mix film from two different cameras.  I would really like to fix this one particular clip though as it holds an interview that was taken when leaving Coober Pedy and something that I don’t want to lose.
    I have today done some research on the camera that took the offending video clip.   It was a Samsung S85 and according to the Samsung website it uses MJPEG video format.
    Here are the specifications as per the Samsung website.
    Camera Type
    Ultra-Compact Point-and-shoot Digital Camera
    Image Quality
    Image Sensor
    1/2.5" 8.3 Megapixel CCD
    Effective Resolution
    8.2 million pixels
    Color Depth
    24-Bit RGB
    Color Modes
    Normal, B/W, Sepia, Negative, Red, Green, Blue, Custom Color
    Image File Formats
    JPEG (Super Fine, Fine, Normal)
    Recorded Resolution
    8M (3264 x 2448)
    7M (3264 x 2176) - 3:2
    6M (3264 x 1824) - Wide
    5M (2592 x 1944)
    3M (2048 x 1536)
    1M (1024 x 768)
    Video Recording
    AVI Motion JPEG with Audio
    640 x 480 @ 30 or 15 fps
    320 x 240 @ 30 or 15 fps
    Clip length limited only by available memory
    5x optical zoom available during video record
    Audio Recording
    WAV format (monaural)
    I downloaded and installed Media Info and Morgan Multimedia MJPEG Codec V3.99.108 today.  Do I have to register it to get it to operate?  I read the documentation file that came with it hoping to find a clue as what I should do but I could not comprehend the information it contained.
    Thank you and other members who have responded to my plea for all the help you have given me.
    Judy

Maybe you are looking for

  • How can users remedy install failure for Windows Photoshop CS6 v13.0.2?

    Error code U44M1P7 is obviously a catchall for any of several possibilities. The suggestion to manually download the update is useless. It isn't available. (A bad link leads to Mac version.) As for the other possibility, many other users and I have d

  • Browsing iPhoto library (stored in the cloud) from iPhone

    Dear Apple community geeks, Can you please suggest the best solution for the below: I have my iPhoto library stored in the cloud (CrashPlan) and a personal NAS (Synology). I'd like to view pictures of this library from my iPhone without losing the li

  • HT4689 do i have to use mission control or can i set it to another method ?

    I don't have a sensor mouse, i am using an old mouse and don't really feel like buying a whole new mouse.  Do I have to use mission control or can I get an app to customize the computer to my personal style?

  • Cfmail with attachment

    I set up a form that emails the form results to an email address. It also has an option to attach a file. My problem is that when the email is received the attachment has been turned into a .tmp file. How can I get it to keep its original file extens

  • Raw not opening

    have canon 70D photoshop cs5/6 lightroom 5 camera not supported downloaded DNG still won't open raw files even though I have put settings right in DNG 8.2  help please!