03-24-2015 03:52 PM
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?
03-24-2015 04:25 PM
03-24-2015 04:30 PM
Seems like I wouldn't ask the question without reading "Context Help", do people do that?
I am trying to understand what it means...... Sometimes, I find NIs explanation as follows: eg. number of records: Number of records to be entered. (But, what is a record?)
My question was related to "single tone", What does that mean? Does it mean within that window, it returns the "frequency" "amplitude" and "phase" (single values for each) from a whole array of samples?
03-24-2015 04:31 PM - edited 03-24-2015 04:32 PM
There is an amazing subVI in the Extract Single Tone information.vi, it has to be seen to be believed and then unseen as quickly as possible.
For more information there is a link in this thread:
http://forums.ni.com/t5/LabVIEW/Extract-Single-Tone-Information-from-Hann-Spectrum/td-p/139345
and for fun:
http://forums.ni.com/t5/LabVIEW/Scary-LabVIEW-images/m-p/1580676#M578210
03-24-2015 04:37 PM
It's a qoute from help "Takes a signal in, finds the single tone with the highest amplitude or searches a specified frequency range, and returns the single tone frequency, amplitude, and phase"
Do you have any questions about it?
03-24-2015 04:38 PM
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?)
03-24-2015 04:49 PM
@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?)
1. Depends on input. If you don't specify the freq. range, than it takes tone of frequency with highest ampltude in whole signal.
2. Yep.
3. Phase is determined relative to zero (in time).
03-24-2015 04:57 PM
@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?)
03-25-2015 08:19 PM
THanks guys!
If I have the drive frequency changing on loading conditions, I am sure this vi would capture the dominant frquency and amplitude. What would work to capture the harmonics? I am not sure how many, but I need to calculate power from AC current and voltage signal for both drive frequency and all other frequencies, i.e. harmonics.
03-25-2015 08:24 PM
Do a full-fledged FFT and look for the peaks in there.