Create a LabVIEW VI

NI Vision Assistant

Create a LabVIEW VI

  1. Select Tools»Create 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.

  3. Browse to the location to which you want to save the VI.
  4. Click Next.
  5. Select the script you want to use to create the VI. Current Script creates the VI from the script that is currently loaded in Vision Assistant. Script File allows you to browse for a script file.
  6. Click Next.
  7. 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.
    • Triggered Image Acquisition—Creates the diagram that performs a triggered image acquisition with an NI image acquisition device.
    • Image Acquisition from an IEEE 1394 Camera—Creates the diagram to acquire an image with an IEEE 1394 camera.
    Note  You must have NI-IMAQ for IEEE 1394 Cameras 1.5 or later installed to create the code to acquire images from IEEE 1394 cameras.
  8. Click Finish.