Skip to content

Sensor Readout Mode#

The Sensor Readout Mode camera feature allows you to choose between sensor readout modes that provide different sensor readout times.

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 value 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#

// Set the sensor readout mode to Fast
camera.SensorReadoutMode.SetValue(SensorReadoutMode_Fast);
// Get the current sensor readout mode
SensorReadoutModeEnums e = camera.SensorReadoutMode.GetValue();
INodeMap& nodemap = camera.GetNodeMap();
// Set the sensor readout mode to Fast
CEnumerationPtr(nodemap.GetNode("SensorReadoutMode"))->FromString("Fast");
// Get the current sensor readout mode
String_t e = CEnumerationPtr(nodemap.GetNode("SensorReadoutMode"))->ToString();
INodeMap& nodemap = camera.GetNodeMap();
// Set the sensor readout mode to Fast
CEnumParameter(nodemap, "SensorReadoutMode").SetValue("Fast");
// Get the current sensor readout mode
String_t e = CEnumParameter(nodemap, "SensorReadoutMode").GetValue();
// Set the sensor readout mode to Fast
camera.Parameters[PLCamera.SensorReadoutMode].SetValue(PLCamera.SensorReadoutMode.Fast);
// Get the current sensor readout mode
string e = camera.Parameters[PLCamera.SensorReadoutMode].GetValue();
// Set the sensor readout mode to Fast
Pylon.DeviceFeatureFromString(hdev, "SensorReadoutMode", "Fast");
// Get the current sensor readout mode
string e = Pylon.DeviceFeatureToString(hdev, "SensorReadoutMode");
/* 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.