IMAQdx Camera Not Detected in EXE While Working in LabVIEW Development

Updated Jun 18, 2026

Reported In

Software

  • LabVIEW

Driver

  • NI-IMAQdx

Issue Details

I am using a LabVIEW VI with IMAQdx functions to detect GigE cameras, and it works correctly in the development environment with all cameras detected and no errors. However, when I build the VI into an executable (.exe) and run it on the same PC, no cameras are detected. The IMAQdx Enumerate Cameras.vi returns an empty array, and the error cluster shows no error (status = FALSE, code = 0), indicating a silent failure.

 

The setup, hardware, and code are identical between the VI and the EXE. I have verified that the cameras are visible in NI MAX and that connectivity is working. How to resolve this issue?

Solution

To resolve the issue where the IMAQdx camera is not detected in the built executable, try the following steps:

  • Allow EXE Through Firewall
    Add the generated .exe to Windows Defender Firewall → Allowed apps and enable both Private and Public networks. GigE Vision discovery uses UDP broadcast, which can be blocked for executables.

  • Add Delay After Camera Discovery
    Insert a delay (e.g., ~10000 ms) after IMAQdx Discover Ethernet Cameras.vi before calling IMAQdx Enumerate Cameras.vi. This ensures the discovery process completes and the camera list is properly populated.

  • Verify High-Performance Driver Usage
    In NI MAX → Devices and Interfaces → Network Devices, check the network adapter.
    If available, install the High-Performance GigE Vision Driver, as it bypasses the Windows network stack and reduces firewall-related interference.