Dual Channel Spectral Measurement
- Updated2025-01-28
- 8 minute(s) read
Dual Channel Spectral Measurement
Measures the frequency response of the input signals and the coherence based on the current and previous input signals. This Express VI returns results such as Magnitude, Phase, Coherence, Real, and Imaginary.

Dialog Box Options
Option | Description |
---|---|
Input Comparison | Specifies how to handle multiple signals in each input.
|
Frequency Response Function | Contains the following options:
|
Window | Specifies the window to apply to the signal.
|
Averaging | Specifies whether the Express VI performs averaging. |
Mode | Contains the following options:
|
Weighting | Contains the following options:
|
Number of Averages | Specifies the number of packets to average. The default is 10. |
Produce Spectrum | Contains the following options:
|
Windowed Input Signal A | Displays the first channel of Input Signal A. This graph displays the first incoming signal with windowing applied. If you wire data to the Express VI and run it, Windowed Input Signal A displays real data. If you close and reopen the Express VI, Windowed Input Signal A displays sample data until you run the VI again. |
Windowed Input Signal B | Displays the first channel of Input Signal B. This graph displays the second incoming signal with windowing applied. If you wire data to the Express VI and run it, Windowed Input Signal B displays real data. If you close and reopen the Express VI, Windowed Input Signal B displays sample data until you run the VI again. |
Results | If you wire data to the Express VI and run it, Results displays real data. If you close and reopen the Express VI, Results displays sample data until you run the VI again.
|
Inputs/Outputs
![]() Contains the first input signal or signals. This is assumed to be the excitation. The input signals must have the same number of data points, t0, and dt. If they do not, an error is returned. ![]() Describes error conditions that occur before this node runs. ![]() Specifies whether to restart the selected averaging process. The default is FALSE. When you call this Express VI for the first time, the averaging process starts automatically. This input appears only if you place a checkmark in the Averaging checkbox. ![]() Contains the second input signal or signals. This is assumed to be the response. The input signals must have the same number of data points, t0, and dt. If they do not, an error is returned. ![]() The magnitude from the frequency response calculations. This output appears only if you place a checkmark in the Magnitude checkbox. ![]() The imaginary part from the frequency response calculations. This output appears only if you place a checkmark in the Imaginary checkbox. ![]() The real part from the frequency response calculations. This output appears only if you place a checkmark in the Real checkbox. ![]() Returns TRUE when the number of averages completed equals or exceeds Number of Averages. This output appears only if you place a checkmark in the Averaging checkbox. ![]() The coherence from the frequency response calculations. This output appears only if you place a checkmark in the Coherence checkbox. ![]() Contains error information. This output provides standard error out functionality. ![]() The phase from the frequency response calculations. This output appears only if you place a checkmark in the Phase checkbox. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Express VIs\Express VI - Dual Channel Spectral Measurement.vi