Creating a User-Defined Function

Procedure

  1. Create a Calculation tag. See Creating a Calculation Tag.
  2. Select the new calculation tag from the tag list, and select the Calculations tab.
  3. Click the Functions button.
    The User Defined Functions dialog appears.
  4. Click the New button.
    The Edit Function dialog box appears.
  5. Create your new function.
    You can build formulas using the wizard, or create it manually by entering functions in the Edit Function box.
  6. Click the Syntax button to check for errors.
  7. After you have created your new function, click Update.
    Your function appears in the list, and is available for use in other calculations.