How can i compute the time elapsed between two pulses or the period of an encoder signal if I dont have a constant rpm?

I need to compute the rpm of an engine using information from an optical encoder attached to it. the engine is running in transient mode so the encoder pulse doesnt have a constant frequency. I need to get the period betwwen two rising or falling edges using DAQmx.
Any ideas?

Using an M Series or TIO device you can measure the period between two edges (on two different signals) using the two edge separation measurement.  I'm assuming that you don't want to use position measurement because the frequency is varying so much?  If not, you may be able to set the sample clock period short enough that you get a decent average RPM measurement.
gus....

Similar Messages

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • How can i compute the distance between every two strias

    how can i compute the distance between every two strias?The distances between every two strias in an image are almost equal .I have a picture for you in the accessory.there are many trias in all kinds of orientation in an image.fistly,i should find the most consious area,because it is simple to compute . Secondly,To improve precision,i should compute the distance of a group of trias,then conpute its average value.i dont know how to compute .pls teach me,thanks very much!
    Attachments:
    11.jpg ‏12 KB

    there is a typical image.
    Attachments:
    21.jpg ‏23 KB

  • How can I put a time delay between specific events in a while loop?

    How can I put a time delay between specific events within the same while loop? I'm already using the "wait" command to control the overall loop iteration speed. But I want to time the individual events as well.

    Hi Jesse,
    You can use a flat sequence. In each box you can put your individual events and attached wait.
    Don't forget to reduce your total loop time of the time you added in the individual sequences.
    Doc-Doc
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • I have purchased Adobe Acrobat and my order number is 281998924. My previous Sony computer which used to Windows 7 crashed. I purchased a new Toshiba computer with Windows 8. How can I download the Adobe acrobat? I assume I don't have to pay for the progr

    I have purchased Adobe Acrobat and my order number is 281998924. My previous Sony computer which used to Windows 7 crashed. I purchased a new Toshiba computer with Windows 8. How can I download the Adobe acrobat? I assume I don't have to pay for the program again? Thank you for all your help! Angelo.

    If you had purchased Acrobat Standard subscription.
    You need to download the application from below website :
    www.cloud.acrobat.com
    Sign in with Adobe ID and Password and once signed in click on Acrobat tab and download the application.
    Sign in - Adobe ID

  • How can I insert a vertical line  between two underlined unfilled with text lines.  I am trying to construct an invoice and I need a break.  If I try any of the shapes or inset functions it eliminates my underlined lines and shifts the whole document.

    I am trying to construct an invoice.  How can I install a vertical line between two or more underlined lines to create a break.  I have tried the insert, shapes and nothing works.  If I try any of the functions the whole document shifts to the right and I loose some of the lines.  Is there a work around, or is I work not able to do what I want?   
    Thanks
    Armand

    It sounds as though you may have "Object Causes Wrap" activated for the Line Shape. This will push other content away.
    See the Wrap Inspector.
    Jerry

  • How can I make a server differ between two or more clients?

    How can I make a server differ between two or more clients?
    The clients can connect and talk to the server fine, but how can I make the server talk to one, two or all clients? i.e. what would be a good way to implement this?
    Currently, the server listens for connections like this:
    while (listening) {
    try {
    new ServerThread(this, serverSocket.accept()).start();
    I guess one way would be to add the ServerThreads to a Hashtable with the client ID as key, and then get the ServerThread with the proper client ID, but this seems unnecessary complicated. Any ideas?

    Complicated was perhaps the wrong word, I should have
    written something like it doesn't "feel" right. Or is
    this a common and good way to solve communication
    between a server and multiple clients?Thats pretty much how I do it. I normally use an array or ArrayList of Sockets instead of HashTable, with [0] being the first player etc.... Then you can communicate with exactly who you want. If you want to send bytes to all of them, just send the same thing to each socket individually (or is there a better way to do this?).

  • How can I define the intermittency factor of a signal?

    Hi everyone,
    I want to ask how can I determine the intermittency factor of any signal.
    The intermittency factor is a ratio of the time of high frequency distortion in the signal to the total time of the signal. So, Intermittency=time_turbulent / time_total.
    I have attached an image file and original vi with source vis to show the high distortion time in blue lines. I want to determine the total time of these distortion in the blue lines. Then I will divide this total time corresponding the high level distortions in the blue lines by the total time of the signal to calculate the intermittency.
    How can I achieve this? Could you please help me? Regards,
    Attachments:
    image.jpg ‏326 KB
    Unsteady Pipe Flow Analysis_Shortened Format.vi ‏643 KB
    subvis.zip ‏967 KB

    mechen,
    It is not clear to me whether your problem is (1) how to measure the time or (2) how to determine the presence of the high frequency distortion.  The counters to which Paul B. referred are related to (1).  I cannot look at your VI from home, so I do not know what you have tried.
    You generally get better help on this Forum if you ask very specific questions.  Asking someone to do the whole job for you, especially when you have not provided all the specifications, is much less likely to get you the help you want.
    Lynn 

  • How can i get number of days between two dates represented by two dates?

    how can i get number of days between two dates represented by two date objects. One is java.sql.Date, the other is java.util.Date?

    tej_222 wrote:
    But how do I do that conversion. from java.sql.date and java.util.date to calender?
    -thanks for the quick response.You may find the following utility code samples useful:
    [http://balusc.blogspot.com/2007/09/calendarutil.html]
    [http://balusc.blogspot.com/2007/09/dateutil.html]
    ganeshmb wrote:
    (date1.getTime() - date2.getTime())/(1000*60*60*24) should do.
    getTime returns millsecond value of date object and the difference divided by no of milliseconds in a day should fetch you the difference in terms of days.This doesn't respect the DST. Use java.util.Calendar.

  • I gave my father a mini ipad and he forgot the icloud password and the e mail for recovering it.  How can I recover the password or create a new one if I have no idea at all of the info he configurated.?? ;(

    I gave my father a mini ipad and he forgot the icloud password and the e mail for recovering it.  How can I recover the password or create a new one if I have no idea at all of the info he configurated.?? ;(

    He will have to contact Apple and speak to someone in account security if he can't recover it at https://iforgot.apple.com/appleid

  • Hi, how can i break the value for a row and column once i have converted the image to the array?????​??

    Hi, I would like to know how can i break the value for a row and column once i have converted the image to the array. I wanted to make some modification on the element of the array at a certain position. how can i do that?
    At the moment (as per attachhment), the value of the new row and column will be inserted by the user. But now, I want to do some coding that will automatically insert the new value of the row and the column ( I will use the formula node for the programming). But the question now, I don't know how to split the row and the column. Is it the value of i in the 'for loop'? I've  tried to link the 'i' to the input of the 'replace subset array icon' , but i'm unable to do it as i got some error.
    Please help me!
    For your information, I'm using LABView 7.0.

    Hi,
    Thanks for your reply.Sorry for the confusion.
    I manage to change the array element by changing the row and column value. But, what i want is to allow the program to change the array element at a specified row and column value, where the new value is generated automatically by the program.
    Atatched is the diagram. I've detailed out the program . you may refer to the comments in the formula node. There are 2 arrays going into the loop. If a >3, then the program will switch to b, where if b =0, then the program will check on the value of the next element which is in the same row with b but in the next column. But if b =45, another set of checking will be done at a dufferent value of row and column.
    I hope that I have made the problem clear. Sorry if it is still confusing.
    Hope you can help me. Thank you!!!!
    Attachments:
    arrayrowncolumn2.JPG ‏64 KB

  • How can I share my itunes libraries between two users on different log ins on the same PC?

    Ive recently bought my wife and iPhone 4, and we have a shared library. But she clearly downloads her own apps and music choices direct from the store to her phone, so wants to maintain her own log in etc. How can I share the library in my iTunes on my log in on the same PC to her iTunes on her log I'm on the same PC. its windows Xp machine with latest itunes version.
    Ive followed the online instructions for sharing thus far, and the share library does not appear in either iTunes. ie It aint working!
    Thanks in advance

    When you say you have a shared library... you mean you have a networked external hard drive that you are sharing?
    In iTunes, generally...when the term Shared Library is used, it's speaking to sharing a specific computer's library over the network with different computer.
    I would think it would be better to do what ya'll have been doing (one log in acct/one computer) and have her create her own Apple acct and each of you log in and out whenever purchasing music apps etc. and then setup individual playlists and pick specific playlists to sync with each individual iPhone.
    If you don't want each other to know what you're buying then...disregard what I just said

  • How can i remove the icloud from my iphone when i don't have the password?

    I have a new iPhone where I restored from an old iPhone. The old iPhone had an iCloud account I hadn't used and I don't know the password. How can I remove the old iCloud account from my new iPhone? It keeps asking for the old password I don't have.

    You won't be able to delted the existing account without the password.  If you don't know it, you'll have to reset it as explained here: http://support.apple.com/kb/PH2617.  If you have trouble doing this, you can try contacting the Apple account security team for your country for assistance: http://support.apple.com/kb/HT5699.  You will have to prove your identity before they will reset the password.

  • Mozilla Firefox crashed leaving an error message--How can a delete the message permanently, it is driving me crazy. Have tried everything. everythiing

    I have tried everything I know how to do--I am not a expert computer person. Every time I try to sign off the message appears and I have to restart Firefox. Every time I do the restart it says a report is submitted but nothing ever happens. I would appreciate detailed instructions on how to get rid of this message permanently. Any help would be appreciated.

    If you have submitted crash reports then please post the IDs of one or more crash reports that have this format:
    *bp-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.
    *You can open the <b>about:crashes</b> page via the location bar, like you open a website.
    See:
    *http://kb.mozillazine.org/Mozilla_Crash_Reporter
    *https://support.mozilla.org/kb/Mozilla+Crash+Reporter
    See also:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.org/kb/Firefox+crashes

  • How can i split my itunes library between two different accounts?

    For years my son has always been a part of our itunes library.  now that he is off at college, I would like to split his music off from our library to a library of his own with his own account info.  Is this possible?

    jc_hering wrote:
    that works for anything he purchases after he creates the new account.  What about his current music that currently resides in my itunes library?  How can I get his current music out of my library into his new account/library??  Thanks..
    Copy it to his computer into his iTunes library and authorize his computer with the iTunes account used to purchase them..
    You cannot tranfser items from one iTunes account to another. Purchased items remain part of the iTunes account is was purchased with.
    iTunes account - used to purchase items
    iTunes library - where purchases (and CD RIPs) go on the computer

Maybe you are looking for

  • Kisight: How do I get my iSight working ?  Trouble Shooting an iSight Camera.  (Version 3)

    Replacement for the second draft of this Thread   (To be removed if Published as Tip) kisight: How do I get my iSight working ? Trouble Shooting an iSight Camera.  (Version 3) Hi,     On many subjects Apple has Articles and Documents that can help. I

  • Notes v 10.6.2 - opens but no content, wont close

    10.6.2 on MBP syncing to iPhone regularily suddenly, Notes via Mail app open but no content in them, wont close no content means none in Preview Pane and none via 2x clicking (dialogue in Prev Pane says "Loading..." but nothing ever does ALL Notes be

  • Need to add TEST RUN in the Z  Program (URGENT)

    Dear All, I have to add a TEST RUN check Box in the Selection screen,same as Tcode:MRRL. Current Functionality: When we run this Z program,this will update the Local file data into DATABASE,will create a list stating the number of records updated and

  • Self-Registration on NT Error

    On a fresh 3.0.9 Portal Install the selfreg.cmd command file doesn't work and fails with a 'The system cannot find the batch label specified - step1'. A bug has been raised, but could someone post a working copy of the script here to save my sanity.

  • Automatic EWA email but no graphs

    Hi All, When Solman emails the EWA reports there are no images/graphs/pictures send in the email. Is there a way to enable this? Kind regards, Sjoerd Lubbers