LabVIEW Error -1074360291 Using NI-IMAQdx

Updated Jul 25, 2022

Reported In

Software

  • LabVIEW

Driver

  • NI-IMAQdx

Issue Details

I am able to see correctly the camera with NI MAX, but when I am running a LabVIEW VI, I am getting the Error -1074360291 IMAQdx Open Camera vi

Solution

The Error -1074360291 is occurring on the IMAQdx Open Camera.vi, because the VI is unable to load the camera's XML file.
IMAQdx is not able to load the XML file if it is corrupted or if the XML does not match the GenICam protocol standards.
This issue is usually solved by deleting the XML file from the computer, so that the next time the camera is plugged in, it will transfer over a new XML file.
In order to do so, please follow the steps below:

  1. Disconnecting the camera from the PC
  2. Navigate to the directory, <Root>:\Users\Public\Documents\National Instruments\NI-IMAQdx\Data, which contains the .icd file for your camera as well as the XML folder.
  3. Delete the .icd file as well as the .xml files in the XML directory that corresponds to your camera.
  4. Reconnect the camera, and the .xml file will again be transferred over to the computer and a .icd file will be generated.