Migrating an Inspection to LabVIEW
You can migrate an inspection to the LabVIEW programming environment, creating a LabVIEW application that performs the same inspection task as the you configured in Vision Builder AI.
|
Note You must have launched LabVIEW at least once on your computer before migrating an inspection properly. |
|
Note You must have LabVIEW 8.5 or later and the NI Vision Development Module 8.6.1 or later installed on your computer to migrate an inspection to LabVIEW. |
- Select Tools»Migrate Inspection to LabVIEW to migrate the current inspection diagram to a LabVIEW VI. Vision Builder AI opens the LabVIEW VI Creation dialog box.
- Select the versions of LabVIEW and NI Vision you want to use to create the VI.
- Select a folder where you want to save the VI.
- Click OK to migrate the inspection to LabVIEW.
|
Note Template images, OCR character set files, and classification files are maintained independently from the rest of an inspection. If your inspection contains inspection steps that use additional files, such as the Match Pattern, Geometric Matching, or Detect Defects steps, you must copy the generated Template Files folder to each computer or remote target where you want to run the inspection. Otherwise, the template images necessary for the inspection will be missing. |
Step Requirements
Some Vision Builder AI steps require that additional software be installed to successfully migrate an inspection to LabVIEW. The following table lists the requirements for steps that require additional software.
|
Note NI-IMAQ, NI-IMAQdx, and NI-IMAQ I/O are available on the NI Vision Acquisition Software CD include with Vision Builder AI. |
Step Name |
Requirement |
Acquire Image |
NI-IMAQ 4.1 or later |
Acquire Image (IEEE 1394) |
NI-IMAQ for IEEE 1394 Cameras 2.0 or later; or NI-IMAQdx 3.0 or later with Legacy NI-IMAQ IEEE 1394 support enabled |
Acquire Image (IEEE 1394 or GigE) |
NI-IMAQdx 3.2 or later |
Acquire Image (Smart Camera) |
NI-IMAQ 4.1 or later |
Read/Write I/O |
NI-IMAQ 4.1 or later |
Read/Write I/O (NI-IMAQ I/O) |
NI-IMAQ I/O 2.3 or later |
Read/Write I/O (NI-DAQmx) |
NI-DAQmx 8.0 or later |
Generate Pulse |
NI-IMAQ 4.1 or later |
Generate Pulse (NI-IMAQ I/O) |
NI-IMAQ I/O 2.3 or later |
Data Logging |
LabVIEW Internet Toolkit |
Image Logging |
LabVIEW Internet Toolkit |