FFT and Tone Measurements

Does the Express VI, Spectral Measurements and the Extract Multiple Tone Information VI return the same data?  The express VI displays the information in dB and the Extract Multiple Tone Information VI returns the amplitude in volts.  The issue is that the amplitude don't seem to match.  I am using 20log(volts) to convert to dB.  The chart shows about -14 dB and the Extract Multiple Tone Information VI returns -27 dB (volts convert to dB).
Any help is appreciated,
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

You are calculating a power spectal density in the spectral measurements Express VI.  If you configure it to calculate the spectral measurement magnitude (peak) the values will match.  The difference from the help file is:
Magnitude (peak)—Measures the spectrum and displays the
results in terms of peak amplitude. You typically use this measurement with more
advanced measurements that require magnitude and phase information. The
magnitude of the spectrum is measured in peak values. For example, a sine tone
of amplitude A yields a magnitude spectral value of A at the sine tone
frequency. You can unwrap the phase spectrum or convert it from radians to
degrees by setting Phase to Unwrap phase or
Convert to degree, respectively. If you place a checkmark in
the Averaging checkbox, the phase of the spectrum is zero for
averaging.
Power spectral density—Measures the spectrum and displays
the results in terms of power spectral density (PSD). Power spectral
density is a scaled version of Power spectrum, where
the power present within each spectral bin is normalized by the frequency bin
width. You typically use this measurement to examine the noise floor of a signal
or the power in a specific frequency range. Normalizing the power spectrum by
the bin width makes this measurement independent of the signal duration, or
number of samples.So, they are the same if they are the same.
Hope that this helps,
Bob Young
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected]

