How can I output frequency readings of my signals using FFT?

Hi there, I need help in regard to the topic stated.
Currently I have accquired a sine wave with frequency that vary, using one of the accquistion card by NI. I had converted it to a digital signal so that labview can read it. Now, I will like labview to output the measurement of the frequency.
For example : sine wave of 5KHZ is accquire ,  labview will use FFT to convert time domain to frequency domain, and then output the frequency of the sine wave, in the case, 5KHZ.
What function block should I be using? I had explored the function blocks of all FFT. Most of them output either real FFT, complex FFT, magniture or phase. But none of them output the reading of the frequency.
Maybe I had missed out some function block, so how do I go about output a frequency reading after using FFT?
Thanks a lot in advance.

After Converting your signal from time domain to frequency domain, u cant expect there is only one frequency component,they should have different frequency components according to your input signal.Use extract single tone information to get the output reading of the frequency.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Attachments:
Detect Freq.vi ‏15 KB

Similar Messages

  • How can i get frequency of the modulated signal

    All my questions are showed in the picture.
    Attachments:
    xxxx.jpg ‏39 KB

    "Well, since it is for a "friend"...
    An FFT (or Power Spectrum) will tell you all of the fundamental frequencies of your signal. This is pretty easy and there are functions in LabVIEW to do this. However, since you are only trying to determine the frequency of one square wave mixed with many sine waves, you can just look at the first dirivitive of the signal (dS/dt) and look for discontinuities (dS/dt = +/- Inf). This discontinuity is only due to the square wave signal component. Find the frequency of the discontinuities of the first dirivitive and you have your answer.
    -Jim"

  • How can I output text in a browser window in JAVA?

    How can I output text in a browser window in JAVA?

    "response.getWriter().print()" is the most common method when using servlets

  • How can I output up to 7 tracks simultaneously?

    Hello esteemed GB community.
    I have to create a little effect for an upcoming party. For this I need to output the following:
    - at least 4 separate audio channels (stereo front and stereo rear)
    - one mono combination of these four tracks (to drive a Light organ gizmo - makes the light flicker with the audio)
    - and finally one separate track on which I will put pulses to trigger a relay for a fog machine.
    Setting up these tracks in GB should be fairly straigth forward (although my GB experience is very limited I've done a fair amount of audio mixing in FCP - which I imagine is similar) but my question is, how can I output all these tracks so I can feed them to their respective recipients? This means to two stereo setups for audio (or would it be easier to do 5.1 Dolby - $$$ ?) and then to the light organ and to the relay trigger for the fogger.
    I did a search for multitrack but most answers I found dealt mainly with input, not output. I imagine this will require some kinid of an external box, right?
    Budget for this box is very limited, hopefully less than $200. Quality does not have to be very high although a good bass response will be important for the effect.
    Thank you very much for any help.
    Bo

    Thanks for your help, HT. Would Logic be a better choice than ProTools LE for this? (I know next to nothing about them I must confess...)
    I was just thinking, in the worst case scenario, I could just create the 6 audio tracks in GB, then output three stereo mp3 files (stereo front, stereo rear, 2 control tracks), dump each on a separate cheap mp3 player and get a controller that can remote start all of them at the same time...
    Does anyone know of such a cheap mp3 player that can be remote started via a wire connection to a relay? Is there another forum that deals with this kind of issue?
    Thanks again.
    Bo

  • How can i output the max average?

    How can i output the max of the average?
    i have this queries...
    <cfquery datasource="Intranet" name="GroupStars">
            SELECT execoffice_status, employeedept, COUNT(*) as 'totalstars'
            FROM CSEReduxResponses
            WHERE execoffice_status = 1
            GROUP BY execoffice_status, employeedept
        </cfquery>
        <cfquery dbtype="query" name="GetTotalStars">
            SELECT *
            FROM GroupStars, GetDepartments
            WHERE GroupStars.employeedept = GetDepartments.csedept_id
        </cfquery>
    <cfif GetTotalStars.RecordCount gt 0>
        <cfquery datasource="PhoneList" name="GetAllData">
            SELECT dept.csedept_id, COUNT(*) as 'totalcount'
            FROM employee, dept
            WHERE employee.dept_id = dept.dept_id
                AND employee.emp_status = 1
                AND dept.csedept_id is not null
            GROUP BY dept.csedept_id
        </cfquery>
        <cfquery dbtype="query" name="GetDepartmentTotalEmployeesCount">
            SELECT *
            FROM GetAllData, GetDepartments
            WHERE GetAllData.csedept_id = GetDepartments.csedept_id
        </cfquery>
    <cfquery name="joinQuery" dbtype="query" >
    SELECT *
    FROM GetTotalStars
    WHERE GetTotalStars.csedept_id = -1
    </cfquery>
    <cfset QueryAddRow(joinQuery)>
    <cfquery name="GetUnion" dbtype="query" >
    SELECT *
    FROM GetDepartmentTotalEmployeesCount, GetTotalStars
    WHERE GetDepartmentTotalEmployeesCount.csedept_id = GetTotalStars.csedept_id
    UNION
    SELECT GetDepartmentTotalEmployeesCount.*, joinQuery.*
    FROM GetDepartmentTotalEmployeesCount, joinQuery
    WHERE GetDepartmentTotalEmployeesCount.csedept_id NOT IN (#ValueList(GetTotalStars.csedept_id)#)
    </cfquery>
    <cfquery datasource="Intranet" name="GroupStarsGiven">
        SELECT execoffice_status, submitterdept, COUNT(*) as 'totalstarsgiven'
        FROM CSEReduxResponses
        WHERE execoffice_status = 1
        GROUP BY execoffice_status, submitterdept
    </cfquery>
    <cfquery dbtype="query" name="GetTotalStarsGiven">
        SELECT *
        FROM GroupStarsGiven, GetDepartments
        WHERE GroupStarsGiven.submitterdept = GetDepartments.csedept_id
    </cfquery>
    <cfquery name="joinQuery2" dbtype="query" >
    SELECT *
    FROM GetTotalStarsGiven
    WHERE GetTotalStarsGiven.csedept_id = -1
    </cfquery>
    <cfset QueryAddRow(joinQuery2)>
    <cfquery name="GetUnion2" dbtype="query" >
    SELECT *
    FROM GetUnion, GetTotalStarsGiven
    WHERE GetUnion.csedept_id = GetTotalStarsGiven.csedept_id
    UNION
    SELECT GetUnion.*, joinQuery2.*
    FROM GetUnion, joinQuery2
    WHERE GetUnion.csedept_id NOT IN (#ValueList(GetTotalStarsGiven.csedept_id)#)
    ORDER BY csedept_name ASC
    </cfquery>
    and this part is where i calculate the average, but i only get the average for each department, and from here i want to get the max of the average. how can i do that?
    <td><div align="right"><cfif totalstars eq ''>&ndash;<cfelse><cfset avgstars = totalstars / totalcount>#DecimalFormat(avgstars)#</cfif></div></td>
    thanks for your help

    1) What is it doing instead?
    2) Can you repost your code, but use code tags? If you repaste your formated code and place the tag &#91;code&#93; on top of your block of code and then paste &#91;/code&#93; on the bottom of your block, your posted code will retain its formating and be readable.
    Good luck

  • How can I output RCA video?

    How can I output RCA video from the headphone jack of my macbook pro? Is there any software to do this?

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How can I output the alpha channel in Premiere elements 10

    How can I output the alpha channel in Premiere elements 10. What format should I use?
    Tried outputting to an AVI filet but the file did not contain an alpha channel that After Effects 5.5 would recognize.

    Bill,
    I hope you ordered 32 GB or more on that new computer After Effects 5.5 takes up as much as it can.
    The Roto Brush tool is really a timesaver over ordinary Rotoscoping. Although, my problem now is: when I try to send a 1 min. And 11 second video from Adobe Premier Pro 5.5 two Adobe Media encoder 5.5, the process hangs in wait state in the Media Encoder. I have filed a request for help on the Media Encoder forum.
    I know you will put your new computer to use in helping other people and for this I thank you.

  • How can I output a slideshow so that it fills 16:9 tv screen?

    When I output a slideshow to a wmv file I want to burn the file in 16:9 format to play on HD widescreen TV. I cannot view it without bars on sides. How can I output so that slideshow will be border less?

    Search for .prx files on your computer and then select them from the Slide Size drop down. e.g. C:\Program Files (x86)\Adobe\Elements 12 Organizer\Assets\locale\en_US\tv_profiles\12 - Widescreen Enhanced Definition.prx.
    During the creation of the slide show you can still only work within a 4:3 portion of the screen, but selecting a 16:9 size will output without the vertical bars.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • Frequency Analysis? How do I get frequency characteristics of a signal given in .wav format ?

    I am new to Labview would really apprecite your time and help...
    frequency Analysis? How do I get frequency characteristics of a signal given in .wav format ?
    I have attached the signal I am trying to analyze.
    Have nothing to offer in return but gratitude
    Cheers !
    Message Edited by Komal Khalid on 04-11-2010 10:59 PM

    If you have labview 8.x or 9.x you can do this. Go to help in the toolbar. Select "Find Examples" and then search for sound. Locate the "Sound File to Sound Output.vi" This example will help in your task. Remember that Labview is shipped with a lot of useful examples. That can help you in your learning process
    Good luck
    Ps you can also read wav files, and find examples  in Labview 7.x. But I do not know the name of the similar examples in 7.x
    Edit: Please use zip files then you are not able to attach files. Do not link to sites outside. The site you linked to was very annoying. Could not download
    Message Edited by Coq Rouge on 04-12-2010 02:38 PM
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    How can you utilise the 30 pin VGA adapter used on the iPad 3 and iPhone 4S on the iPad 4 which uses a lightning connector?

    See the following. Also take note below and from the linked page above that video mode is NOT supported:
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
    *Note below and from the linked page above that video mode is NOT supported*
    "This adapter lets you connect devices with a Lightning connector to many of your 30-pin accessories.* Supports analog audio output, USB audio, as well as syncing and charging. Video output not supported."

  • How can I make Adobe Captivate 7 App Packager use 3.3.0 version of PhoneBuild?

    How can I make Adobe Captivate 7 App Packager use 3.3.0 version of PhoneBuild rather than the 2.5.0 version?  I tried following the instructions to upgrade PhoneBuild to version 3.3.0 - seemed to work, but Captivate is still outputting using 2.5.

    I tried that recently but could not find a way out.
    However, I figured out that we can upload the HTML5 zip file directly to the PhoneGap and build the app. This not only makes it a 3.3.0 version by default, it will also allow you to change the default app name, description, and most importantly the icon of the app.
    Sreekanth

  • How can we find out the disk which is used for a mount point

    How can we find out the disk which is used for a mount point?
    one of our mount point(/u03/oracle/prod) was using high I/O and this was causing slowness in the server.
    I can see a disk operation error in errpt at the same time as below. Wanted to check whether the mount point /u03/oracle/prod is using the disk hdisk31
    $errpt|more
    IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
    DXB78877 1125032114 T H hdisk31 DISK OPERATION ERROR
    OS version:AIX 6.1
    DB:11.2.0.2

    this is the output for cat /etc/filesystem
    /u02:
            dev             = /dev/fslv00
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false
    /u01:
            dev             = /dev/fslv01
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false

  • How can we find the noise in the signal?

    How can we find the noise in the signal, then use this inverted noise to cancel the noise in order to obtain the desired signal?

    Hello astroboy,
    it all depends on your signal...
    Easy approach: make a low pass filter (running average or similar). This will filter out high frequency noise (in my experience the common case).
    Best regards,
    GerdW
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • My emails do not go - they exit outbox and go to recovered. How can I delete my Icloud account and just use gmail.

    My emails go from outbox into I cloud recovered section. I have gmail too. how can I delete my icloud account and just use gmail? Speed test on wifi good.
    Any ideas please.

    Sign out of iCloud (System Preferences>iCloud)

  • How can I display JTextFields correctly on a JPanel using GridBagLayout?

    I had some inputfields on a JPanel using the boxLayout. All was ok. Then I decided to change the panellayout to GridBagLayout. The JLabel fields are displayed correctly but the JTextField aren't. They are at the JPanel but have a size of 0??? So we cannot see what we type in these fields... Even when I put some text in the field before putting it on the panel.
    How can I display JTextFields correctly on a JPanel using GridBagLayout?
    here is a shortcut of my code:
    private Dimension sFieldSize10 = new Dimension(80, 20);
    // Create and instantiate Selection Fields
    private JLabel lSearchAbrText = new JLabel();
    private JTextField searchAbrText = new JTextField();
    // Set properties for SelectionFields
    lSearchAbrNumber.setText("ABR Number (0-9999999):");
    searchAbrNumber.setText("");
    searchAbrNumber.createToolTip();
    searchAbrNumber.setToolTipText("enter the AbrNumber.");
    searchAbrNumber.setPreferredSize(sFieldSize10);
    searchAbrNumber.setMaximumSize(sFieldSize10);
    public void createViewSubsetPanel() {
    pSubset = new JPanel();
    // Set layout
    pSubset.setLayout(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    // Add Fields
    gbc.gridy = 0;
    gbc.gridx = GridBagConstraints.RELATIVE;
    pSubset.add(lSearchAbrNumber, gbc);
    // also tried inserting this statement
    // searchAbrNumber.setText("0000000");
    // without success
    pSubset.add(searchAbrNumber,gbc);
    pSubset.add(lSearchAbrText, gbc);
    pSubset.add(searchAbrText, gbc);
    gbc.gridy = 1;
    pSubset.add(lSearchClassCode, gbc);
    pSubset.add(searchClassCode, gbc);
    pSubset.add(butSearch, gbc);
    }

    import java.awt.*;
    import java.awt.event.*;
    import javax .swing.*;
    public class GridBagDemo {
      public static void main(String[] args) {
        JLabel
          labelOne   = new JLabel("Label One"),
          labelTwo   = new JLabel("Label Two"),
          labelThree = new JLabel("Label Three"),
          labelFour  = new JLabel("Label Four");
        JLabel[] labels = {
          labelOne, labelTwo, labelThree, labelFour
        JTextField
          tfOne   = new JTextField(),
          tfTwo   = new JTextField(),
          tfThree = new JTextField(),
          tfFour  = new JTextField();
        JTextField[] fields = {
          tfOne, tfTwo, tfThree, tfFour
        Dimension
          labelSize = new Dimension(125,20),
          fieldSize = new Dimension(150,20);
        for(int i = 0; i < labels.length; i++) {
          labels.setPreferredSize(labelSize);
    labels[i].setHorizontalAlignment(JLabel.RIGHT);
    fields[i].setPreferredSize(fieldSize);
    GridBagLayout gridbag = new GridBagLayout();
    JPanel panel = new JPanel(gridbag);
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.weightx = 1.0;
    gbc.weighty = 1.0;
    gbc.insets = new Insets(5,5,5,5);
    panel.add(labelOne, gbc);
    panel.add(tfOne, gbc);
    gbc.gridwidth = gbc.RELATIVE;
    panel.add(labelTwo, gbc);
    gbc.gridwidth = gbc.REMAINDER;
    panel.add(tfTwo, gbc);
    gbc.gridwidth = 1;
    panel.add(labelThree, gbc);
    panel.add(tfThree, gbc);
    gbc.gridwidth = gbc.RELATIVE;
    panel.add(labelFour, gbc);
    gbc.gridwidth = gbc.REMAINDER;
    panel.add(tfFour, gbc);
    final JButton
    smallerButton = new JButton("smaller"),
    biggerButton = new JButton("wider");
    final JFrame f = new JFrame();
    ActionListener l = new ActionListener() {
    final int DELTA_X = 25;
    int oldWidth, newWidth;
    public void actionPerformed(ActionEvent e) {
    JButton button = (JButton)e.getSource();
    oldWidth = f.getSize().width;
    if(button == smallerButton)
    newWidth = oldWidth - DELTA_X;
    if(button == biggerButton)
    newWidth = oldWidth + DELTA_X;
    f.setSize(new Dimension(newWidth, f.getSize().height));
    f.validate();
    smallerButton.addActionListener(l);
    biggerButton.addActionListener(l);
    JPanel southPanel = new JPanel(gridbag);
    gbc.gridwidth = gbc.RELATIVE;
    southPanel.add(smallerButton, gbc);
    gbc.gridwidth = gbc.REMAINDER;
    southPanel.add(biggerButton, gbc);
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(panel);
    f.getContentPane().add(southPanel, "South");
    f.pack();
    f.setLocation(200,200);
    f.setVisible(true);

Maybe you are looking for

  • I have 3 of everysong in my itunes.  How do I delete multiple songs?

    I recently transferred my itunes library to a new computer.  Now in itunes I have all my songs, but times 3.  Every song (about 3800 of them) are in my library 3 times.  How can I delete 2 of every song (about 7600 songs).  How do I delete multiple s

  • File upload issue in Portlet

    Hi Friends, I'm using FileUpload in one of my screen, so I'm using form enctype="multipart/form-data" and using apache commons fileUpload library. The file upload is working fine and I'm navigated from 1st screen to the 2nd screen. but in the 2nd scr

  • Solidworks crashing frequently and repeatedly, can anyone help?

    Before you ask: I'm a student, so I can't use SW's support because I didn't buy it directly - I got it through my university, and the tech support there was...less than helpful. I have an Inspiron 5749 running Windows 8.1, bought this month, with an

  • CS4 Project won't open

    Please help if anyone has had this problem. I have edited a D ance Show using four layers of Video (down converted from AVCHD using Panasonic's con version program to allow 4-layers of multicam). After editing about 1 1/2 hours of the project it now

  • IChat AV 5.0.3 requires password every time I launch the program

    Does anyone know why this is happening? After the recent 10.6.4 update, every time I launch iChat a dialog box pops up with my MobileMe account name, which has a check box next to it, and an input field below it which prompts me to type in my MobileM