Exposure Auto (BCON for MIPI)#
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.
- 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.
// Enable Exposure Auto by setting the operating mode to Continuous camera.ExposureAuto.SetValue(ExposureAuto_Continuous);
// Enable Exposure Auto by setting the operating mode to Continuous CEnumParameter(nodemap, "ExposureAuto").SetValue("Continuous");
/* 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.