Use the Vision Assistant Express VI

NI Vision Assistant

Use the Vision Assistant Express VI

Use the Vision Assistant Express VI to quickly create a vision application and to select the controls and indicators that you want to be able to programmatically change in LabVIEW.

Complete the following steps if you are using the Vision Assistant Express VI for the first time in your VI. If you are using the Vision Acquisition Express VI, skip this section and proceed to the Using the Vision Acquisition Express VI with the Vision Assistant Express VI section.

When the Vision Assistant Express VI is placed on the LabVIEW block diagram, Vision Assistant opens.

  1. Open an image to process from the Vision Assistant environment. Click Open Image or click File»Open Image. Browse to the image you want to open and click Open.
  2. Develop your vision application using the Vision Assistant processing functions.
  3. When you have finished developing your application, click Select Controls.
  4. Select the controls and indicators that you want to be able to programmatically set in LabVIEW. The selected controls and indicators appear on the Express VI connector pane after you exit the configuration interface.
    Note Note  The Required Controls and Required Indicators appear on the Express VI connector pane by default.
  5. When you are finished selecting controls and indicators, complete one of the following options:
    • Click Finish to return to LabVIEW and update the Express VI.
    • Click Cancel to return to LabVIEW without modifying the Express VI.
    • Click Process Images to modify your application.
  6. To edit the Vision Assistant Express VI, double-click the Express VI on the block diagram.
    Note Note  Any changes you make in the Express VI dialog box could result in broken wires on the block diagram.

Use the Vision Assistant Express VI with the Vision Acquisition Express VI

Note Note  You must have NI Vision Acquisition Software installed to access the Vision Acquisition Express VI.

Use the Vision Acquisition Express VI to easily configure acquisitions from a camera or to simulate an acquisition. Use the Vision Assistant Express VI to process the image acquired with the Vision Acquisition Express VI.

  1. Place the Vision Acquisition Express VI on the block diagram and configure your acquisition. Refer to the NI Vision Acquisition Express VI Help for more information.
    Note Note  You must click the Test button in the Configure Acquisition Settings step of the Vision Acquisition Express VI wizard to be able to use the acquired image in Vision Assistant.
  2. Place the Vision Assistant Express VI on the block diagram. Vision Assistant will automatically open the image acquired from the Configure Acquisition Settings step of the Vision Acquisition Express VI wizard.
    Note Note  This feature only works when the Vision Assistant Express VI is placed on the block diagram. Otherwise, Vision Assistant follows the behavior described in Vision Assistant Express VI Image Caching.
  3. Develop your vision application using the Vision Assistant processing functions.
  4. When you have finished developing your application, click Select Controls.
  5. Select the controls and indicators that you want to be able to programmatically set in LabVIEW. The selected controls and indicators appear on the Express VI connector pane after you exit the configuration interface.
    Note Note  The Required Controls and Required Indicators appear on the Express VI connector pane by default.
  6. When you are finished selecting controls and indicators, complete one of the following options:
    • Click Finish to return to LabVIEW and update the Express VI.
    • Click Cancel to return to LabVIEW without modifying the Express VI.
    • Click Process Images to modify your application.
  7. To edit the Vision Assistant Express VI, double-click the Express VI on the block diagram.
    Note Note  Any changes you make in the Express VI dialog box could result in broken wires on the block diagram.

Related Topics

Vision Assistant Express VI Image Caching

Use Coordinate Systems with Vision Assistant Express VIs