-
Notifications
You must be signed in to change notification settings - Fork 64
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
PyCapture2 error #100
Comments
@Moriaty-TT Apologies for this not occurring to me sooner, but is your camera supported by the newer Spinnaker SDK (PySpin python wrapper)? When Point Grey was acquired by FLIR, they deprecated the old FlyCapture2 SDK in favor of Spinnaker, which is why you are stuck with Python 3.6. If you camera is supported by the newer SDK, I would highly recommend you switch so you can move to a newer version of python as well. If it isn't, I can try to track down this particular issue, though no promises on the timeline. The best self-help I can recommend is picking through the C documentation of the SDK. It should provide a better explanation of the bus manager error. My quick guess is that it can't find your camera based on its serial number. You can test that theory by manually running the pycapture2 wrapper code from the blacs_device (in the terminal or a jupyter notebook) to try connecting to the camera outside of labscript. There should be a command for the Bus Manager to list all connected cameras which may help illuminate what is going on. |
Thanks for your help.But I've given up to use pychapture2 for the time being,and I'm trying another plan based on labscript to realize my experiment. |
For what it's worth, I was working with a camera using PyCapture2 and Python 3.6 recently, and saw the "Bus Master Failure" error. The problem for us was that we had specified the serial number as a string, whereas the labscript device class expects an integer - but no code checks this in order to raise a TypeError. |
I have a new problem,I am trying to solve it.
Here is my traceback
Thanks again for your help
_Originally posted by @Moriaty-TT in labscript-suite/labscript-utils#87
The text was updated successfully, but these errors were encountered: