Error Code: VmbErrorIncomplete -19

23
0
github

Error Code: VmbErrorIncomplete -19

We are using Allied Vision Alvium 800U508C. Psuedo code for process

take_image():
	with Vimba.get_instance() as vimba:
		cams=vimba.get_all_cameras()
			with cams[0] as cam: 
				set cams settings and save image 

main(): num_of_times = input("ask user")

while count <= num_of_times: 
		take_image() 
		do_1st_task_on_image() 
		do_2nd_task_on_machine()
		take_image()
		verify_the_task_done 
		count = count + 1

We are getting the error shown below. We have debugged this error to be caused by the with statement being called again and again but we cannot place with statement inside the main as it would cause problems for the rest of the code (APIs and Front end is being used).

cRuntime - failed to parse document (Error reading Attributes.)
cCameraActor - failed to setup features 

vimba.c_binding.vimba_common.VimbaCError(<VmbError.Incomplete: -19>)

Can you help in this regard?