Generates a waveform composed of a sum of sine tones, noise, and DC offset.


icon

Inputs/Outputs

  • cbool.png reset signal

    reset signal, if TRUE, resets the phase of each tone to the phase value from the tones array, the seed to the seed control value, and the time stamp to zero. The default is FALSE.

  • c1dnclst.png tones

    tones contains the parameters for each sine tone.

  • cdbl.png frequency

    frequency specifies the frequency of the sine tone in hertz.

  • cdbl.png amplitude

    amplitude specifies the amplitude of the sine tone.

  • cdbl.png phase

    phase specifies the initial phase of the sine tone in degrees. The default is 0.

  • cdbl.png noise (rms)

    noise specifies the rms level of the additive Gaussian noise. The default is 0.0.

  • cdbl.png offset

    offset is the DC offset of the signal. The default is 0.0.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

    This node runs normally even if an error occurred before this node runs.

  • cnclst.png sampling info

    sampling info contains sampling information.

  • cdbl.png Fs

    Fs is the sampling rate in samples per second. The default is 1000.

  • cdbl.png #s

    #s is the number of samples in the waveform. The default is 1000.

  • ci32.png seed

    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.

  • imsdt.png signal out

    signal out is the generated waveform.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Mathematics\Interpolation\1D Fourier Interpolation.vi