Solution
This issue may happen when NI-IMAQdx assigns different interface names to the cammeras in your system. A classic example is when you develop in a Desktop PC containing only the camera of your application and you will move your code to a laptop that contains na integrated camera and you will connect the camera of your application. In the first case, NI-IMAQdx will assign the name
cam0 to your external camera, but in the Laptop it will be named
cam1 because the integrated webcam was named
cam0.
The
IMAQdx Enumerate Cameras.vi helps you to address this issue programmatically in LabVIEW by listing the available cameras in your system.
The
Camera Information Array output is na array of clusters containing the information on the camera.