LabVIEW Sound and Vibration API Reference

SV Configure Generator VI

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

SV Configure Generator VI

Owning Palette: Generation VIs

Requires: Sound and Vibration Toolkit

Configures a user-defined test signal. Wire the outputs to SV Signal (waveform) VI to generate the test signal, or wire to SV Signal Property Node to configure additional parameters before wiring to the SV Signal (waveform) VI.

Configure Sine

Use the Sine instance for single-tone measurements.

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
frequency (Hz) specifies the frequency, in hertz, of the signal this VI creates. The default value is 1000.
amplitude specifies the amplitude of the signal this VI creates. The default value is 1.
phase (deg) specifies the phase, in degrees, of the signal this VI creates. The default value is 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Square

Use the Square instance for step response and some multitone measurements such as phase linearity.

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
frequency (Hz) specifies the frequency, in hertz, of the signal this VI creates. The default value is 1000.
amplitude specifies the amplitude of the signal this VI creates. The default value is 1.
phase (deg) specifies the phase, in degrees, of the signal this VI creates. The default value is 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
duty cycle (%) specifies the percentage of time the square wave remains high over one period. The default value is 50.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Triangle

Use the Triangle instance for ramp response and some multitone measurements.

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
frequency (Hz) specifies the frequency, in hertz, of the signal this VI creates. The default value is 1000.
amplitude specifies the amplitude of the signal this VI creates. The default value is 1.
phase (deg) specifies the phase, in degrees, of the signal this VI creates. The default value is 0.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
duty cycle (%) specifies the percentage of time the triangle wave is rising. The default value is 1.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure White Noise

Use the White Noise instance for broadband test of electrical components and systems.

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
amplitude PDF specifies the probability density function of the waveform.

0Gaussian
1Rectangular
2Triangular
level specifies the threshold value signal in must cross before a trigger is detected. The default is 0.
seed specifies the seed of the noise sample generator. Seeds with different values greater than 0 generate different noise sequences. Values less than 0 cause reseeding each time this VI runs. The default is โ€“1.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Pink Noise

Use the Pink Noise instance for broadband test of acoustical components and systems. Set the maximum and minimum property values to guarantee that the signal will not exceed the output channel range.

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
level specifies the threshold value signal in must cross before a trigger is detected. The default is 0.
seed specifies the seed of the noise sample generator. Seeds with different values greater than 0 generate different noise sequences. Values less than 0 cause reseeding each time this VI runs. The default is โ€“1.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Periodic Random Noise

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
level specifies the threshold value signal in must cross before a trigger is detected. The default is 0.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is โ€“1. LabVIEW maintains the internal seed state independently for each instance of this reentrant VI. For a specific instance of this VI, if seed is less than or equal to 0, LabVIEW does not reseed the noise generator, and the noise generator resumes producing noise samples as a continuation of the previous noise sequence.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Maximum Length Sequence

Use the MLS instance for delay and reflection measurements.

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
polynomial order specifies the order of the modulo-2 primitive polynomial used to generate the test signal. If the input value is out of range, this VI truncates the polynomial order to [3, 62]. The default is 31.
amplitude specifies the amplitude of the signal this VI creates. The default value is 1.
seed, when greater than 0, causes reseeding of the noise sample generator. The default is โ€“1. LabVIEW maintains the internal seed state independently for each instance of this reentrant VI. For a specific instance of this VI, if seed is less than or equal to 0, LabVIEW does not reseed the noise generator, and the noise generator resumes producing noise samples as a continuation of the previous noise sequence.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Multitone (Custom)

Use the Multitone instance for broadband response and distortion measurements.

overall amplitude specifies the total amplitude of the multitone signal this VI creates.
template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
frequencies [Hz] specifies the frequencies, in hertz, of each waveform in the multitone signal this VI creates.
amplitudes specifies the coerced amplitude of each tone. The default value is 1.
phases [deg] specifies the phase, in degrees, of each waveform in the signal this VI creates.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
tones returns the actual tones that will be generated from the signal configuration. If an overall amplitude is specified, this output will indicate the coerced amplitude for each tone.
error out contains error information. This output provides standard error out functionality.

