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

AVEVA™ Plant SCADA

Graphic Script Time outs

  • Last UpdatedJul 13, 2023
  • 1 minute read

To avoid infinite loops in a graphic script, a time-out limit can be set in which FOR loops must complete execution. If a script loop does not complete execution within the time-out limit, WindowViewer automatically terminates the loop and writes a message to the Logger.

The time-out limit is checked only at the NEXT statement of the loop. Therefore, the first iteration of the loop is always executed, even if it exceeds the time-out limit.

To change the time out for a graphic script

  1. In WindowMaker, on the Special menu, point to Configure and click WindowViewer. The WindowViewer Properties dialog box appears.

  2. Click the Managed Application tab.

  3. In the Script timeout (msec) box, type a time-out value in milliseconds. Valid values are from 1 to 360,000.

  4. Click OK.

About Graphic Scripts

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