Executable From Migration of a VBAI Script to LabVIEW Does Not Display Any Image

Updated Mar 20, 2019

Reported In

Software

  • Vision Builder for Automated Inspection

Issue Details

I have created an inspection with Vision Builder for Automated Inspection (VBAI). I have migrated it  Then I have created a standalone application. On my development computer everything works fine but when I deploy my executable or installer on a deployment computer, the application doesn't display any image from the camera even so I am using the same camera.

Solution

This issue can appear when you have multiple cameras to choose from on your computer.
When creating your inspection on your development computer, you selected a camera with a specific name (for example cam5).
On the deployment computer, once the chosen camera is detected by NI-MAX and you are able to take pictures you just need to rename it to  cam5.

To do so go to NI-MAX
  1. Select System > Devices and Interfaces  
  2. Right click on your camera and select Rename
  3. Change the name to the one you used in the inspection, for this example it is cam5

Additional Information

Be carefull not to have the same name on different cameras .

WAS THIS ARTICLE HELPFUL?

Not Helpful