Configure Continuous Sweep

The output signal is a continuous chirp suitable for broadband response and distortion measurements. The continuous sweep maximizes the instantaneous power at the test frequency while minimizing test signal discontinuity.

amplitude specifies the amplitude of the signal this VI creates. The default value is 1.
template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
frequency range [Hz] specifies the frequency band of analysis. Increasing the stop frequency will result in a higher sampling frequency. If the frequency range requested leads to DAQ error 10019 Invalid frequency, override the sampling rate with the max rate of device.
start frequency specifies the lowest frequency of interest for the analysis band in hertz. The valid range is between 0 and the Nyquist frequency. You can exclude the DC components from your measurement by setting start frequency to 2 * df.
stop specifies, in hertz, the highest frequency of interest for the analysis band. The valid range is between 0 and the Nyquist frequency. The default is 10,000.
duration [s] specifies the duration, in seconds, of the frequency sweep.
profile specifies the type of progression used during the sine sweep. The sine source frequency steps from the start frequency to the stop frequency. The frequency steps in a linear or logarithmic progression based on the profile setting.

0Linear
1Logarithmic
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Frequency Sweep at Constant Amplitude

The output signal is a series of discrete frequency segments that maximizes power at each test frequency to achieve the best possible SNR.

amplitude specifies the amplitude of the signal this VI creates. The default value is 1.
template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
frequency range [Hz] specifies the frequency band of analysis. Increasing the stop frequency will result in a higher sampling frequency. If the frequency range requested leads to DAQ error 10019 Invalid frequency, override the sampling rate with the max rate of device.
start frequency specifies the lowest frequency of interest for the analysis band in hertz. The valid range is between 0 and the Nyquist frequency. You can exclude the DC components from your measurement by setting start frequency to 2 * df.
stop specifies, in hertz, the highest frequency of interest for the analysis band. The valid range is between 0 and the Nyquist frequency. The default is 10,000.
number of steps specifies the number of steps of the sine sweep. The default is 100 steps.
profile specifies the type of progression used during the sine sweep. The sine source frequency steps from the start frequency to the stop frequency. The frequency steps in a linear or logarithmic progression based on the profile setting.

0Linear
1Logarithmic
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Amplitude Sweep at Constant Frequency

Use an amplitude sweep to verify the amplitude linearity of a system.

frequency (Hz) specifies the frequency, in hertz, of the signal this VI creates. The default value is 1000.
template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
amplitude range specifies the amplitude band of analysis. Increasing the stop amplitude will result in a higher sampling amplitude.
start amplitude specifies the lowest amplitude of interest for the analysis band. The default value is 10
stop specifies the highest amplitude of interest for the analysis band. The default is 10,000
number of steps specifies the number of steps of the sine sweep. The default is 100 steps.
profile specifies the type of progression used during the sine sweep. The sine source frequency steps from the start frequency to the stop frequency. The frequency steps in a linear or logarithmic progression based on the profile setting.

0Linear
1Logarithmic
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Configure Discrete Sweep (Custom)

The output signal is a series of discrete frequency segments that maximizes power at each test frequency to achieve the best possible SNR. Use this instance to configure a custom list of frequency and amplitude pairs.

template configuration specifies a test signal configuration to use as a template for the new signal configuration. All properties available in the SV Signal Property Node, except for Generation State, are taken from template configuration and written to the new signal configuration.
custom list specifies custom frequencies and associated amplitudes used for swept-sine measurements.
tone settings specifies the frequency and associated amplitude used for swept-sine measurements.
frequency specifies the frequency, in hertz, used for swept-sine measurements.
amplitude specifies the amplitude, in volts-peak, associated with each frequency.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
signal configuration indicates the configuration information for the test signal specified by the input parameters and the polymorphic instance chosen.
error out contains error information. This output provides standard error out functionality.

Log in to get a better experience