Math.Random

This XCommand can be used to generate random item values.

Description

This logic generates a random value between From and To and stores it in the provided output item.

Inputs

None

Outputs

Name

Type

Mandatory/Optional

Description

RandomItemIDM

The itemID that will hold the random value.

Parameters

Name

Type

Mandatory/Optional

Description

FromNumberM

Lower limit of generated random values.

ToNumberMHigher limit of generated random values.

Possible trigger types

  • Any

Article applies to the following products:

  • NETx BMS Platform, XLogic Library 1.0.12+
  • NETx Multi Protocol Server, XLogic Library 1.0.12+