-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Repeatedly opening and closing camera eventually causes error #792
Comments
The error I listed in the original post is what happens when I strip things down to reproduce my issue. However this is the error I initially got. I believe it is related (the camera is not open so grabbing does not get properly started and the software trigger cannot complete):
And the following error is what I think is the actual root cause. I can force this error to appear by instead running in emulation mode. However I believe it illustrates the root cause of the issue.
|
Same as #776 As we currently have not released the updated pypylon version you have to compile on your own for now: Install Pylon 8.0.1: https://www.baslerweb.com/de-de/downloads/software/96111466/ If you use the debian install pylon sdk will be in /opt/pylon so you can easily install using:
|
Thank you for your response and sorry for missing the duplicate issue. I will try compiling and testing the newer version but may just use a workaround to avoid this situation until the newer pypylon version is released. Will close this ticket, thanks again for the support. |
Describe the issue:
In our application we call InstantCamera.Open capture an image and then call InstantCamera.Close after we're done grabbing. After many image captures we would eventually get an error when executing a software trigger that the camera had not started grabbing. Occasionally we would get a different error complaining about hitting an open file limit in our Ubuntu operating system. I was eventually able to track the issue down to the fact that we were re-opening and closing the device for each image capture. It seems like InstantCamera.Close is not cleaning up everything it should be.
Reproduce the code example:
Error message:
Is your camera operational in Basler pylon viewer on your platform
Yes
Hardware setup & camera model(s) used
Intel i9 13900k x86
Ubuntu 22.04 LTS
64GB ddr5
There is a single ethernet switch connecting the cameras to the system. I don't know the exact model at this time but I'll try and find it.
Runtime information:
The text was updated successfully, but these errors were encountered: