Hello!
If for some reason or another, the code is forcefully terminated, while inside of the camera context, I receive the following message, when trying to access the camera the next time:
vmbpy.error.VmbCameraError: Accessed Camera 'DEV_000F315BB1FC' with invalid Mode 'AccessMode.Full'. Valid modes are: (<AccessMode.Read: 2>,)
That makes sense, since the cleanup/teardown part of the context was not executed. The only way to recover the camera access that I found so far, is to physically reconnect the camera.
Is there any way to either prevent this problem or to recover from it using vmbpy?
Thanks!
Hello!
If for some reason or another, the code is forcefully terminated, while inside of the camera context, I receive the following message, when trying to access the camera the next time:
That makes sense, since the cleanup/teardown part of the context was not executed. The only way to recover the camera access that I found so far, is to physically reconnect the camera.
Is there any way to either prevent this problem or to recover from it using vmbpy?
Thanks!