Software Configuration
You need to have GenICam™ installed, but that is done for you by the Image Acquisition Toolbox™. The necessary environment variables should automatically be set as part of the installation. You can optionally check to verify the following environment variables. See the examples below.
Note
If you have a camera that requires a GenICam XML file on a local drive (most cameras do not), you should set
MWIMAQ_GENICAM_XML_FILES
environment variable to the
directory of your choice, and then install the camera's XML file in that directory.
However, most cameras do not require or use local XML files.
Windows Example
MWIMAQ_GENICAM_XML_FILES=C:\cameraXML
You can test the installation by using the following command:
imaqhwinfo('gige')
and by looking at the relevant sections of the output when you run the
imaqsupport
function.
Linux Example
MWIMAQ_GENICAM_XML_FILES=/local/cameraXML
You can test the installation by using the following command:
imaqhwinfo('gige')
Mac Example
MWIMAQ_GENICAM_XML_FILES=/local/cameraXML
You can test the installation by using the following command:
imaqhwinfo('gige')
and by looking at the relevant sections of the output when you run the
imaqsupport
function.
Note
You do not need to install GenICam to use the GigE adaptor, because it is now included in the installation of the toolbox. However, if you are using the From Video Device block and doing code generation, you would need to install GenICam to run the generated application outside of MATLAB®.