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

AVEVA™ InTouch HMI

About QuickFunctions

  • Last UpdatedFeb 21, 2017
  • 1 minute read

QuickFunctions are scripts that you can call from other scripts and animation links. The main advantage of QuickFunctions is a reduction in duplicate code.

You can pass values to QuickFunctions, which can use the values and return results.

QuickFunctions can run asynchronously. Unlike other scripts, they can run in the background without disrupting the main program flow. A QuickFunction running asynchronously can be used for time-consuming operations, such as SQL database calls.

Note: Plan QuickFunctions and their arguments carefully, because if you want to modify the arguments in a QuickFunction, you must first delete all calls to that QuickFunction from every script that uses the QuickFunction. After the change is made, you must then add the QuickFunction call back to the scripts. See the note in Configure QuickFunctions.

There are three basic parts of a QuickFunction:

  • Name

  • Arguments (optional)

  • Script body with optional return values

QuickFunctions are executed by using the CALL function in either an animation link or another script. See Call QuickFunctions.

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