Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Simulate Signal (DSP Module)

LabVIEW DSP Module 2.5 Help
August 2007

NI Part Number:
371300C-01

»View Product Info

Simulates a sine wave, square wave, triangle wave, sawtooth wave, or noise (DC) signal.

Dialog Box Options
Block Diagram Inputs

Dialog Box Options

ParameterDescription
SignalContains the following options:
  • Signal type—Type of waveform to simulate. You can simulate a sine wave, square wave, sawtooth wave, triangle wave, or DC.
  • Frequency (Hz)—Frequency in hertz of the waveform. The default is 62.8.
  • Phase (deg)—Initial phase in degrees of the waveform. The default is 0.
  • Amplitude—Amplitude of the waveform. The default is 1.
  • Offset—DC offset of the signal. The default is 0.
  • Add noise—Adds noise to the simulated waveform.
  • Noise type—Specifies the type of noise to add to the waveform. This option is available only when you place a checkmark in the Add Noise checkbox. You can add the following noise types:
    • Uniform White Noise generates a signal that contains a uniformly distributed, pseudorandom pattern whose values are in the range [–a:a], where a is the absolute value of Amplitude.
    • Gamma Noise generates a signal that contains a pseudorandom pattern of values that are the waiting times to the Order number event of a unit mean Poisson process.
    • Poisson Noise generates a signal that contains a pseudorandom sequence of values that are the number of discrete events occurring in a given interval, specified by Mean, of a unit rate Poisson process.
    • Binomial Noise generates a signal that contains a binomially distributed, pseudorandom pattern whose values are the number of occurrences of an event, given the probability of that event occurring and the number of trials.
  • Noise amplitude—Maximum absolute value the signal can have. The default is 0.6. This option is available only when you select Uniform White Noise from the Noise type pull-down menu.
  • Order—Specifies the event number of the unit mean Poisson process. The default is 0.6. This option is available only when you select Gamma Noise from the Noise type pull-down menu.
  • Mean—Specifies the interval of a unit rate Poisson process. The default is 0.6. This option is available only when you select Poisson Noise from the Noise type pull-down menu.
  • Trials—Specifies the number of trials performed for each element of the simulated signal. The default is 1. The value you wire to this input overrides the value you set in the configuration dialog box.
  • Trial probability—Probability that a given trial is TRUE. The default is 0.6. This option is available only when you select Binomial Noise from the Noise type pull-down menu.
  • Seed number—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 number 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.
TimingContains the following options:
  • Samples per second (Hz)—Sampling rate in samples per second. The default is 8000.
  • Number of samples—Number of samples in the signal. The default is 128.
  • Integer number of cycles—Sets the nearest frequency and Number of samples such that the waveform contains an integer number of cycles.
  • Actual number of samples—Indicates the actual number of samples in the waveform when you select Integer number of cycles.
  • Actual frequency—Indicates the actual frequency of the waveform when you select Integer number of cycles.
Result PreviewDisplays the simulated signal.

Block Diagram Inputs

ParameterDescription
AmplitudeSpecifies the amplitude of the signal. The default is 1. The value you wire to this input overrides the value you set in the configuration dialog box.
FrequencySpecifies the frequency in hertz of the waveform. The default is 62.8. The value you wire to this input overrides the value you set in the configuration dialog box.
OffsetSpecifies the DC offset of the signal. The default is 0. The value you wire to this input overrides the value you set in the configuration dialog box.
PhaseSpecifies the initial phase in degrees of the signal. The default is 0. The value you wire to this input overrides the value you set in the configuration dialog box.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit