IMAQdx Session In Control Disabled in Executable

Updated Apr 3, 2019

Reported In


  • NI-IMAQdx
  • Vision Acquisition Software 14.0

Issue Details

I am using IMAQdx to work with cameras in my application. The user must be able to select the camera to be used in the user interface with a Session In control. When creating an executable the drop down functionality of that control is disabled. Why is the control disabled?


From Vision Acquisition Software August 2014, Session In drop-down enumeration list in your executable has been disabled. This does not mean that the driver is not discovering cameras, which you can test by typing in the camera name into the Session control (e.g. cam0 for the first discovered camera on the system).

The intended behavior is for deployed vision applications to abstract away the camera selection process from end users. Ideally, your code should programmatically enumerate the cameras with the IMAQdx Enumerate and then determine which camera (based on bus type, serial number, model number, etc) to target.

If your application requires end user selection of the camera, a Combo Box can be populated with the names of cameras plugged into your system using the IMAQdx Enumerate and the Strings[] property of the Combo Box . This can be seen in the VI snippet below.

Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.