Owning Palette: Waveform Generation VIs
Requires: Full Development System
Generates a pseudorandom pattern of ones and zeros, where the probability of generating a one is one probability and the probability of generating a zero is (1–one probability).
If one probability is 0.7, each element of signal out has a 70% chance of being one and a 30% chance of being zero.
Add to the block diagram | Find on the palette |
reset signal, if TRUE, resets the seed to the seed control value and the time stamp to zero. The default is FALSE. | |||||
one probability specifies the probability of a given element of signal out being true (1). The default is 0.5. | |||||
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. With the following exception, this input provides standard error in functionality.
This node runs normally even if an error occurred before this node runs. |
|||||
sampling info contains sampling information.
| |||||
signal out is the generated waveform. | |||||
error out contains error information. This output provides standard error out functionality. |