Exposure Auto (BCON for MIPI)#
If you want to use Exposure Auto and Gain Auto at the same time, use the Auto Function Profile feature to specify how the effects of both are balanced.
To adjust the exposure time manually, use the Exposure Time feature.
Using the Feature#
Enabling or Disabling Exposure Auto#
To enable or disable the Exposure Auto auto function, set the ExposureAuto
parameter to one of the following operating modes: - Continuous
: The camera adjusts the exposure time continuously while images are being acquired. - Off
: Disables the Exposure Auto auto function. The exposure time remains at the value resulting from the last automatic or manual adjustment.
Info
- On daA2500-60mc cameras, enabling or disabling Exposure Auto also enables or disables Gain Auto.
- When the camera is capturing images continuously, the auto function takes effect with a short delay. The first few images may not be affected by the auto function.
Sample Code#
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK; /* Return value of pylon methods */
/* Enable Exposure Auto by setting the operating mode to Continuous */
errRes = PylonDeviceFeatureFromString(hdev, "ExposureAuto", "Continuous");
CHECK(errRes);
You can also use the pylon Viewer to easily set the parameters.