Skip to content

Auto exposure failure #119

@symphonyzoe

Description

@symphonyzoe

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:
20-01-07_10 46 13 019

Is there any way to avoid this?

Many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions