Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Produce random numbers

  • Last UpdatedJul 24, 2024
  • 1 minute read

In a script, use the following commands to produce a random number between 0 and 255:

OLE_CreateObject(%SR,"System.Random");

randtag = (%SR.NextDouble)*255;

TitleResults for “How to create a CRG?”Also Available in