GEV_STATUS GevInitGenICamXMLFeatures(GEV_CAMERA_HANDLE handle, BOOL updateXMLFile);

 

Description

 

Retrieves the GenICam XML file from the camera and uses it to initialize internal access to the GenICam GenApi via an internal GenApi::CNodeMapRef object connected to the camera. Optionally, the XML file read from the camera is stored to disk.

Parameters

 

handle

Handle to the camera.

 

updateXMLFile

The GenApi:CNodeMapRef object is created from the XML data retrieved from the camera accessed via the camera handle.

If this flag is false, the XML file is not stored to disk.

If this flag is true, the XML file is stored to disk. The location (path) to the stored XML files will be relative to the GIGEV_XML_DOWNLOAD environment variable. The path will be:

$GIGEV_XML_DOWNLOAD/xml/download.

If that location is not writable by the application, the XML file will be stored in the “current” directory that the executable is running in.

 

 

Return Value

 

GEVLIB_OK on success

Related Topics

Member Function Descriptions