-
Notifications
You must be signed in to change notification settings - Fork 80
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
Communication with Thorlabs uc480 camera #140
Comments
Hi, thanks for the report. What model of camera are you using? Sometimes cameras don't have support for hardware AOI, although if I remember correctly we should have support for software AOI. Also, some cameras only support some AOI values, e.g. the edges must be powers of 2. It seems a bit strange that x works while y doesn't, but it could be the hardware. |
Hello, this is the camera I'm using |
You might play around with trying different values of Also try using |
Oh, I just noticed: the camera you're using is only 1024 pixels tall, so it's not big enough to have a rectangle with a center at 600 and top at 10 (the bottom would have to be at 1190). So the If this is the issue, we should probably add a warning if the specified AOI is too big. |
hello, sorry for the delay. I tried different values for the y axis (even cy=500 and top=100 doesn't work. but cy=700 and 400 works.) |
I was able to get the current image from a Thorlabs uc480 camera using
instrumental
. My issue is when I try to adjust the parameters forgrab_image
. I can changecx
andleft
to any value and get an image. Butcy
andtop
only works ifcy=600
andtop=300
. The purpose is to create a GUI so that the user can select values for these parameters to zoom in/out an image.Here is my code
The above code does not give an image if I choose
cy=600
andtop=10
. Are there any particular value set to be used for these parameters? How can I get an image of the full sensor size?The text was updated successfully, but these errors were encountered: