LabVIEW Sound and Vibration API Reference

SV Continuous Swept-Sine Frequency Response VI

  • Updated2024-06-18
  • 5 minute(s) read

SV Continuous Swept-Sine Frequency Response VI

Owning Palette: Continuous Swept Sine VIs

Requires: Sound and Vibration Toolkit

Computes frequency response measurements, including magnitudes and phases, by performing a continuous swept-sine measurement.

Note  To execute correctly, the SV Continuous Swept-Sine Frequency Response VI requires the waveforms in the "scaled signals [EU]" input to have specific attributes related to chirp. If the waveforms are missing these specific attributes, the following error is reported: "Error -1916 occurred at SoundVib_ContSweptSine.lvlib:sv_Check for Continuous Swept Settings.vi:7 Possible reason(s): Sound & Vibration: Expected waveform attribute was not found."

reset? specifies to reset the continuous swept-sine measurement. The default is FALSE.
view specifies the view settings for the magnitudes and phases.
dB on? specifies whether to return the magnitude in decibels. If dB on? is FALSE, this VI returns the magnitude linearly. The default is FALSE.
unwrap phase? (T) specifies whether to unwrap the phase. If unwrap phase? (T) is FALSE, this VI wraps the phase between 0 and 360 degrees, or between 0 and 2pi. If unwrap phase? (T) is TRUE, this VI removes discontinuities less than 0 degrees or greater than 360 degrees from the phase and does not restrict the phase to values between 0 and 360 degrees. The default is TRUE.
unit in degree? specifies whether to return the phases in degrees. If unit in degree? is TRUE, this VI returns the phase in degrees. If unit in degree? is FALSE, this VI returns the phase in radians. The default is TRUE.
scaled signals [EU] specifies the scaled signals expressed in the selected engineering units. To obtain a properly scaled signal, you can use the SVL Scale Voltage to EU VI or define a virtual channel in National Instruments Measurement & Automation Explorer (MAX).
reference channel specifies the channel index of the reference channel for computing the frequency response. The default is –1, which means to compare the response signal with the magnitude of the known stimulus chirp signal.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
buffer settings specifies the mode and size of the buffer.
buffer mode specifies the mode to buffer the input data.

0Infinite length (default)—Specifies to buffer the input data from the first block to the current block.
1Last block data—Specifies to buffer the input data for the current block.
2Custom—Specifies to buffer the input data according to the value you specify in buffer size.
buffer size specifies the length of the buffer. The default is 0. buffer size takes effect only when you set buffer mode to Custom.
zero delay? specifies whether a filter delay exists between the input signal and the output signal. The default is FALSE.
unit labels returns the units of the magnitude and phase of the frequency response.
magnitude unit label returns the unit of the frequency response magnitude.
phase unit label returns the unit of the frequency response phase.
scaled signals out [EU] returns the output scaled signals.
magnitudes returns the frequency response magnitudes for multiple channels.
frequency returns the x-axis value of the frequency response magnitude.
magnitude returns the y-axis values, in root-mean-square (RMS) engineering units, of the frequency response magnitude.
phases returns the frequency response phases for multiple channels.
frequency returns the x-axis value of the frequency response phase.
phase returns the y-axis values, in phase lag value, of the frequency response phase.
error out contains error information. This output provides standard error out functionality.

Log in to get a better experience