Generates a white noise signal with uniform or Gaussian distribution.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description |
|---|---|
| White Noise Type | Contains the following options:
|
| Execution Mode | Contains the following options:
|
| Scaling | Contains the following options:
|
| Parameter | Description |
|---|---|
| initialize | Sets the VI to the initial state determined by the seed input. The default is FALSE. |
| seed | Specifies the starting point in the internal pseudorandom pattern. |
| amplitude | Specifies the amplitude of the uniform white noise. The default is 32768, so the white noise out output is uniformly distributed between –32768 and 32767. If you wire a value greater than 32768 to the amplitude input, the VI coerces the value to 32768. The value you wire to this input overrides the value in the configuration dialog box. |
| RMS | Specifies the root mean square (RMS) value of white noise out. The default is 4096. You can set RMS to any value from 0–6000. If you wire a value greater than 6000, the VI coerces the value to 6000. The value you wire to this input overrides the value in the configuration dialog box. |
| Parameter | Description |
|---|---|
| data ready? | Specifies if white noise out is valid. The data ready? output appears only if you configure the VI to generate a Gaussian signal inside a single-cycle Timed Loop. The data ready? output returns TRUE every nth call to the VI. To ensure code executes only when white noise out is valid, wire the data ready? output to a Case structure and include the code you want to execute in the TRUE case. |
| white noise out | Returns the uniformly distributed or Gaussian-distributed, pseudorandom pattern as a 16-bit integer. |
For Gaussian signals, the White Noise Generator Express VI calculates the sum of n samples of uniform white noise and scales the result to fit the range. If RMS is 4096, the theoretical peak value is 24576 and the crest factor is 6. So, the maximum possible output value is 6 standard deviations above 0. Output values saturate if the peak value is greater than 32767. If RMS is 6000, the peak value is 32767 and the crest factor is 5.46. The following graph shows a comparison between an ideal Gaussian curve and the curve the White Noise Generator Express VI returns.
The White Noise Generator Express VI cannot guarantee that the mean is zero.