Random Input

Navigation:  Widget Designer > Nodes > Input Nodes > Generic Input >

Random Input

prev main next

Navigation:  Widget Designer > Nodes > Input Nodes > Generic Input >

Random Input

prev main next

Loading...

The Random input node provides a random number on a given update interval and value range.

This node can be found under Nodes > Input > Generic > Random

wd_nodes_input_random

Node Properties

Interval:
Enter the update interval in milliseconds.

Range:
Enter the value range.

Node control

With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).

Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).

In addition to the general commands, this nodes provides a specific function command, Node1.Refresh, that refreshes the output and generates a new random number before the actual interval is finished.

Node output values

The Node generates the following output:

- Random Value

- Random Values()