(gentl_38) C:\Users\salhadda\test_SNAP1>python snap.py C:\Users\salhadda\Documents\XMLFOLDER\ 2022-09-19 16:03:50,252 - harvesters - INFO - Added c:\Program Files\Critical Link LLC\GenTL Viewer\bin\GenTL.dll to the CTI file list. 2022-09-19 16:03:50,254 - harvesters - INFO - Discarded the device information list. 2022-09-19 16:03:50,263 - harvesters - INFO - Initialized GenTL Producer, c:\Program Files\Critical Link LLC\GenTL Viewer\bin\GenTL.dll. 2022-09-19 16:03:50,264 - harvesters - INFO - Opened System module, criticallink/gentl.dll. 2022-09-19 16:03:50,264 - harvesters - INFO - Opened Interface module, Simulated. 2022-09-19 16:03:50,273 - harvesters - INFO - Opened Interface module, GEV. 2022-09-19 16:03:51,296 - harvesters - INFO - Opened Interface module, U3V. 2022-09-19 16:03:51,338 - harvesters - INFO - Updated the device information list. Found 2 devices [(id_='DMK 33GR0134:45610566', vendor='The Imaging Source Europe GmbH', model='DMK 33GR0134', tl_type='GEV', user_defined_name=None, serial_number='45610566', version='Rev 1477, FPGA GigE3:35'), (id_='1EF80000061F', vendor='Critical Link LLC', model='MityCAM-35MMFHDXS', tl_type='U3V', user_defined_name=None, serial_number='1567', version='1.0')] 2022-09-19 16:03:51,533 - harvesters - INFO - Opened Device module, 1EF80000061F. 2022-09-19 16:03:51,540 - harvesters - WARNING - Error while parsing XML stream at line 2 and column 0 : 'syntax error' : RuntimeException thrown (file 'XmlParser.cpp', line 1720) Traceback (most recent call last): File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\harvesters\core.py", line 2313, in _get_port_connected_node_map node_map.load_xml_from_zip_file(file_path) File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\genicam\genapi.py", line 1826, in load_xml_from_zip_file return _genapi.NodeMap_load_xml_from_zip_file(self, ZipFileName) _genapi.RuntimeException: File open failed in ParseXmlFile. Filename = 'C:\Users\salhadda\Documents\XMLFOLDER\criticallink_systemgentl.xml' : RuntimeException thrown (file 'XmlParser.cpp', line 131) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\harvesters\core.py", line 2316, in _get_port_connected_node_map node_map.load_xml_from_file(file_path) File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\genicam\genapi.py", line 1820, in load_xml_from_file return _genapi.NodeMap_load_xml_from_file(self, FileName) _genapi.RuntimeException: Error while parsing XML stream at line 2 and column 0 : 'syntax error' : RuntimeException thrown (file 'XmlParser.cpp', line 1720) 2022-09-19 16:03:51,543 - harvesters - INFO - C:\Users\salhadda\Documents\XMLFOLDER\criticallink_systemgentl.xml has been removed Traceback (most recent call last): File "snap.py", line 46, in ia = h.create_image_acquirer(list_index=1) File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\harvesters\core.py", line 3379, in create_image_acquirer ia = ImageAcquirer( File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\harvesters\core.py", line 1769, in __init__ node_map = self._get_port_connected_node_map( File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\harvesters\core.py", line 2336, in _get_port_connected_node_map node_map.connect(concrete_port, port.name) File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\genicam\genapi.py", line 1947, in connect return self._connect(*args) File "C:\Users\salhadda\Anaconda3\envs\gentl_38\lib\site-packages\genicam\genapi.py", line 1857, in _connect return _genapi.NodeMap__connect(self, *args) _genapi.AccessException: Feature not present (reference not valid) : AccessException thrown (file 'NodeMapRef.h', line 497) 2022-09-19 16:03:51,567 - harvesters - INFO - Started resetting the Harvester object. 2022-09-19 16:03:51,569 - harvesters - INFO - Removed the all CTI file from the list. 2022-09-19 16:03:51,570 - harvesters - INFO - Discarded the device information list. 2022-09-19 16:03:51,571 - harvesters - INFO - Closed Interface module, Simulated. 2022-09-19 16:03:51,573 - harvesters - INFO - Closed Interface module, GEV. 2022-09-19 16:03:51,576 - harvesters - INFO - Closed Interface module, U3V. (gentl_38) C:\Users\salhadda\test_SNAP1>