1. Select Tools»Create LabVIEW VI.
    Note If Create LabVIEW VI is disabled in the Tools menu, insert a step in Vision Assistant script prior to creating the LabVIEW VI.
  2. Select the version of LabVIEW that you want to use to create the VI.

    If you have several versions of LabVIEW installed, the wizard displays a list of available LabVIEW versions that you can use to create the VI.

      • If you select 32 or 64-bit LabVIEW 201x, browse to the location to which you want to save the VI.
      • Select Optimize Code for Parallel Execution if the performance of your task could benefit from parallelization.
    1. If you select LabVIEW NXG, the wizard displays two options:

      • Add VI to Current Project
      • Add VI to New Project

    If you select Add VI to New Project, Vision Assistant will launch a new LabVIEW NXG window and create a new project.

  3. Click Next.
  4. Select the image source for the VI.
    • Image Control — Creates an Image In control and Image Out indicator, allowing you to use the created VI as a sub-VI.
    • Image File — Creates the diagram to open an image file from the hard drive.
    • Image Acquisition — Creates the diagram to acquire an image from a camera connected to an NI image acquisition device.
  5. Click Next.
  6. Select the controls and indicators that you want to appear on the front panel of the generated VI. Items selected will also be connected to the connector pane of the VI. Items not selected will appear as constants on the diagram, with values set to the same values configured in the property page of each step.
  7. Click Finish to create the VI.