Main
Overview
Getting Started
Components
Videos
Sample Files

simulation components, logic, intelligence, patterns
AIB2 Components - RandNum Generator
Category: Utility
  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.
 

  Inputs: 1
Input Name:
Description:
On Off
Boolean input of zero or non-zero value that either enables or disables random number generation. If this is zero, no number will be generated. Default is ON.

 

  Outputs: 1
Output Name:
Description:
Rand Number
The custom random double value to provided via the random number generator.

 

  Components in Same Category: Timer
Counter Reset on Value
Counter Reset on Event
Constant (k)
Integrated Logbook
CSV Data Feed
Match Count
Sim Action Stop
Sim Action Sound
Sim Action Message
Sim Info SimTime
Sim Info Count
Sim Info LocalTime
User Control Button
Data Value Storage
Diminishing Quantity
Sim Action Format
Indicator Light
7-Segment LED
Integrated Column Chart
8x8 LED Controller
8x8 LED Display
User Button Up Down
Dynamic Sim Value
Do Once


  Sample Files with this Component:
patgen1
randNum1
yahtzee

































































































































yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
yahtzee
 



Copyright © TinMan Systems, Inc. 2010-2015. All Rights Reserved.
Questions or comments: support@tinmansystems.com