Similar Messages

  • Amplitude measurement using "Tone Measurement" when monitoring amplitude of a waveform

    Exactly how does Labview make the amplitude measurement using "Tone Measurement" when monitoring amplitude of a waveform?
    What is the mathematical operation that Labview uses to make an amplitude measurement when using "Tone Measurement" function?
    Thank you!
    OpResp

    Hello,
    Yes we have a very detailed tutorial on how the method of signal analysis in LabVIEW, please take a look at the following document.
    The Fundamentals of FFT-Based Signal Analysis and Measurement in LabVIEW and LabWindows/CVI
    http://zone.ni.com/devzone/cda/tut/p/id/4278
    I hope you find it informative!
    Regards,
    Anna K.
    National Instruments

  • FFT and Overall Values Differ btwn VI and DIAdem

    Hi all,
    I have an application that displays live vibration readings including the spectrum and overall vibration level.  All my report generation is done in DIAdem scripts, so it's critical that any values calculated and displayed on the LabVIEW side match the values calculated and reported in DIAdem.  The attached VI and Script, when fed the input from the attached TDMS file, give me significantly different values for the magnitude of the FFT and overall RMS value.  Can anyone spot what I'm doing wrong?
    Thanks,
    Scott
    CLAD
    Solved!
    Go to Solution.
    Attachments:
    FFT and RMS Script.VBS ‏5 KB
    FFT and RMS VI.vi ‏39 KB
    VibrationSample.tdms ‏103 KB

    Hello,
    Here is a great reponse from R&D. I felt it would be better to place this on the web then keep it limited to your service request.
    The difference has to do with the Window-correction. The results are identical if you select rectangluar (or no) window.
    Usually a Window is taking a part of the singnal away, so in the first place, the result has a different shape and is smaller compared to result with rectangular window. This can be corrected with a specific factor for each window.
    There are two possible corrections. Random and periodic.
    - Periodic is used if you have pure sine-wave like signals and you want to measure the peak value. A typical use case is the flattop-window which is designed for this type of calculations.   The periodic correction is too large if you want to add the values to calculate the total RMS of the signal or of a the summation of a certain frequency band.
    - Random is correcting the signal back to the correct overall RMS value and should be used in all other cases.
    The periodic correction for the Hanning window is a factor of two. The random correction is about 1.633. DIAdem will give the same result as LabVIEW if you use the following correction type:
    FFTWndCorrectTyp = "periodic"
    In the world of FFT-analysis, the different corrections are very often not obvious and hidden to the user. Unfortunately this is also the case in LabVIEW. You can find a good example of an explanation here:
    http://blog.prosig.com/2009/09/01/amplitude-and-energy-correction-a-brief-summary/
    There are different factors for the different window functions. If you go deeper into the FFT-VI you will find the "Scaled Window VI". This has an output "window constants". With this, it is possible to get the correction values for the window functions.
    I also think, that periodic is wrong in most cases when Hanning is used, because Hanning is best for the summation of RMS values in frequency bands and the results are wrong without a random correction.
    Hope that helps.
    Jacob R. | Applications Engineer | National Instruments

  • Tone measurements Express VI

    I had installed the Sound and Vibration toolkit . When I open Tone Measurements from Tone and Distortion of Sound and Vibration,It can't initializing completely and close automatically . So I can' t  configure it , please help to solve this problem,thanks!

    Hi,
    I had done with your proposal.Both of them is 2012,it's OK now.Thank you! New problem appeared,I acquired signal to analysis THD and at the same time I used "Harmonic Distrotion Analyzer.vi".The two values are different.Please see attached picture.
    Attachments:
    THD test capture.jpg ‏60 KB

  • Phase measured by two tone measurement have different dt

    Dear all;
        I write a labview program for isolated a signal from the mixture of two signals by using a reference input. I choose to use butterworth filter and apply it in bandpass mode. To determine the band width of the filter, I also use two tone measurement vi to detect the phase of the reference signal and the signal I want to outcome. Unfortunately, when I run my program, warming with message "waveforms have different dt value" is always show. How can I fix this problem?
    Regards
    Attachments:
    lock-in test.vi ‏88 KB

    Well you got a bad case of the DDT's and dt's
    If you get rid of those express vis and use a vi from the waveform measurments pallette you won't get fooled by that dt that does not exist coming out of your filter
    Of course you COULD use the Digital IIR Filter vi off the Waveform conditioning palatte and keep your dt info but that doesnt get rid of your DDT's
    Here is one quick mod
    Jeff
    Attachments:
    lock-in testmod.vi ‏36 KB

  • Tone measurement express vi affect the output signal?

    Hi everyone, I am doing a oscilloscope to measure the input signal coming from my analog input of myRIO. I am still new to Labview and I not sure how to implement the tone measurement to measure my signal frequency, amplitude and phase. The first diagram below show the program before i haven't add the tone measurement express vi, the signal get from the waveform graph seem great. However, when i added the tone measurement express vi, the signal seem distorted and unstable. Does anyone know how to solve this problem? Is it the way I implemented is wrong?
    Figure 1: without tone measurement express vi
    Figure 2: with tone measurement express vi

    I would like you to prove the "bug" that you're describing by creating an example that shows the calculated and the expected results. By opening the code of the "Spectral Measurements" Express VI you can dig into the heart of the calculation, and there (in the "ma_FFT Power Spectrum and PS Density no State.vi") you will see that the Power Spectral Density indeed IS calculated by using the formula PSD = (Power Spectrum/(df*Noise Power BW of Window)). See the attached PSD.jpg that shows where the calculation happens.
    The Power Spectral Density is supposed to be dependant of the chosen Window. Please read chapter 5 "Smoothing Windows" in the "La
    bVIEW Analysis Consepts" manual.
    Best regards,
    Philip C.
    National Instruments
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    PSD.JPG ‏139 KB

  • Applying of FFT and Octaves analysis to an analog input

    Is it posible to aply, in real time, with LabVIEW 5.0 an FFT and Octaves analysis to an analog input obtained with a Labpc 1200? If yes could you please give me a hinch? Thank you very much.

    There is basic FFT analysis built into the libraries that ship with LabVIEW Full Development System (FDS). However I would recommend considering the Sound & Vibration toolkit as an add on for LabVIEW. This contains more complete FFT analysis solutions (including averaged FFT analysers) and has a complete range of octave analysis (full and fractional analysis).
    The examples are very good and even if you haven't had much experience of using traditional boxed FFT/octave analysers you will quickly be in a position to have a good working application up and running.
    This brings me onto the question of the board that you are using. Depending on the type of signals that you are working with, you may find that there are a number of limitations to using the Lab-PC-1200.
    1. The board has only 12-bit ADCs which therefore gives a maximum dynamic range of approx 72dB. A 16-bit board would offer a wider dynamic range of 96dB while some of the dedicate signal/audio analyser boards on offer from NI have 24-bit ADCs and a dynamic range of 120dB.
    2. If you are analysing more than one channel and are looking at phase measurements (i.e. stereo if it is audio you are acquiring) you will be limited by the architecture of the Lab-PC-1200. This board uses a multiplexer to switch from one channel to another. This will automatically insert a phase error into the measurements that you take. An example of where this might be a problem would be if you were analysing the response from two audio speakers, or trying to analyse the performace of an object to vibration using multiple accelerometers. Dedicated boards on offer from NI (NI 44xx range) have simultaneous sampling inputs and these get around these phase problems.
    The analysis that you perform with such a board all takes places on the host computer i.e. your Windows PC. As such you comment "is it possible to apply, in real time..." will depend entirely on the specification of your PC. NI does offer a few boards that will allow FFT and octave analysis to be performed on the actual DAQ board itself (NI 45xx range of dynamic signal analysers).
    So in summary, consider the Sound & Vibration toolkit and also consider the limitations of the Lab-PC-1200. It may not be the best choose - but if you are stuck with the board, you can still develop a suitable LabVIEW application and if possible upgrade the hardware sometime in the future (the code should not need to change if you change the board).
    Jeremy

  • Recently backing up my ipad onto my macbook, which is the backup server for all of my gadgets.  This includes all my photos and tons of music.  The macbook said it could not backup the ipad because there was insufficient disc space to do so. What now?

    I have a macbook operating OSX10.6.7.  Recently backing up my ipad which had lots of photos from a recent vacation.  I use this laptop as the backup server for all of my gadgets so it has thousands of photos and tons of music.  It just told me that it couldn't back up the ipad bc there wasn't enough disc space.  I was afraid that this would happen eventually.  What next?  Newer laptop with more space?  I'm not sure what files I could sacrifice to free up more space as most of these are important.

    What size hard drive do you have in your MacBook? The cheapest options are, a larger internal hard drive, or an external drive. Or you could get a cheap desktop PC and network to it for storage. I've got one that lives in the hall with 3 Terabytes (That's 3000gb) of storage.

  • HT1937 in general setting for itunes wifi sync some how i got two folder first one the one i want :apps,movie, music, and tones some how i got second one is photo only, when i plug in it's only sync on 2nd one and not first one, i tried delete ituns and d

    i had problem for my itunes wifi sync, in general setting itunes wifi sync, i got 2 folder name 1st one is one i want sync for app, movie,music and tones, somehow i got second one folder i dont want is photos only when plug into it only sync for photo the rest are gone on itunes screen and not sync, please help me how can i delete second one folder? i tried click on first one not moved and syns only sync on second one folder
    thanks. i did try delete itunes and download back but still there, i tried restore iphone to itunes a few months back but itunes screen still on new second folder not the first one
    mjphu
    [email protected]

    I own the movies and I want them to stay in my iTunes library basically forever.
    But in both cases the file name no longer shows in the movie list, so I don't know how to re-download it from the Cloud.
    iTunes prefs > Store > Show iTunes in the Cloud purchases.
    This will show all your iTunes purchases in your library with a cloud icon down arrow. Click the icon to redownload or click on Play to stream without downloading.
    Also see this , -> Download past purchases
    and techncially, you don't "own" the movie, You simply have a license to use it.
    Yet the first thing iTunes does when you hit the delete key is tell you that it will remove the movie forever from all devices and the library.
    Actually, no it does not tell you that.
    FYI: You should keep copies of all yoru iTnue spurahses as the labels/movie studios/copyright owners can pull their product at anytime and it won't be available to redownload.
    Suggestions here -> http://www.apple.com/feedback/

  • DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file

    Hi
    DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
    Two main
    sections:
    1)     
    Perform
    write and read operations to and fro different spread sheet files, such that
    each file have a single row of 32bits different binary data (analogous to 1D
    array) where the left most bit is the MSB. I don’t want to manually enter the
    32 bits binary data, I want the data written or read just by opening a file
    name saves with the intended data.
          2)     
    And
    by using test patterns implemented using the digital pattern generator or  build digital data functions or otherwise, I need to
    ensure that the     
                binary data written to a spreadsheet file or any supported file type
    then through the NI-USB 6509 is same as the data read.
    I’m aware I can’t use the simulated
    device to read data written to any port but if the write part of the vi works I
    ‘m sure the read part will work on the physical device which I’ll buy later.
    My Plan
    of action
    I’ve
    created a basic write/read file task and a write/read DAQ task for NI USB 6509
    and both combine in a while loop to form a progress VI which I’m confuse of how
    to proceed with the implementation.
    My
    greatest problem is to link both together with the correct functions or operators
    such that there are no syntax/execution errors and thus achieve my intended
    result.
    This
    project is one of my many assignments for my master thesis, so please i’ll
    appreciate every help as I’m not really efficient with LabVIEW programming but
    I prefer it because is fun and interesting if I get to know it.
    Currently I’m
    practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
    simulated device.
    Please see
    the attached file for my novice progress, thanks in
    advance for the support
    Rgds
    Paul
    Attachments:
    DIO_write_read DAQ from file.vi ‏17 KB

    What does your file look like?  The DAQmx write is expecting a single U32 value, not an array of I64. 
    Message Edited by vt92 on 09-16-2009 02:42 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Fieldpoint and Labview 64 bit - why is the LabVIEW Support missing from MAX and the Measurement I/O Pallette?

    I am running Labview 2010 on a Windows 7 virtual Machine, I have installed Fieldpoint 6.0.7 with all the appropriate support. The VIs are in vi.lib. BUT, MAX doesn't show the LabVIEW support as existing, and the Measurement I/O pallette doesn't have the Fieldpoint VIs linked into it.
    Anyone out there with any idea what I might need to do to get these seen? I've uninstalled, re-installed, installed only sections, and so far - no sign of these VIs appearing.
    So, any ideas?

    Not quite. I can see Fieldpoint, but not the LabVIEW support section.
    The first screenshot is from my 32-bit system, the second is the one from the 64-bit system.
    Attachments:
    Fieldpoint Screenshot 1.JPG ‏20 KB
    Fieldpoint Screenshot 2.JPG ‏15 KB

  • When I change my TIFFs to jpegs, the color and tone are changing as well [was: Need help please!]

    When I change my TIFFs to jpegs, the color and tone are changing as well, any ideas as to what the problem could be?

    You are screwing up the colors by not using color management or at least not keeping an eye what color space/ profiel your source files use anbd what happens when Safe for Web converts them. As a start, perhaps refer to this, then work your way through the Internet wide and far to learn about color management:
    Common Photoshop Issues
    Mylenium

  • Is there a way to generate bars and tone in fcpx?

    All the discussion communities I could find seem to tell me how to do it in FCP7.  And when I download versions from the internet, they play incorrectly-soft and warbly.
    Thank you.

    tr3 wrote:
    Thank you.
    Sure. You should be all set. This is what I sent over:
    The 1 kHz Sine waves folder has three audio files:
    1K mono
    1K stereo
    1K mono (short)
    The tones were generated at -12 dBFS.  You can use the “short” tone to bleep stuff out, if necessary. Remember that you may need to adjust it’s level.
    The Color Bars with Tones folder has two video files:
    178 Bars and Tone. That’s your 1980x1080 HD version. The tone is embedded, and is also 1K @ -12 dBFS
    235 Bars and Tone . That’s your “Cinemascope” version. Resolution is 1920x816, tone embedded, same specs.
    Keep in mind you can re-scale the video files. In other words, if you need 1280x720 (720p), just resize the 1080p movie and you should be good to go.
    -paul.

  • Color Bars and tone in FCP X?

    Just downloaded FC"P" X and having a look around I cant find Color Bars or Tone anywhere...?
    Did a quick search on the help... but couldn't find anything.
    Surely I must be missing something here - they must be available right!!?
    I know I could output some from my deck or earlier version of FCP but thats not the point really is it. What possible reason on God's green earth could there be for omitting something so simple. Sorry but most del specs (even for digital tapeless) require bars and tone.
    Can someone point me in the right direction - they must be in here somewhere.
    Thanks in advance
    J

    If I were to use FC X for a delivery then that would be the way to go I suppose.
    Or generate b+t on the deck and ingest to the computer and then import to fcp.
    Dont think I'll be using FC X for anything in the short term though. Just playing around. See where it goes.
    So many odd decisions - why get rid of a perfectly good, simple feature like "make freeze frame" - I know you can do it using the retime tool now but its a round about way of doing things.
    Sorry if sounded rude - there are so many crazy Apple fan boys willing to jump on people here at the slightest hint of criticism :-)
    Thanks
    J

  • RGB and L measurements below histogram suddenly quit

    The RGB and L measurements below the historgram sometimes quit working unexpectedly and give all zeroes wherever the cursor goes on the image.  Quitting Aperture and reopening has usually solved this problem, but I wonder if it's something I'm somehow causing to happen, or it other users have experienced this.

    Thank you.  I have been going back and forth between Pages and Aperture, keeping both applications on the screen, but I hadn't thought to see if the back-and-forth was causing it.  I've been using the viewer.  Is this something that's just a little bug that we need to live with?  Do you close Aperture and reopen as I do to regain the RGB & L values?
    I just did a little test, toggling between Pages and Aperture and then Safari and Aperture, and the loss of RGB&L values did not recur.

Maybe you are looking for

  • Import from memory problem

    Dear experts:     When I am using 'import mi[] from memory ID Z_memory.', I don't know how many times can I import from the same memory ID. For example, I want to export once and need to import many times.     My code is like this: export mi[] to mem

  • Setting up a new Free Software Project, organizational help needed.

    Hi I need some help with a project I am working on. I have been working on this project for some time now. I have written a program using JDK 6 and Eclipse. The actual software is not the problem here. The actual problem, as I am starting to find out

  • IPad 2 Screen has gone black

    I recently updated my Ipad 2 to IOS 8. Yesterday I was playing Candy Crush Saga (No sniggering) and put it down to do something else. I returned to find the screen had gone black, but was still illuminating. Tried to wake it up, but with no success.

  • G580 shuts down without warning

    Hello Can anyone help?  I have recently acquired a G580 (i5-3230M) laptop which occasionally crashes completely.  When it happens, there is no warning - the screen just goes black, as though all power has been lost, then after a couple of seconds it

  • How do I turn a photo into a pop art poster

    how do I turn a photo into a pop art poster