Generates a waveform containing periodic random noise (PRN).


icon

Inputs/Outputs

  • cbool.png reset signal

    reset signal, if TRUE, resets the seed to the seed control value and the time stamp to zero. The default is FALSE.

  • cdbl.png spectral amplitude

    spectral amplitude is the magnitude of the frequency domain components of signal out.

  • 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.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • 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.

  • 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.

  • The output array contains all frequencies which can be represented with an integral number of cycles in the requested number of samples. Each frequency-domain component has a magnitude of the input spectral amplitude and random phase. Another way of thinking of the output array of PRN is that it is a summation of sinusoidal signals with the same amplitudes but with random phases. The unit of spectral amplitude is the same as the output PRN unit and is a linear measure of amplitude, much like the other Waveform Generation VIs.