Verifying the Syntax of a Calculation Formula

About this task

Perform a syntax check to make sure that your formula is constructed correctly and executes. The syntax check does not identify invalid (misspelled or deleted) tagnames in the dependency list. It does not check all branches of a calculation; it only tests the calculation formula based upon the logic and current values. It also may not return the same result as the collected value.

Procedure

In the Tag Maintenance screen, from the Calculation tab, select the Test button.
The dialog box shown in the following figure appears, with a Value and Quality statement confirming there are no errors.

If you have a syntax error, a dialog appears detailing the error, as shown in the following figure.