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

InTouch HMI

Produce Random Numbers

  • Last UpdatedNov 07, 2016
  • 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