Vision Acquisition Express VI is Not Working on Deployed PC

Updated Sep 30, 2022

Reported In

Software

  • Vision Assistant
  • LabVIEW

Issue Details

My VI using Vision Acquisition Express VI works without issues on LabVIEW 2020 on my development PC. When I create an executable, it works too. But when I deploy it to another PC it does not work.

Solution

The initialization steps where the camera resource is declared is inside the Vision Acquisition Express VI, when deploying to another PC, this resource does not match the camera, and causes connection errors. 

To solve this, you can change the convert the Express VI and set the camera resource input as a Control that can be selected on the front panel. 

1. Right click on the Express VI and select Open Front Panel

kb1.png

2. Right click on the resulting Express VI and select Replace with SubVI Contents

kb2.png
3. Change the interface name constant into a Control that you'd need to change for the correct interface name based on what is shown on NI MAX for the camera.
kb3.png