What does the extract single tone vi do?

When using an extract single tone vi, what does it actually do? Does it give the frequency, phase and amplitude of the HIGHEST amplitude wave? Say we provide a waveform of 400 samples of an undermined number of sine waves.....Are there any documents with block diagrams that explains this? 

TooEagerToLearn wrote:
My head started hurting when I opened and went deep into all the subvis. All I would like to know what does the output represent?
1. Just the dominant frequency?
2. Amplitude corresponding to that frequency?
3. Phase (relative to what?)
yes, the strongest frequenc
Yep
A tone is assumed to be a sine wave.  So if the first point is the positive peak, you would get 90 degrees.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Does the Extract Single Tone Information.vi only find the fundamental harmonic?

    I capture a waveform that only has 1 frequency.  If I use the Extract Single Tone Information.vi to extract a single tone, is this single tone the fundamental harmonic?  And if I feed the residual portion of the waveform into the Extract Single Tone Information.vi, will the next tone be the second harmonic?  And so on?  Is it possible to compute the total harmonic distortion just by feeding the the waveform into the Extract Single Tone Information.vi over and over again (only feed the residual waveform into the vi continously)?
    Message Edited by solitude on 08-18-2005 09:28 AM

    Notice the title of the vi:  Extract SINGLE Tone.  It is expecting only one frequency.  This vi is not intended to handle a carrier frequency or audio with harmonics.  You say that you capture a waveform that has 1 frequency.  If this is so, then there should be no harmonics.  To measure harmonic frequencies, you must perform spectral analysis.  To measure total harmonic distortion, there exists a THD vi in the Waveform Analysis palette.
    - tbob
    Inventor of the WORM Global

  • Why is the amplitude smaller when using the Extract Single Tone VI to measure the amplitude of a signal?

    Whenever I measure the amplitude of a signal using the Extract Single Tone VI, the amplitude is smaller than if I measured the signal by hand by positioning the top and bottom cursors to the highest and lowest peaks of the captured waveform.  Should I not use the Extract Single Tone VI to measure amplitude?  I'm using Labview 6i.

    I'm not exactly sure but I think the amplitude from the Extract Single Tone vi is in peak volts (Vp).  When you use the cursors on a scope set to the top and bottom peaks, you are measuring volts peak to peak (Vp-p).  If the Extract vi amplitude is one half of your scope reading, then this is true.  Just double your Extract vi amplitude to get the peak to peak voltage.  It also depends on the signal.  If your signal is a square wave from 0 to 5 volts (TTL), this is usually measured in peak voltage.  A sinewave going positive and negative (from -5 to +5) is usually measured in peak to peak.
    - tbob
    Inventor of the WORM Global

  • Extract Single Tone Information.vi configuration help

    Hello.
    I am trying to measure speed from a sensor that outputs the speed directly to
    frequency (i.e. 500 Hz = 500 RPM).
    I am using the Scaled Window.vi with Hanning and the Extract Single Tone
    Information.vi to get the frequency.
    I successfully measured to about 500 Hz with the default settings.
    My range is from 0 to 2500 Hz.
    The only settings I can find that seem to let me configure sampling is the
    approximate frequency and search (+/- % of Fsampl.)
    These defualt to -1 and 5 respectively.
    I assume this means no default frequency, or 0 and the sampling rate is 10000
    (500 / 0.05).
    I changed the approximate frequency to 1250 (my center frequency) and the
    percent to 12.5 (10000 / 1250 ).
    This resulted in labView only reading one seemingly random value or not updating
    this measurement.
    After putting -1 in the approximate frequency again, I was able to read values
    higher than 500, but they folded around 500 (i.e. aliasing).
    How do I change the settings or use another vi to get the range that I need?
    Thank you,
    Electro-Frog

    Thank you very much mfitzsimo…,
    That did the trick. It has been so long since I changed the sampling rate, that I forgot it was there.
    Apparently the Extract Single Tone Information does all the calculations for you, based off the sampling rate of course.
    I bumped it up to 10000 samples/sec from 1000 (where the 500 folding came from) and I could read everything my function generator could put out.
    Electro-Frog

  • Measuring frequency or amplitude using extract single tone informatio​n

    Hi All,
    I'm trying to read speed of a drill and was hoping that I could use the information extracted from Extract Single Tone Information to get to the speed.  However, when I run the attached code while the drill is still off I get Inf for frequency and 0 for amplitude (the waveform chart shows numbers in the 0.21 range - see attached picture).  When I turn on the drill the signal amplitude as viewed on the waveform chart jumps to ~4 range, but the frequency continues to read Inf and the amplitude 0.  Am I missing something, or using the Extract Single Tone Information incorrectly?
    Thanks!
    Attachments:
    Drill Encoder Test.vi ‏21 KB
    Drill Turned Off.JPG ‏38 KB
    Drill Turned On.JPG ‏40 KB

    Hi,
    Thanks so much for your quick response.
    As to point 1, I actually see data come in, over time.  I could only capture a snapshot of it, hence the photo, but if I continue the run data continues to come in over time.  I believe I've fixed the array vs waveform issue (see my modified code).  I ended up with that because I was trying (out of desperation) different Analog Wave form function.  I'm seeing lots of data, but no actual numberical values for frequency of amplitude.
    Thanks again!
    Attachments:
    Drill Turned Off 2.JPG ‏42 KB
    Drill Turned On 2.JPG ‏40 KB
    Drill Encoder Test.vi ‏21 KB

  • Extract Single Tone Information using Flat Top Windowing

    Beginner here - Does anyone have any ideas on what would be the easiest way to create a function that would essentially perform the same function as the built in "Extract Single Tone Information.vi" only that instead of using Hanning windowing (as I noticed that this Vi does) I would be able to use Flat Top (or selectable windowing)? I basicly need to set something up that will accept an incoming Sine wave and apply FFT using Flat Top windowing then output the measured frequency and the amplitude of that frequency. I need to still be able to input the "advanced search" criteria into the VI and give it a frequency and tolerence to look for as I don't want to just look for the peak signal but at specific frequencies. 

    I am running Labview 7.1.1 (that's what my company uses and they refuse to upgrade). I can't open files built under anything newer than LV7.1.1.
    I really don't want to just do a peak search of the entire spectrum and would rather enter a specific frequency to look for and the tolerance window (find peak at say +/- 2% tolerance away from known recorded frequency. This test is targeted as a production test we will be shipping to several parteners around the world to use in production. This will be a test fixture to perform testing on electret boom microphones. The fact that it will be used in a production environment there is potential for high levels of background noise (radios, floresent lights, people talking, etc) and therefore I need as much filtering as possible to only the frequency i am trying to measure. I will be outputting a specific frequency from a speaker and recording it back through the microphone under test via a NI USB-6211 DAQ.
    Can anyone tell me if "Extract Single Tone Information fron Hann Spectrum.vi" has anything in it which would limit me to only inputting a Hann windowed FFT into the signal input of that VI? This is the VI which is password protected in my 7.1.1. copy of Labview. If it doesn't and I could feed it a Flat Top windowed FFT signal into it without problem I am golden. I can modify the other sub-vi ("FFT with Hanning") and the main "Extract Single Tone Information 1CH.vi".
    Thanks for you continued input. 
    P.S. I am fairly new to Labview (<2yrs)

  • Extract Single Tone.vi

    does,anyone knows how to get the diagram of the VI :Extract Single Tone
    Information.vi given un lv6i it is password protected.

    TooEagerToLearn wrote:
    My head started hurting when I opened and went deep into all the subvis. All I would like to know what does the output represent?
    1. Just the dominant frequency?
    2. Amplitude corresponding to that frequency?
    3. Phase (relative to what?)
    yes, the strongest frequenc
    Yep
    A tone is assumed to be a sine wave.  So if the first point is the positive peak, you would get 90 degrees.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • "Extract Single Tone" functionality in Measurement Studio or alternative source?

    Hi everyone.  We have used the LabVIEW Extract Single Tone vi successfully for prototyping and now want to build similar functionality in a product being written in Measurement Studio.  This function calcluates the amplitude, frequency and phase for a time varying signal.  Does anyone know if similar functionality exists in Measurement Studio?  Alternately, does anyone know of a C++ library that is available elsewhere with this functionality?
    Thanks!
    Craig

    I took a quick look inside this VI. It uses non DLLs just standard labview functions. So in worst case you can reverse engenier it.  
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Extract Single Tone Information - phase step

    Hello!
    I am using Extract Single Tone Information to measure amplitude, frequency and phase of a slowly varying signal.
    But sometimes the phase jumps ~350 degrees for no apparent reason. I have made a small vi (in LabView 8.5 professional) to demonstrate this, see attachment.
    Seems like the shift occurs when the ends of the input signal cross each others level, in opposite directions.
    Guess I should start looking for an alternative method for doing the measurements.
    Any suggestions or ideas are most welcome.
    Attachments:
    phase_test.vi ‏30 KB

    Hi Thomas
    It jumps 360 degrees to be exact. -180 degrees and +180 degrees is basically the same thing so the phase you are seeing is correct. It does not look very good in a chart though. To improve the looks you can use the subVI called "Unwrap phase".
    Regards
    Øyvind Ø 

  • What does the scriptcollector do and how does it related to jsf lifecycle?

    hi,
    i want to know what does the scriptcollector do and how does it related to jsf lifecycle? and also in the scriptcollector if i call this,
    preRender=#{myBean.onPageLoadBegin}
    postRender=#{myBean.onPageLoadEnd}
    how my page will react?

    The hx:scriptCollector is part of the IBM Faces Client Framework and has nothing to do with Sun JSF RI.
    Lot of the hx components require specific Javascript and those hx components should be placed inside a single hx:scriptCollector which on its turn checks the nested hx components and renders the desired Javascript for it at the end of the tag. Check the HTML source for that Javascript.

  • What does the usage of CURSOR word mean in an SQL statement?

    Hey folks,
    Please check out the following query and do please explain me what does the usage of CURSOR keyword in an SQL statement mean.
    select deptno,cursor(select ename from emp a where a.deptno=b.deptno) from dept b;
    well, the output was like this,
    DEPTNO CURSOR(SELECTENAMEFR
    10 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    CLARK
    KING
    20 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    SMITH
    JONES
    SCOTT
    ADAMS
    FORD
    30 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    ENAME
    ALLEN
    WARD
    MARTIN
    BLAKE
    TURNER
    JAMES
    6 rows selected.
    40 CURSOR STATEMENT : 2
    CURSOR STATEMENT : 2
    no rows selected
    Your favour'll be deeply appreciated.
    Cheers,
    PCZ

    This returns a non-square result set. Each row of the result is a deptno and then a result set of the enames in that deptno.
    This can be useful when you need to send a lot of data to a client application in a single query that would otherwise contain a lot of redundancy. It tends to be a relatively unusual construct (I've only found one situation where it was appropriate in my career) and requires some relatively sophisticated understanding on both the database and client sides.
    Justin

  • Using Extract Single Tone Information to detect phase

    Dear all,
    I have problem using Extract Single Tone Information vi to detect phase angle of a sine wave. 
    I posted similar question a few days ago regarding using the same vi to determine phase angle of a square wave and realised it couldn't be done because square wave is not single tone. I modified my program slightly and use it to examine a sine wave but I still couldn't get reliable results. 
    Please find the attached for the program code. When I set frequency to 5 Hz, everything worked fine but when I set it to 5.17 Hz with 20 degree phase, the detected phase value keeps changing.  Appreciate if you could help me on this matter. Thank you very much!
    Best regards
    Attachments:
    SineWavePhaseAngleTest.vi ‏28 KB

    Hi looloo,
          Sorry for slow response!  Here's the VI back-saved to LV8.2
    (in case It's not too late to help...) 
    The "phase" output reflects the "angle" associated with the beginning value in the Y-array (when Y = amplitude, Phase is 90deg.)
    Phase is changing because sine-wave (Y-input) is shifting each time single-tone is called...
    Cheers!
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    SineWavePhaseAngleTest[1,LV8.21].vi ‏38 KB

  • What is the "Extract" button at the bottom the DNG converter dialog box for ?

    Does anyone know ....
    What is the "Extract" button at the bottom the DNG converter dialog box for ?
    THANK YOU

    In DNG Converter you have an option to embed the original RAW files (CR2, NEF etc) into the DNG file (see screenshot). Later you might want to extract them back, for example, for converting in camera-maker's own software.
    So, if you have any DNGs with original RAWs embedded, Extract button will get them back.

  • What does the color represent on these folders?

    RoboHelp 9.0.0.228/Server 9
    WebHelp Pro
    Single Project (upgraded from RH x5 to RH9)
    What does the color represent on these folders?  Today is the first day the folders have appeared this way (previously, they were solid yellow).
    Eva

    Hello again
    I'm not sure if it was you or another poster where I saw this. But in the last couple of days I recall reading a response from Adobe to someone here on the forums where they were advising something about conditional content in Frame and they advised some switch in the conversion settings could be flipped so that the conditions in Frame survived the trip into RoboWorld. Was that your by chance? If so, that would explain why you suddenly began seeing this.
    The only way I can fathom to coax the colors not to show is by removing all conditionals.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • What does the "N" stand for?

    What does the "N" stand for?
    [root@localhost ~]# runlevel
    N 5

    The manpage won't tell ya... Not sure what you mean. This is what I see on my Linux OEL4 and OEL5 :
    DESCRIPTION
    Runlevel reads the system utmp file (typically /var/run/utmp) to locate the runlevel
    record, and then prints the previous and current system runlevel on its standard
    output, separated by a single space. If there is no previous system runlevel, the
    letter N will be printed instead.

Maybe you are looking for

  • Reassign assets without altering menus and buttons

    I created a DVD that contained too much data to fit on a 4.7 disc however I didn't notice this until after my menues were perfect and each button did exactly what I wanted it to do. Now I'm in the process of compressing my original movie so that it w

  • Activity Data collector

    Hi, Can anyone give me some detailed information on <b>Activity Data Collector</b> which is supposedly bein introduced as a replacement of Portal Activity Report. It is thought to be more flexible and customizable. Information such as the features pr

  • Profit Centre creation in common controlling area

    Hi, I am using common controlling area for all company codes in our company. However, while creating profit centre Master in the company code tab, I am not assigning the profit centre to all company codes. I am assigning it only to the company code i

  • Serious keynote notes bug - notes font colour and size are not adjustable on master slides

    I would like as many people as possible who are frustrated with this issue to comment on this post. Perhaps together we can demand an update that addresses this serious problem with Keynote. The problem: You are unable to change the font type, colour

  • Music not appearing.

    Hey. I've gone to listen to some music on my iPhone on the way home from work today, and it's said there is no music on it. I've come home and connected it to iTunes, and again, it says there is no music on it. However the 7GB+ of music that was on m