Tone Measurements Express VI

Owning Palette: Signal Analysis Express VIs

Requires: Full Development System

Finds the single tone with the highest amplitude or searches a specified frequency range to find the single tone with the highest amplitude. You also can find the frequency and phase for a single tone.

Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Add to the block diagram  Find on the palette

Dialog Box Options

ParameterDescription
Single Tone MeasurementsContains the following options:
  • Amplitude—Calculates the amplitude of the detected single tone in volts peak (Vp).
  • Frequency—Calculates the frequency of the detected single tone in Hertz.
  • Phase—Calculates the phase of the detected single tone in degrees.
Search for Specific FrequencySearches for a specific frequency in the tone. Contains the following options:
  • Approximate frequency (Hz)—Center frequency to use in the frequency domain search for the single tone. The default is 10. This option is available only when you place a checkmark in the Search for Specific Frequency checkbox.
  • Search (+/- % of approx. freq.)—Frequency width, as a percentage of the sampling rate, for the frequency domain search for the single tone frequency. The default is 5. This option is available only when you place a checkmark in the Search for Specific Frequency checkbox.
ResultsDisplays the measurements you configured this Express VI to perform and the calculated values of those measurements. You can click any measurement listed in the Measurement column, and the corresponding value or plot appears in the Result Preview graph.
Input SignalDisplays the input signal. If you wire data to the Express VI and run it, Input Signal displays real data. If you close and reopen the Express VI, Input Signal displays sample data until you run the Express VI again.
Result PreviewDisplays a preview of the measurement. The Result Preview plot indicates the value of the selected measurement with a dotted line. If you wire data to the Express VI and run the VI, Result Preview displays real data. If you close and reopen the Express VI, Result Preview displays sample data until you run the VI again. If the cutoff frequency values are invalid, Result Preview does not display valid data.
Approximate frequency (Hz)Center frequency to use in the frequency domain search for the single tone. The default is 10. This option is available only when you place a checkmark in the Search for Specific Frequency checkbox.

Block Diagram Inputs

ParameterDescription
SignalsContains the input signal or signals.
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
AmplitudeReturns the amplitude of the detected single tone in volts peak (Vp).
FrequencyReturns the frequency of the detected single tone in Hertz.
PhaseReturns the phase of the detected single tone in degrees.
error outContains error information. This output provides standard error out functionality.

Example

Refer to the Express VI - Filter VI in the labview\examples\Express VIs directory for an example of using the Tone Measurements Express VI.

 Open example  Find related examples