Camera Showing Blank Image on LabVIEW Executable

Updated Dec 29, 2021

Reported In

Software

  • LabVIEW
  • LabVIEW Runtime

Driver

  • NI-IMAQ
  • NI-IMAQdx

Issue Details

I have an application which uses IMAQ or IMAQdx for image acquisition. I grab 2 images at the same time from 2 separate cameras When I run the code in the development mode, I am able to acquire the actual images without any issue. When I make an .exe file and run it, I have a black/white image as shown in the screenshot below. How can I solve this issue?

kb.PNG
 

Solution

It is recommended to try the following steps to solve the issue:
  1. Make sure the camera is not in use by other application, for example NI MAX, Camera app, original code, etc. 
  2. Make sure you have the proper version of LabVIEW runtime installed correctly. For example, on the screenshot below, if you have built the application using LabVIEW 2020 SP1, make sure you have the LabVIEW Runtime 2020 SP1 installed.
kb2.png

   3. The issue can also happen because the application is being run on the later version of LabVIEW runtime, thus it can have driver incompatibility issue. Turn off the option Allow future versions of the LabVIEW Runtime to run this application in the build specifications. This will help, especially if you have the later LabVIEW runtime versions installed as well.

20.10.2021_11.11.03_REC.png