Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

VmbCError(<VmbError.InternalFault: -1>) #153

Open
MaximilianCoenen opened this issue Mar 16, 2023 · 1 comment
Open

VmbCError(<VmbError.InternalFault: -1>) #153

MaximilianCoenen opened this issue Mar 16, 2023 · 1 comment

Comments

@MaximilianCoenen
Copy link

When running the following example code:

import cv2 as cv from vmbpy import * with VmbSystem.get_instance () as vmb: cams = vmb.get_all_cameras () with cams [0] as cam: frame = cam.get_frame () frame.convert_pixel_format(PixelFormat.Mono8) cv.imwrite('frame.jpg', frame.as_opencv_image ())

I receive the error "VmbCError: VmbCError(<VmbError.InternalFault: -1>)" appearing when executing the line "with cams [0] as cam:"

Can you provide any help how to fix this error?

@Teresa-AlliedVision
Copy link

Teresa-AlliedVision commented Mar 22, 2023

Hello,
this is most likely an issue with the Vimba installation and/or driver. Can you check how the camera behaves when you open it with Vimba Viewer? That would exclude the code and the Python API as error sources, to narrow down the suspects.
Edit: Just to add, the error will most likely need a reinstallation of parts of Vimba or the whole SDK. Also make sure, that no older Vimba versions are on the PC.
If the camera streams just fine in Vimba Viewer, then the drivers, transport layer and the underlying C-API can be assumed to be installed correctly. In that case, at least the Python API should be reinstalled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants