Sensor Readout Mode#
Decreasing the sensor readout time can increase the camera's frame rate.
Using the Feature#
To configure the sensor readout mode, set the SensorReadoutMode
parameter to one of the following values:
Normal
: The readout time for each row of pixels remains unchanged.Fast
: The readout time for each row of pixels is reduced, compared to normal readout. Accordingly, the overall sensor readout time is reduced and the camera can operate at higher frame rates. This can, however, result in reduced image quality.
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 */
size_t len = 0;
char e_str[64] = {0};
/* Set the sensor readout mode to Fast */
errRes = PylonDeviceFeatureFromString(hdev, "SensorReadoutMode", "Fast");
CHECK(errRes);
/* Get the current sensor readout mode */
len = sizeof(e_str);
errRes = PylonDeviceFeatureToString(hdev, "SensorReadoutMode", e_str, &len);
CHECK(errRes);
You can also use the pylon Viewer to easily set the parameters.