How to Automatically Select which Inspection to Run |
Use the Select Inspection step to map Vision Builder AI inspections to numeric or string values. This allows you to configure Vision Builder AI to automatically choose which inspection to run based on the value of a numeric or string result from an I/O, Run LabVIEW VI, or User Input step.
The Select Inspection state applies to the system on which Vision Builder AI is installed, not to individual inspections.
Note The Select Inspection step is only available in the Select Inspection state. Select View»View Complete Inspection Setup and click Select Inspection to access the Select Inspection state. |
Note The Select Inspection step must be the last step in the Select Inspection state. |
- In the Select Inspection Source control, select the source you want to use to select the inspection to run.
- Click Add to add a value to the Inspections table.
- Use the Value control to specify a value from the specified Select Inspection Source to use to select a new inspection.
- In the Inspection control, browse to the inspection you want to correspond to the specified Value, and click Select.
- If necessary, repeat steps 2–4 to add additional values to the Inspections table.
- Select the Enable Inspection Selection checkbox to use Inspection Selection the next time an inspection is run in the Inspection Interface.
- Click OK to add the step to the Select Inspection state.