-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Hi, I'm using Mako G-508B GigE camera on raspberry pi 3b via Ethernet port. We need to let it do the metering before capture and fix the exposure time afterward. I managed to set the 'ExposureAuto' feature to 'Once', but it either went to the maximum exposure time(499993) or the minimum(32). The Vimba Viewer can set auto exposure successfully in both 'Once' and 'Continuous' mode and have the right exposure. Do you have any idea about this?
I'm not quite sure how to control the metering procedure, so I just did a forever loop to see if the exposure time would change to something reasonable:
camera.AcquisitionMode = 'Continuous'
camera.ExposureAuto = 'Once'
while 1:
camera.startCapture()
frame.queueFrameCapture()
camera.runFeatureCommand('AcquisitionStart')
camera.runFeatureCommand('AcquisitionStop')
frame.waitFrameCapture()
camera.endCapture()
camera.revokeAllFrames()
exposure = camera.ExposureTimeAbs
print(exposure)And it always ends up in 499993 or 32...
Besides, sometimes I got pictures like this:

Is there any way to avoid this?
Many thanks.
Metadata
Metadata
Assignees
Labels
No labels