Set Variable Controls

NI Vision Builder

Identify Parts
Custom Overlay

Set Variable Controls

The following controls are located on the property page for the step.

Control Name Description
Step Name Name to give the step.
Variables Displays a list of the variables available in the inspection. The following information is displayed for each variable:
  • Name—Name of the variable.
  • Scope—Displays the scope of the variable. Inspection variables are available only in the current inspection, System variables are available for any inspection on the computer, and network variables are available to any device on the network that supports LabVIEW variables.
  • Current Value—Current value of the variable. The current value is not displayed for Network variables to prevent delays caused when a network source is unavailable.
  • Operation—Describes how the variable will be updated. The description that is shown is based on the settings configured for the Operation controls.
  • New Value—Value of the variable after an update occurs.
Operation Specifies what action to perform to update the value of the selected variable. The following options are available:
  • Do Not Set—Does not modify the variable when the step executes.
  • Set to Constant—Sets the value of the selected variable to a user-specified constant.
  • Set to Measurement—Sets the value of the selected variable to the value of a previous measurement result from a step in the same state as the Set Variable step. Only previous measurement results that are of the same type as the variable can be selected.
  • Increment—Increases the value of the selected variable by one. This control is only available for numeric variables.
  • Decrement—Decreases the value of the selected variable by one. This control is only available for numeric variables.
Comment Allows you to enter information about the purpose and behavior of the variable.
Edit Variables Launches the Variable Manager, which is used to create and configure variables.