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.
- 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.
- Develop your vision application using the Vision Assistant processing functions.
- When you have finished developing your application, click Select Controls.
- 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 The Required Controls and Required Indicators appear on the Express VI connector pane by default. - 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.
- To edit the Vision Assistant Express VI, double-click the Express VI on the block diagram.
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 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.
- 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 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. - 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 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. - Develop your vision application using the Vision Assistant processing functions.
- When you have finished developing your application, click Select Controls.
- 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 The Required Controls and Required Indicators appear on the Express VI connector pane by default. - 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.
- To edit the Vision Assistant Express VI, double-click the Express VI on the block diagram.
Note Any changes you make in the Express VI dialog box could result in broken wires on the block diagram.