Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

GigE XML FIle Unable to Load

Hello,

I'm working with an AOS GigE camera - I can use the camera with the eBUS player, but can't get it to load in NI MAX.

I get the Error: 0xBFF6901D (Unable to load camera's XML file.)

I've downloaded the XML file from the camera and placed it in the folder:

C:\Users\Public\Documents\National Instruments\NI-IMAQdx\Data\XML

EDIT: Is the right way to update the XML? I couldn't find documentation on this.

 

This has not solved the issue.

 

I've been following this Troubleshooting doc:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YM6JCAW&l=en-US

 

I'm attempting to update the NIC driver, but don't believe that this is the issue because the same NIC is being used with eBUS player.

 

What other options can I try to get this camera working with LabVIEW/NIMAX?

0 Kudos
Message 1 of 8
(5,211 Views)

This generally means there is something syntactically wrong in the XML file. Other software (like Pleora's eBus Player) may not be fully exercising all the XML features and thus not hitting the error. Really the best avenue would be to work with the camera vendor to see if they have updated firmware that corrects the issue.

0 Kudos
Message 2 of 8
(5,187 Views)

That is the correct way to update the XML, but the filename must match exactly to what's programmed into the camera.  Open the camera in eBUS Player, go to "Device Control", change the visibility to "Guru", and look for the "GevFirstURL" and "GevSecondURL" attributes.  That should say the name of the XML file.  You can place the file unzipped into the "NI-IMAQdx/Data/XML/" folder.

image.png

 

If you still see problems after verifying you have the correct filename, it usually means there are problems with the XML file, as BlueCheese said.

0 Kudos
Message 3 of 8
(5,186 Views)

Oddly, there is a GevSecondURL but not a GevFirstURL property.

 

The GevSecondURL is the name of the XML file I was able to download directly from eBus player. I placed that in the folder you suggested. I've noticed that MAX names the camera something different than the XML file - "AOS Technologies CVIT" compared with the XML file name "AOS_Camera.xml". I'm unable to rename the MAX camera.

0 Kudos
Message 4 of 8
(5,173 Views)

Ah, yes. I've asked the vendor. They didn't have an updated version of the firmware.

Shouldn't eBus be following the GigE standard? So eBus can load the XML file but MAX cannot?

0 Kudos
Message 5 of 8
(5,172 Views)

A camera MUST implement the GigEVision "FirstURL" register in order to be compliant with the standard.  It is standard practice that the this is a path to where the XML file is stored in the camera.  If your camera is not setting this value, it will not be able to be opened by our software. 

 

As for the comment about the name of the camera- the camera name has nothing to do with the XML file name.  We just read the model and vendor names of the device and put them together to form the camera name. 

0 Kudos
Message 6 of 8
(5,166 Views)

One last thing to try.  In the "NI-IMAQdx/Data" folder you should see an ".iid" file that matches the short name of the camera in MAX (cam0, cam1, etc.).  Open up this iid file, and you should see the information about your camera.  At the bottom of the file, you should see AttributeURL = "".  Replace this empty value with the full path to the XML file.  So AttributeURL = "C:\Documents\...\NI-IMAQdx\Data\XML\<xml_filename>.xml".  Open MAX and try to open your camera again.

0 Kudos
Message 7 of 8
(5,164 Views)

Unless the XML file you are trying to point to is actually different from the one IMAQdx is downloading from the camera, there is not any point to trying to override it in IMAQdx. You should diff the files first.

 

Eric

0 Kudos
Message 8 of 8
(5,159 Views)