pypylon
pypylon copied to clipboard
Control channel not open
When I use pypylon:
result = self.cameras[camera_id].RetrieveResult(5000, pylon.TimeoutHandling_ThrowException) success = result.GrabSucceeded()
I get an error: ERROR:root:Control channel not open. : LogicalErrorException thrown (file 'gxport.cpp', line 74) and I try to close and reopen camera during handle the exception: It will get error like: ERROR:root:Failed to open 'Basler raL2048-48gm#00305338A44F#192.168.187.2:3956'. The device is controlled by another application. Err: An attempt was made to access an address location which is currently/momentary not accessible. (0xE1018006) : RuntimeException thrown (file 'gigedevice.cpp', line 274)
The frequency of the problem is not high, usually after the camera works for several hours
will the software works fine if you restart it?