From 7:00 PM CST Friday, January 24th - 7:00 PM CST Sunday, January 26th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Random Number (Range) (I64) (G Dataflow)

Last Modified: January 24, 2019

Generates a random value from a specified range.

This node returns a value greater than or equal to lower bound and less than or equal to upper bound. If upper bound is less than or equal to lower bound, this node returns lower bound.

connector_pane_image
datatype_icon

upper bound

The upper limit of the range.

Default: 100

datatype_icon

lower bound

The lower limit of the range.

Default: -100

datatype_icon

number

A random number greater than or equal to lower bound and less than or equal to upper bound.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics