Open tmid3 opened 5 months ago
As the Error Code and the terminal output say, there was no transport layer found. Please check your environmental variables and your VimbaX installation to make sure the transport layers for your camera interface are properly installed and their path referenced in the GeniCam GenTL variable.
vmbpy.c_binding.vmb_common.VmbCError: VmbCError(<VmbError.NoTL: -16>)
and
vmbpy.error.VmbTransportLayerError: Encountered an error loading Transport Layers during VmbStartup
I am running the example code:
vmb = vmb.VmbSystem.get_instance() with vmb: cams = vmb.get_all_cameras() for cam in cams: print(cam)
and with vmb is raising the error:
Traceback (most recent call last): File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/vmbsystem.py", line 500, in _startup call_vmb_c('VmbStartup', _as_vmb_file_path(self.__path_configuration)) File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/util/tracer.py", line 139, in wrapper return func(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/c_binding/vmb_c.py", line 892, in call_vmb_c getattr(_lib_instance, func_name)(args) File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/c_binding/vmb_c.py", line 811, in _eval_vmberror raise VmbCError(result) vmbpy.c_binding.vmb_common.VmbCError: VmbCError(<VmbError.NoTL: -16>)
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/pi-mc/Desktop/adjustVenv/laserAdjustment.py", line 21, in
with vmb:
File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/util/tracer.py", line 139, in wrapper
return func(*args, kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/vmbsystem.py", line 86, in enter
self._startup()
File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/util/tracer.py", line 139, in wrapper
return func(*args, *kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/util/context_decorator.py", line 44, in wrapper
return func(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/pi-mc/Desktop/adjustVenv/adjustVenv/lib/python3.11/site-packages/vmbpy/vmbsystem.py", line 511, in _startup
raise Exc(msg) from e
vmbpy.error.VmbTransportLayerError: Encountered an error loading Transport Layers during VmbStartup