04-11-2013 06:46 AM
Hello,
I am working on a design of GigE Vision camera. It should be very simple linescan camera. I implemented the whole required GigE Vision register set, can communicate with the camera in MAX. The problem is that I need to creata this XML file for the camera.There is this XML file here:
What should I do with it? My first version of the camera will have 2 funcions: turn it on and turn it off 🙂 I am bit confused, because the xml file template has lots of functions, that I don't really need. Should I delete them? Or leave inside with default values? What does minimal configuration XML file need?
Regards,
Linus
Solved! Go to Solution.
04-11-2013 01:15 PM
Hi Linus,
If you look at the GigE Vision Specification, you'll see that there is a minimal subset of features that must be present for the camera to be considered compliant. Those are all that IMAQdx will require for the camera to work properly. All the other features in the XML file you downloaded are part of the SFNC (Standard Features Naming Convention) that defines names/behavior for common features that are often found on machine vision cameras. Typically cameras implement some subset of those features. You should not leave any features that are not implemented in the XML file as it would just be confusing since they would do nothing.
Eric
04-12-2013 05:27 AM
Thank you very much! Perhaps I was too concentrated on digging through various documents and missed the important info.
And one more question: how does NI software build the *.icd file? By reading XML file? Or by reading registers in my camera?
04-12-2013 03:03 PM
@linru wrote:
Thank you very much! Perhaps I was too concentrated on digging through various documents and missed the important info.
And one more question: how does NI software build the *.icd file? By reading XML file? Or by reading registers in my camera?
Both. The XML is processed by the GenApi software component which then translates it to register operations. The XML file thus controls what features are visible based both on the XML file as well as the camera registers (features in the XML may be conditionally available based on the <pIsImplemented< tag). Next, the IMAQdx ICD file contains the subset of features in the XML file that are available and are tagged as <Streamable>, meaning they can be saved to a settings file.
Eric