Set Variable Configuration

NI Vision Builder

Use Additional Tools

How To Configure Variables

Use the Set Variable step to update the value of variables in an inspection. Variables are defined in the Variable Manager available from Tools»Variable Manager. Variables can be used by any step that supports measurement results.

  1. In the Step Name control, enter a descriptive name for the step.
  2. Select the variable you want to update from the Variables table.
  3. Select a value for the variable using the Operation controls. Numeric variables can also be set to increment or decrement by one when they are updated.
  4. Repeat steps 2 and 3 for all the variables you want to update.
Tip  Click Edit Variables to launch the Variable Manager, which you can use to create new variables, or edit the name or initial value of existing variables.