Create a LabVIEW VI
- Select Tools»Create LabVIEW VI.
- 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.
- Browse to the location to which you want to save the VI.
- Click Next.
- 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.
- Click Next.
- 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. - Click Finish.