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

AVEVA™ InTouch HMI

Configure QuickFunctions

  • Last UpdatedApr 09, 2025
  • 2 minute read

You can create, modify, or delete QuickFunctions.

Create a QuickFunction

  1. In the Scripts pane, right-click QuickFunctions, and then select New.

    The QuickFunctions dialog box appears.

    QuickFunctions dialog

  2. In the Function box, enter a name for the QuickFunction.

  3. In the Arguments area, for each argument, enter a name on the left and a data type on the right.

    Arguments are local variables that exist only within the QuickFunction in which they are defined. You can have up to 16 arguments per QuickFunction. Argument names can have 31 characters but no spaces. The argument names must begin with an alpha character. Argument names must be unique.

  4. Type your script in the window.

  5. To cause the QuickFunction to return a result, add to your script: RETURN value

    Value can be a literal value, a local variable, or global tagname or calculated expression. The script terminates at the RETURN command and continues at the calling function.

  6. Select OK.

Modify a QuickFunction

  1. In the Scripts pane, expand QuickFunctions, right-click the QuickFunction to modify and select Open. The QuickFunctions dialog box appears.

  2. Make modifications to the script body and select OK.

    Note: You cannot make modifications to the argument list if there are calls to the QuickFunction in the InTouch application. You must delete those calls first, close all InTouch windows, and update the use counts.

    Delete a QuickFunction

    1. Delete all calls to the QuickFunction, close all InTouch windows, and update the use counts.

    2. In the Scripts pane, expand QuickFunctions, right-click the QuickFunction to delete and select Delete. When a message appears, select Yes.

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