The size of the FFT unexpectedly affecting maximum frequency

I was playing around with the Labview Signal Processing course manual exercises (NOR, 1997), when I came across the unexpected result.   I have included below the block diagram for exercise 3.1 (one side FFT) of the manual.  This demo vi had left the size of the FFT (by default).  I don't know what is this default value.  It is not stated in the context-sensitive help.  I tried to add to the size of the FFT.  Unfortunately the FFT analysis did not give a precise answer, when I put in the size of the FFT.  For example, I set the frequency of the 100 s, Fs 300 Hz sinewave and non of the sine wave 500 samples.  When the FFT size has been set to 256, I get 2 to 51 and 102 Hz frequency peaks.  The size of the FFT of 512, I get a peak at 102 Hz.  1024 of the FFT size, I get a polymorphic waveform!

However when I put the size of the FFT-1 so I got the correct peak at 100 Hz.  I guess that's the default size FFT.  I could also get the correct TFF frequency, if I set the size of the FFT (500) to the same value with # no samples (500).

Is there anyway I could set the FFT size and still get the correct output of the FFT.  Thank you.

This was recorded for 2011.

Tags: NI Software

Similar Questions

  • Serious problem with CPU 'maximum frequency.

    Hello

    I have a problem with my W510.

    I think that this problem has been around since I bought it, or at least for a month or two after I bought it.

    When I plug the power in, or out, it almost always affects maximum frequency of the processor, as seen in the Windows 7 resource monitor, as well as a program called CPU - Z which shows in fact the current speed of the base.

    When things work correctly, the basic speed is slightly more than 3,000 Mhz.

    However, this speed changes whenever I plug the power inside or outside.

    Usually, it changes for the worse when I plug IN power!

    Often, to plug in, the speed drops to about 1 000 Mhz. Then I Plug - and the speed goes back to 3 000 Mhz. Rebranchez_ the - 2 500 Mhz. out Plug - rest on 2 500 Mhz. Plug in French - 1 500 Mhz. out Plug - 2 500 Mhz. Plug in French - 3 000 Mhz. get out - 3,000 Mhz, etc.. Every once in a while, it even drops to 300 Mhz.

    It seems to be arbitrary and random. Sometimes, it takes me 10, 15 and even 20 times connect the power out and back in to run to 3,000 Mhz.

    The machine is new, there is no fan noise, and anyway, the changes are directly correlated to plug and power in and out and that they never occur themselves - is certainly not overheating or something like that.

    Also, I don't think it's a problem with the power itself, as happens to me in different countries and different places, and in any place if I try to re - plug power enough times - it will eventually be resolved (so of course that there is enough power).

    Is there someone who knows this problem? Any suggestions?

    Thank you

    I found that Throttlestop help me with my own problem speedstep. Speed moves much to light use because of speedstep, but when I use a cpu benchmark to load four hearts they set to max speed and do not move. You can give it a try.

    Kind regards

    Fernando

  • frequency of the FFT is not compatible with matlab

    Hi all

    Please find .jpg in the attachment. The signal is generated by a signal generator and collected by datashuttle/3000. Then I use the "FFT module" and "statistical value" to find the position max (frequency). I also downloaded the data and processed by matlab FFT function.  What I find, is that the value of the frequency of dasylab is always slightly less than matlab. For example, when the signal generator gives 10 Hz, the dasylab indicate 9,77 Hz and matlab gives 9.99 Hz I used matlab for years, so I have confidence in it. There must be something wrong with my program or dasylab.  First I have is because of the resolution, so I changed the "statistical values - mode - based block and tick (not quite sure about this) parent block and a value for every 240 blocks, which is also for the sampling of matlab."  Unfortunately, there is no change at all. Can anyone help?

    Thank you very much

    Alan

    What is your size of rate and sample block DASYLab?

    Try to make the block size an even number, for example, if you sample at 1000 Hz, made the size of the block 500 or 1000.

    What is the equivalent block Matlab? The amount of data is used for the calculations.

    You can also use the module block average average more than 250 blocks and then use the module of statistical values to calculate the maximum Position.

  • Using the PNG format with maximum width without clipping the top and bottom of the image?

    I use PNG format to preserve transparency and shadow, I am trying to integrate to give the illusion that this slab object is floating above the other layers.  First I tried file > place to position the menu object on edge of header/beginning of the content.  This leaves no option to force the image to span the width of any screen.  I need that I tried to use object > fill > and then clicking on the maximum width of the rectangle (which solves the problem of maximum width), but now I am facing a problem of cutting top and bottom of the image.  The next thing I can think of is to go back to Photoshop and to distort the image, so it is not as big.  In my view, there must be an easier way to achieve will not also give my image an abnormal appearance.  Thoughts?  Thanks in advance.

    Thanks, that's useful.  I also found that I've cropped for a large part of the canvas.  After the increase the surface of the canvas AND fill everything is fine now.  I think that your suggestion may help with the problem of affect scroll I will have when you use different resolutions. I will try to set the size in a single dimension (height) so that different resolution screens see the same scrolling actions.  Mylenium thanks!

  • What is the allowed minimum and maximum of ideal value for sound quality?   What units are these numbers? for example dB

    (1) what is the name of this Volume Audio monitor?

    (2) what is the ideal minimum and maximum value allowed for a sound quality?

    (3) in practice, up to what maximum value can I allow?

    (4) what are these numbers? for example dB

    Thank you.

    1. the audiometers

    2. level of reference is usually given as -12 or - 20 for the film. Normal speech level is usually 05:45.

    3. less than 0 for forts, ttransient sounds. Highly compressed music will be close to zero.

    4. the decibels

  • Performance of the FFT

    Hello world

    I have copared the original FFT for LabVIEW and MathScript algorithm execution.

    To do this, I calculated a 128 k TFF 100 times. The necessary calculation by MathScript time

    is 4 - 5 times higher. I used a very simple MathScript code that calculates just the FFT,

    No loops, etc. that were involved. Anyone know a good reason for this? It cannot be explained

    through the exchange of data between LabView and MathScript. MathScript uses a less efficient

    FFT algorith that LabView?

    Thank you

    Ulf


  • What does not restart in the FFT functions way?

    Hi all

    I would like to know what that "restart average" made for the FFT functions. According to aid,"reboot on average indicates if the VI restarts the process chosen medium." If restart on average is set to TRUE, the restart of the VI the selected with an average of process. If reboot on average is set to FALSE, the VI does not restart the process chosen sprawl. The default value is FALSE. When you call this VI for the first time, the averaging process restarts automatically. A typical case when you need to reboot on average is when a major change of entry occurs in the middle of the averaging process"

    I realized that the FFT function takes in an array of values and perform the FFT on it. If the FFT function keep a buffer previous values and clears when restart average = true? Because the FFT functions are not Point by point and they take both in all the data to deal with, "a major change of entry occurs in the middle of the averaging process" can be true?

    Thank you!

    Sigh.  I really tried to explain what was going on (probably) with this function, you use (and, I thought naively, you understand), but you got me wrong.

    This VI creates a zero average noise signal, providing 1024 points per second.  Do you know what should be the power spectrum of the signal?  Due to the randomness of the input signal, the power (for a small finished sample) spectrum will also have a random component.  If you had several ghosts of power on average, the average would begin to converge with the expected for random noise power spectrum.

    If you run this VI and look at the Spectra resulting (on average), you will notice that the first spectrum is the most "spice" and that spectra are averaged, the variation is reduced and diminishes the value of crete (shown by looking at the scale of Amplitude).  At any time, you can press "Reset average" and see this... reset the average, the following spectrum shows the growing nose, etc.

    It shows the right way to test the function of the power spectrum and discover what he does. My suggestion as to what makes this function seems to be largely correct.

    Bob Schor

  • How to get the fft for my xy graph?

    Hi, I'm Jean,

    I traced xy graphic for an excel file.

    I converted excel file in text file and saved as a .lvm file. now I need to find the fft for this xy graph.

    I will attach my text files and my vi.

    Please, someone put the program and send me quickly.

    I need urgent...

    Here is a simple way to resample the data for a linear ramp of x and make the power spectrum. Modify if needed. (LabVIEW 2011)

    (Fortunately you don't need to worry about the artifacts because each spectral component contains a whole number of cycles in your data)

  • RMS of the FFT or tip?

    Hello

    I have a sinusoidal signal that oscillates around zero the axis in the negitave and positive. It is to measure the height of the waves on the static water level in a wave tank. I am calculating the FFT but the amplitude is less than the height of the waves in the time domain. Does this mean that I'm the wrong calculation? I don't know wheather I should use the FFT Peak or RMS? I assumed that the amplitude of the FFT should give me the same amplitude as the time domain.

    Any advice would be greatly appreciated.

    Thank you

    Donners,

    It can get complicated, but I suspect that what you see is the result of the frequency of the waves is not not exactly at the frequency of the FFT bins.  For example, suppose that df = 1 Hz. Then each element of the array FFT represents the energy in a "sandbox" a hertz wide centred on the frequencies of the integer.  For a wave with most of his energy to 7.3 Hz TFF likely values not null for trays Hz 7 and 8.  In real systems with noise and light frequency variations, it is not uncomon for data can be spread over 10 or 20 locations. To get the fundamental signal amplitude, you would need to combine the energy in all stores.  Since the FFT produces complex output, the phase component must also be considered. Non-sinusoidal Waveshapes means that part of the energy is in harmonics. A pulse square can have a large enough amplitude, but there's still no broad spectral components.

    The short answer is that generally there is no easy way to get a precise correlation between the amplitude of crete in the time domain and the amplitude of spectral components in the field of the freqeuency.

    Lynn

  • How can I extract the frequency of the FFT function?

    Hi all

    How can I extract the frequency of the FFT function in labview?  Thanks in advance

    Concerning

    If you have the f0 and df, you can find your frequency as you would find the time with a waveform based on t0 and dt.  You just need the index of the data point in that you want to get the frequency.  The frequency is then f0 + x * FD, where x is the index of the data point you are interested in.

  • How to perform the FFT on medium thanks to the accelerometer is correct or not?

    Hello

    I do FFT on medium thanks to the accelerometer, but display is not correct? Can someone help me solve this problem. I use PKI accelerometer and connecting to NI WSN NŒUD 3202.

    What is the purpose of feeding one of the TFF to a chart with each iteration of the loop? You have found the spectral components different FFT of different sets of data. The graph of the whole picture emerging from the FFT.

    Lynn

  • Why the FFT spectrum gives values of RMS?

    Dear Sir

    I want to get the value of crete to crete on FFT spectrum. But he gives values of RMS. Can you please guide me how can we peak to peak on the FFT spectrum. Attach the vi is for example.

    Kind regards

    Urfee

    Tronoh wrote:

    Dear Sir

    I want to get the value of crete to crete on FFT spectrum. But he gives values of RMS. Can you please guide me how can we peak to peak on the FFT spectrum. Attach the vi is for example.

    Kind regards

    Urfee

    What does it mean to get the value of Ridge Crest of a FFT spectrum?  [I understand getting the value of P - P of the signal ...].  Note that the parameters on the average you attached (which shows mean quadratic value, by the way) refers to the way in which the Spectra will be averagedand RMS is logical (logical) in many cases, but I'm at a loss to understand the average peak-to-peak here...

    BS

  • Amplitude of the Signal after the FFT analysis

    I'm currently trying to find the amplitude of a signal after running a FFT analysis. I use this for image analysis MTF. I take the profile of the line of fire (with an alternation of black and white bars) and convert it to a signal. This signal is then introduced to a FFT Mag/Phase VI extent and output of the FFT. My program then enter the amplitude to frequency of alternating black and white bars.

    My problem is that the amplitude seems to be scaling by a factor. I would like to find the exact amplitude of the signal of my analysis. Anyone know the factor of scale or any problem with my program? I joined the program and the image that must be analyzed. Just browse to the image in the VI and run the program and you will see the MTF chart resulting.

    Thank you

    Ronak


  • Set the Center - unexpected errors occur at every attempt to fix

    Set the Center - unexpected errors occur at every attempt to fix

    Hello

     
    You can display the query in Microsoft solve this forum from the link below.
    http://fixitcenter.support.Microsoft.com/portal/assets/HTML/help/en-us/index.html#community
  • By opting for the local account affects the current files and other documents are store in the pc.

    I have windows 8 is installed in my desktop pc

    I want to move my account to GO to THE LOCAL because of user setting I m tried to synchronize my app Mail for new emails and other stuff his watch still unavailable then, opting for the account local affect current files and other documents are stored in the pc at this moment before I spend.

    Hello

    Passage of the account Microsoft local account will not affect your personal documents saved on the computer.

    Reference: http://support.microsoft.com/kb/2782145

    It would be useful that you could provide more information on the problem faced with synchronization.

    -What is the exact error you get when synchronization Mail app and other apps?

    -Do you use all parameters of proxy to access the internet?

    -Remember to make changes before the show?

    -What anti-virus software is installed on the computer?

    If you encounter the problem of synchronization with all applications, then I ran the http://download.microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab Apps store

    Navigate through the steps mentioned in http://windows.microsoft.com/en-us/windows-8/what-troubleshoot-problems-app

    Check if you have any proxy enabled. If so, then delete it.

    a. open Internet Explorer.

    b. click on tools and select Internet Options.

    c. click on connections.

    d. click on LAN settings.

    e. remove the check mark next to proxy server.

    f. click OK and check if you are able to synchronize emails.

    If none of the steps work, try to remove the account from the messaging application and add it again and check.

    Go through http://windows.microsoft.com/en-IN/windows-8/mail-app-faq

    Hope this information is useful. Let us know if you have any questions.

Maybe you are looking for