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

AVEVA™ InTouch HMI

Add a script loop timer

  • Last UpdatedJul 02, 2024
  • 1 minute read

By default, a FOR-NEXT loop within an InTouch script must complete within five seconds. WindowViewer stops the script automatically if the FOR-NEXT loop processing has not finished by the time-out limit. This time-out limit prevents an infinite loop caused by a scripting error.

Occasionally, you may need to write a script in which the FOR-NEXT loop code processing exceeds the five second time-out limit. You can change the length of the time-out limit by adding the LoopTimeout parameter to your INTOUCH.ini file.

In this example, loop processing continues for a maximum of 20 seconds:

LoopTimeout=20

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