Logic Math & Logic Tool - Expression
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The Expression text box is used to construct a logical formula of tool pass and fail results. Use the Job and Tool Data Symbol Tree to assemble the formula. You can enter items by either double-clicking them, or highlighting them and pressing the Insert button.
- If the Expression references a tool that has been deleted, the reference will automatically be replaced by "Job.MissingArg" in the formula. The tool will return a Fail until the reference is corrected.
- When constructing formulas, EasyBuilder does not correctly parse tool names that begin with a cell address (e.g. A3_MyTool or P10_SortTool). If expressions need to be created for those tools, rename the tool before creating the formula.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The Job and Tool Data Symbol Tree contains the tool pass and fail results output by Location and/or Inspection Tools. The job and tool data are symbolic references to the values contained within them. Symbols can be added to the Expression by one of three methods:
- Expand the tree, select the desired symbolic reference and then press the Insert button.
- Expand the tree, and double-click the desired symbolic reference.
- Using a keyboard, type the name of the desired symbolic reference directly in the text box of the Expression.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The Insert button is used to place symbols into the Expression. Select the desired symbol and then press the Insert button to add the symbol to the Expression.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The Open Parenthesis, Comma, Close Parenthesis, AND, OR and NOT buttons are used to construct formulas. Press the appropriate button to add them to your formula.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The Delete button is used to delete highlighted words or symbols from the Expression. Highlight the desired word or symbol and press Delete.