|
Description: |
The random number generator is one of the most utilitarian components. It produces numbers, of a given range at a given frequency in time. There is an enable input that is by default ON, and a single output which makes available the produced value.
By viewing the properties dialog of the component, selections can be made for the Number Genration Type, and the Number Generation Frequency. For the number type, there are three choices: Floating Point Range (0.0 to 1.0) Floating Point Range (-1.0 to 1.0) Integer Range from a user-specified min and max
For the Number Generation Frequency, there are two choices that dictate how often the random number should be generated: One time every 'x' cycles One time every 'x' seconds.
One additional choice is whether or not to have the output value be 0 in between cycles of number production. If this is unchecked, and a number is not produced every cycle, then the last number produced will remain in as the output value. Otherwise, if checked, then the output value will revert to zero (0) value until the next random number is produced. |