Error in LabVIEW When Creating Controls in Vision Assistant Express VI With Map Defects Step

Updated Mar 11, 2025

Reported In

Software

  • LabVIEW
  • LabVIEW 2021 SP1

Driver

  • Vision Acquisition Software

Issue Details

I want to add a new step called Map Defects in the Vision Assistant Express VI. I also want to show some controls and indicators in my LabVIEW VI. To reproduce the issue, I do the following: 
 
  1. Open Vision Assistant Express VI.
  2. Add any step and click finish.
  3. Reopen the already created Vision Assistant Express VI.
  4. Select function Map Defects, configure it.
  5. Click on Select controls.
  6. Select any control or indicator for Map Defects function.
  7. Click on finish.
As a result, I am getting an error message saying:

There was an error in the process of creating the Express VI's code.

image

When I click Ok, the express VI reverts back and does not save any changes.

How can I solve the issue?

Solution

As of LabVIEW 2021 SP1 and earlier, this is a known issue and is reported to NI. The CAR number is 2078553. To see whether the issue is fixed in the next versions, please refer to the bug fixes page of the released version, such as the one for LabVIEW 2021: LabVIEW 2021 Bug Fixes.

As a workaround, it is possible avoid the error and be able to create controls by adding the Map Defects function initially, once the express VI is deployed at the first time.