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


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 trial probability

    trial probability is the probability that a given trial is true (1). trial probability must be in the range [0, 1]. The default is 0.5.

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

  • ci32.png trials

    trials is the number of trials performed for each element of signal out. The default is 1.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.

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