VimbaPython icon indicating copy to clipboard operation
VimbaPython copied to clipboard

retries exceeded

Open aalvim123 opened this issue 2 years ago • 7 comments

File "/app/vimba_client.py", line 75, in _start CameraConfigurator.setup(camera, calibration) File "/app/camera_configurator.py", line 32, in setup camera.load_settings(settings_file, PersistType.All) File "/opt/venv/lib/python3.10/site-packages/vmbpy/util/context_decorator.py", line 101, in wrapper return func(*args, **kwargs) File "/opt/venv/lib/python3.10/site-packages/vmbpy/util/runtime_type_check.py", line 58, in wrapper return func(*args, **kwargs) File "/opt/venv/lib/python3.10/site-packages/vmbpy/featurecontainer.py", line 207, in load_settings call_vmb_c('VmbSettingsLoad', File "/opt/venv/lib/python3.10/site-packages/vmbpy/util/tracer.py", line 131, in wrapper result = func(*args, **kwargs) File "/opt/venv/lib/python3.10/site-packages/vmbpy/c_binding/vmb_c.py", line 891, in call_vmb_c getattr(_lib_instance, func_name)(*args) File "/opt/venv/lib/python3.10/site-packages/vmbpy/c_binding/vmb_c.py", line 815, in _eval_vmberror raise VmbCError(result) vmbpy.c_binding.vmb_common.VmbCError: VmbCError(<VmbError.RetriesExceeded: -40>) 2023-11-16 07:50:48,359 INFO [vimba_client.py:95] VimbaCapture: Stopping streaming...

aalvim123 avatar Nov 16 '23 08:11 aalvim123

Not able to start camera, tried reloading the config file after deleting it on server but still same error

aalvim123 avatar Nov 16 '23 08:11 aalvim123

Can you provide context and your code:

  • Camera model
  • Camera firmware
  • Software version
  • OS

Teresa-AlliedVision avatar Nov 16 '23 09:11 Teresa-AlliedVision

Camera model - GT6400C (02-2701D) Camera firmware - 00.01.54.26872 Software version - Vimba X (latest) OS - linux

settings_file = CameraConfigurator._get_camera_settings_filename(camera.get_id()) with camera:

        if settings_file:
            # Load camera settings from file.
            camera.load_settings(settings_file, PersistType.All)

aalvim123 avatar Nov 16 '23 10:11 aalvim123

still waiting for response!!

aalvim123 avatar Nov 17 '23 07:11 aalvim123

For immediate support, please contact the official support channels: https://www.alliedvision.com/en/about-us/contact-us/technical-support-repair-/-rma/

For now, updating the firmware of the camera is a good first step, since there is a newer version available. If this happens every time you try to load the settings, try Vimba6 instead of VimbaX.

Teresa-AlliedVision avatar Nov 21 '23 07:11 Teresa-AlliedVision

Is this latest version of VimbaX ? Can you please share the installation link, Thanks.

aalvim123 avatar Nov 21 '23 11:11 aalvim123

First the link to the Firmware: https://www.alliedvision.com/en/support/firmware-downloads/ Vimba 6 is the older SDK, before VimbaX. VimbaX is newer, but it is optimized for the newer Alvium series, even if it supports the older portfolio as well. There aren't any known issues for your camera and the VimbaX load settings function, this would just be a tring to try. https://www.alliedvision.com/en/products/vimba-sdk/#c1497 The handling of Vimba is almost exactly the same as VimbaX and for basic scripts, you can usually port them by changing the name of the imported library only. But it might be easier to start witht he provided examples for Vimba 6 Python and modify those.

Teresa-AlliedVision avatar Nov 21 '23 13:11 Teresa-AlliedVision