How do you find the frequency of a small sample size and a square wave.

I am collecting data from ten 12v pulses that are seperated pretty uniformly. The pulses make a square wave. I need to know how to input this small sample size and find it frequency. I need this frequency to be output in a readable file. Im not very knowledgeable in labview so if you try and help me please be very descriptive.
I know i need some sort of trigger because of uknown wait times before the sensor will be triggored but other than that im pretty lost. Any help would be appreciated.

What have you tried so far?  What parts are giving you trouble?  Please be as specific as possible. Post the code you have written.
You ask about frequency measurement and then you are talking about triggering.
If you always have 10 pulses, just measure the time from the beginning of the first pulse to the beginning of the last pulse.  The frequency is 10/time.
Break down the problem to smaller parts.  Acquire the data.  Measure the frequency. Save the result to a file.  Get each part working separately, then put them together.
Lynn 
Sorry about duplicate post. My internet connection is very slow today.
Message Edited by johnsold on 05-31-2010 12:05 PM

Similar Messages

  • How would you find the pitch period of a sound signal?

    Hi
    I have a few questions and i would like if somebody could help me even with the smallest comment on this.
    How would someone be successfully estimate the pitch period (fundamental frequency) of a 5 second sound file?How would you successfully distinguish the voiced from the unvoiced parts and how would you make sure you dont mix voiced/unvoiced sections? Finally how can you find the exact points where the pitch is at its peak throughout the signal?
    Any help/comment/suggesion would be much appreciated

    Hello Madgreek,
    After some thought I think I may have come up with an algorithm for what we have discussed. Basically, you are interested in knowing the time intervals over which you can observe any given frequency in your signal. As you had suggested, you can examine small windows of your signal and perform FFTs on each of the small windows to determine what frequency content is contained in that window. By examining all of the windows, you will see when particular frequencies are prevalent in the original signal. You'd want to use the smallest allowable window to give you the most resolution, but one that is large enough to cover an entire period of the lowest frequency (so that you don't miss this frequency).
    I have attached an example program that performs this operation. The example performs this analysis on an array that represents audio data. I am basically performing multiple FFTs (for each window) and stacking these FFTs in time to form a 3D plot. By examining the 3D plot, I can then see when in time my frequencies of interest are at their peaks. Rather than graphing these plots, you may work out a different algorithm for programmatically determining and logging these peaks and times. I hope this is what you were looking for!
    Attachments:
    Time Variable FFT.vi ‏250 KB

  • If you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone?

    if you deleted a  device off of find my iphone.how do you get the device to start back up agian and put it back on find my iphone? becuase i have delted my dads iphone acedentily of find my iphone and it is nownot working. his phone is just staying at a black screen with a loading circle on it. i need to know how to fix this..like do i go the to apple store or the carrier store or can i fix it at home?

    Try these two ways to fix the iPhone (in order).  If neither works, you would have to take it to the store.
    1.  Reset the iPhone.  Hold the on/off and home buttons togehter for about 10 seconds.  If it works, you'll get the Apple logo and then something good should happen.
    2.  Try recovery mode as described here:
    http://support.apple.com/kb/HT1808
    If one of these work, you can then re-introduce the iPhone to Find My iPhone by doing Settings > iCloud > Find My iPhone = "On" on the device.

  • 1.) How do you find the dictionary in Apple Mail Program?  2.) How do you add another dictionary?

    1.) How do you find the dictionary in Apple Mail Program?  2.) How do you add another dictionary?

    Hello James!
    I do not have any ABAP Instance, only the JAVA one.
    Therefore the ABAP transactions are quite useless.
    The problem tables are created by people working on the CAF layer.
    They have developed and deployed some homemade applications and this is leftovers from their development in some kind of way.
    Anyone with any ideas?
    Could it be that (yet) some special Portal Dictionary Role needs to be asigned to the Administrator?
    /Lasse

  • How do you find the difference in no. of days between 2 dates?

    How do you find the difference in no. of days between 2 dates ?

    There are 2 way to solve this: using java.util.GregorianCalendar or java.util.Date (like jesper1 suggested), depending what kind of solution You need:
            GregorianCalendar gc1 = new GregorianCalendar(2001, 01, 01, 23, 00, 00);
            GregorianCalendar gc2 = new GregorianCalendar(2001, 01, 03, 10, 00, 00);
            // 1st way using GregorianCalendar
            int diff1 = gc1.get(GregorianCalendar.DATE) - gc2.get(GregorianCalendar.DATE);
            System.out.println("Differnce: " + diff1);
            // 2nd way using Date
            int diff2 = (int)(gc1.getTime().getTime() - gc2.getTime().getTime()) / (24 * 60 * 60 * 1000);
            System.out.println("Differnce: " + diff2);Note: There are 2 days between the given dates, but exactly 1 day and 11 hours.
    The first solution returns "-2", the second returns "-1".
    (... and a 4th posting also won't help ...)

  • HT204003 How do you find the passbook enabled apps once you use passbook???

    How do you find the list of passbook enabled apps once you start using passbook???

    http://www.macrumors.com/2012/09/19/passbook-enabled-apps-start-arriving-on-app- store/

  • How do you find the phone's mac address for Droid RAZR Maxx HD?

    how do you find the phone's mac address for Droid RAZR Maxx HD?

    Ann154 wrote:
    WalrusM wrote:
    how do you find the phone's mac address for Droid RAZR Maxx HD?
    It is listed under the advanced options for the WiFi settings or About Phone > Status within the phone's settings
    Motorolas list them under About Phone > Status.
    Edit:  Oh, snap!  It is listed in both places.     Nevermind!  Please excuse! 

  • How do you find the word count on MacBook, please?

    How do you find the word count on MacBook, please?

    If you are trying to find word count in a Microsoft Word 2011 documemt, for instance, open the document and go to the Tools menu, selecting Word Count. In Apple's Pages application, open the document and look at the bottom of the page, near the left it will say "X Words" where X is the number.
    Best of luck.

  • I've formatted my PC, how do you find the album you have bought in there on my account again?I've formatted my PC, how do you find the album you have bought in there on my account again?

    I've formatted my PC, how do you find the album you have bought in there on my account again?

    If you reformatted you disk, then you music was deleted.
    Apple only allows one download and advises that purchases are backed up.
    I guess you don't have a backup?
    If not you can recover purchased music from your iPod if you have one:
    http://discussions.apple.com/thread.jspa?messageID=11857427&#11857427
    If you can't do either, try contacting customer service and explain the situation, but they are not obliged to help you.
    http://www.apple.com/support/itunes/

  • How do you find the iPad phone number for cellular data?

    How do you find the iPad phone number for cellular data?

    I know this post was a long time ago but people still seem to be viewing it.
    Quickest way:
    Via the iPad on 3G, go to http://m.telstra.com. The service number is then displayed and you are given the option to recharge.

  • HT5312 How can you find the link to get a rescue email?

    How can you find the link to get a rescue email?
    I am not a regular user - and wonder why????
    Been at this for hours, can't remember questions, support sends you to the questions you can't answer or I would have the first time, or a promise of a link which doesn't seem to exist!!
    Now locked out!

    You need to contact Apple, either through the link in that article or by phoning them and asking for the Account Security team.
    (80167)

  • How do you find the replies to the questions I asked?

    ''locking this as a duplicate - https://support.mozilla.com/en-US/questions/822449''
    How do you find the replies to the questions I asked?

    Click the '''My Contributions''' link after you log in. See screenshot.

  • How do I find the photoshop ap that I paid for and downloaded? All I see is tutorials!!!!

    How do I find the photoshop app that I paid for and downloaded????  All I see is tutorials or ads asking me to join or download cloud or photoshop!!
    Where is my Photoshop??????

    Most browsers have a dedicated folder where they store downloaded files. Have you checked there? What OS  are you using? What browser are you using? Did you run the installer? What ads? Where do you see them? Post a screen shot for anything you have difficulty explaining. Most of the time it is easier if we can see what you see.

  • I just synced my iPhone and lost all the info in notes from my phone. It was replaced with whT was on my iMac how do you make the sync go from phone to desktop and not the other way around

    I Just synced my iPhone and lost all the info in notes I had on the phone. How do you have the info sync from phone to desktop and not the other way around as I usually make contact changes etc on my phone. I would then like to be able to sync that info from desktop to ipad thanks

    It does make sense.  The iPhone is a one-person device and just syncs to one computer.
    The way it should work is as follows:
    Old computer content ---> New computer
    New computer <---> syncs to iPhone
    But the way you are trying to operate sounds like:
    Old computer content ---> iPhone
    ... and ...
    New computer content <---> iPhone
    So simply move your old stuff (either directly from iTunes, or from a computer backup) to the new computer, have it all there, then sync your iPhone to the new machine.

  • How do you remove the SIM card from one iPhone 5 and place it in another?

    how do you remove the SIM card from one iPhone 5 and place it in another?

    With a paper clip?  Refer to the User Guide.

Maybe you are looking for

  • How can I return to previous firefx versions from version 4. Hate it.

    At 84, I'm too old a dog to start re-learning, the new 4 version is completely different, and I can't figure out how to configure menus, and etc. Please tell me how to go back to previous version 3.XXX

  • Expand/Collapse of structure in Query using WAD command

    Hi all, i have a query in which i have 3 selections inside a formula, and the formula is in collapsed state. Now my requirement is to expand the formula using a button in WAD so that the three selection columns inside the formula can be seen. How can

  • Bapi to complete the Production Order completely

    Hi All, I am using the above Bapi to complete the Production Order completely. Now my requirement is to complete technically. I don't want to write BDC. Can anybody please let me if there is any FM to meet this requirement. Thanks n Regards

  • Ie03 : to change equiment status

    hi frnds.. I am developing one requirement, within i need to do something like .. need to  change the equipment status from STKR ( STOCK RESTRICTED) TO STKD(STOCK AVAILABLE) using any function module or BAPI. frnds there any fm or bapi for the same?

  • GotoAndPlay with a _mc on the main timeline

    Hello this is my first post here. Thank you in advance for any help. I am trying to use a button on frame 1 to go to a movie clip that is on frame 1018 ( i put the movie clip on the main timeline on frame 1018) so main(root) --> 1018 --> shipattack_m