Owning Palette: Waveform Measurements VIs
Requires: Full Development System
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. The input signal can be real or complex and single-channel or multichannel. Wire data to the time signal in input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
time signal in is the time-domain waveform. | |||||||||||
export mode selects the source of the signal and spectrum to export to exported signals.
|
|||||||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||||||
advanced search controls the frequency domain search area, center frequency, and width. You use advanced search for narrowing the single tone search range.
| |||||||||||
exported signals contains the signals specified by export mode.
| |||||||||||
detected frequency is the frequency of the detected single tone in Hz. | |||||||||||
detected amplitude is the peak amplitude of the detected single tone. | |||||||||||
detected phase is the phase of the detected single tone in degrees. Use the Wrap Angle VI to change the units of detected phase. Wire detected phase to the angle in input on the Wrap Angle VI, and select degree in, degree out or degree in, radians out for the angle units input. |
|||||||||||
error out contains error information. This output provides standard error out functionality. | |||||||||||
measurement info returns information about your measurement, mainly warnings for inconsistencies in your input signal.
|
time signal in is the time-domain waveform. | |||||||||||
export mode selects the source of the signal and spectrum to export to exported signals.
|
|||||||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||||||
advanced search controls the frequency domain search area, center frequency, and width. You use advanced search for narrowing the single tone search range.
| |||||||||||
exported signals contains the signals specified by export mode.
| |||||||||||
detected frequency is the frequency of the detected single tone in Hz. | |||||||||||
detected amplitude is the peak amplitude of the detected single tone. | |||||||||||
detected phase is the phase of the detected single tone in degrees. Use the Wrap Angle VI to change the units of detected phase. Wire detected phase to the angle in input on the Wrap Angle VI, and select degree in, degree out or degree in, radians out for the angle units input. |
|||||||||||
error out contains error information. This output provides standard error out functionality. | |||||||||||
measurement info returns information about your measurement, mainly warnings for inconsistencies in your input signal.
|
The waveform array input should be the result of a multichannel acquisition where each element of the array of waveforms is a distinct and separate channel of data.
time signals in is an array of time-domain waveforms. | |||||||||||
export mode selects the source of the signal and spectrum to export to exported signals.
|
|||||||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||||||
advanced search controls the frequency domain search area, center frequency, and width. You use advanced search for narrowing the single tone search range.
| |||||||||||
exported signals is an array of exported signals.
| |||||||||||
detected frequencies is an array of frequencies of the detected single tone in Hz for each waveform. | |||||||||||
detected amplitudes is an array of peak amplitudes of the detected single tone for each waveform. | |||||||||||
detected phases is an array of phases of the detected single tone in degrees for each waveform. Use the Wrap Angle VI to change the units of detected phases. Wire detected phases to the angle in input on the Wrap Angle VI, and select degree in, degree out or degree in, radians out for the angle units input. |
|||||||||||
error out contains error information. This output provides standard error out functionality. | |||||||||||
measurements info is an array that returns information about your measurement, mainly warnings for inconsistencies in your input signal.
|
time signals in is an array of time-domain waveforms. | |||||||||||
export mode selects the source of the signal and spectrum to export to exported signals.
|
|||||||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||||||
advanced search controls the frequency domain search area, center frequency, and width. You use advanced search for narrowing the single tone search range.
| |||||||||||
exported signals is an array of exported signals.
| |||||||||||
detected frequencies is an array of frequencies of the detected single tone in Hz for each waveform. | |||||||||||
detected amplitudes is an array of peak amplitudes of the detected single tone for each waveform. | |||||||||||
detected phases is an array of phases of the detected single tone in degrees for each waveform. Use the Wrap Angle VI to change the units of detected phases. Wire detected phases to the angle in input on the Wrap Angle VI, and select degree in, degree out or degree in, radians out for the angle units input. |
|||||||||||
error out contains error information. This output provides standard error out functionality. | |||||||||||
measurements info is an array that returns information about your measurement, mainly warnings for inconsistencies in your input signal.
|
A real tone signal can be expressed as shown in the following equation:
where A, f, and are the amplitude, frequency, and phase of the tone signal, respectively, and Fs is the sample rate in samples per second of the input waveform signal.
A complex tone signal can be expressed as shown in the following equation:
where A, f, and are the amplitude, frequency, and phase of the tone signal, respectively, and Fs is the sample rate in samples per second of the input waveform signal.
This VI is designed to process a single channel or multiple channels continuously, typically from within a For Loop or a While Loop.
For a real signal, the frequency range is (min frequency, max frequency) = (0, Fs/2). For a complex signal, the frequency range is (min frequency, max frequency) = (–Fs/2, Fs/2).
Refer to the following VIs for examples of using the Extract Single Tone Information VI: