pypylon icon indicating copy to clipboard operation
pypylon copied to clipboard

Control channel not open

Open 2JONAS opened this issue 4 years ago • 1 comments

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

2JONAS avatar Jun 01 '21 01:06 2JONAS

will the software works fine if you restart it?

SMA2016a avatar Jul 15 '21 20:07 SMA2016a