If the Acquisition Frame Rate feature is enabled, the camera's maximum frame rate is limited by the value you enter for the acquisition frame rate parameter.
For example, setting an acquisition frame rate of 20 frames per second (fps) has the following effects:
If the other factors limiting the frame rate allow a frame rate of more than 20 fps, the frame rate will be kept at a constant frame rate of 20 fps.
If the other factors limiting the frame rate only allow a frame rate of less than 20 fps, the frame rate won't be affected by the Acquisition Frame Rate feature.
// Set the upper limit of the camera's frame rate to 30 fpscamera.AcquisitionFrameRateEnable.SetValue(true);camera.AcquisitionFrameRateAbs.SetValue(30.0);
INodeMap&nodemap=camera.GetNodeMap();// Set the upper limit of the camera's frame rate to 30 fpsCBooleanParameter(nodemap,"AcquisitionFrameRateEnable").SetValue(true);CFloatParameter(nodemap,"AcquisitionFrameRateAbs").SetValue(30.0);
// Set the upper limit of the camera's frame rate to 30 fpscamera.Parameters[PLCamera.AcquisitionFrameRateEnable].SetValue(true);camera.Parameters[PLCamera.AcquisitionFrameRateAbs].SetValue(30.0);
/* Macro to check for errors */#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)GENAPIC_RESULTerrRes=GENAPI_E_OK;/* Return value of pylon methods *//* Set the upper limit of the camera's frame rate to 30 fps */errRes=PylonDeviceSetBooleanFeature(hdev,"AcquisitionFrameRateEnable",1);CHECK(errRes);errRes=PylonDeviceSetFloatFeature(hdev,"AcquisitionFrameRateAbs",30.0);CHECK(errRes);
# Set the upper limit of the camera's frame rate to 30 fpscamera.AcquisitionFrameRateEnable.Value=Truecamera.AcquisitionFrameRateAbs.Value=30.0
// Set the upper limit of the camera's frame rate to 30 fpscamera.AcquisitionFrameRateEnable.SetValue(true);camera.AcquisitionFrameRate.SetValue(30.0);
INodeMap&nodemap=camera.GetNodeMap();// Set the upper limit of the camera's frame rate to 30 fpsCBooleanParameter(nodemap,"AcquisitionFrameRateEnable").SetValue(true);CFloatParameter(nodemap,"AcquisitionFrameRate").SetValue(30.0);
// Set the upper limit of the camera's frame rate to 30 fpscamera.Parameters[PLCamera.AcquisitionFrameRateEnable].SetValue(true);camera.Parameters[PLCamera.AcquisitionFrameRate].SetValue(30.0);
/* Macro to check for errors */#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)GENAPIC_RESULTerrRes=GENAPI_E_OK;/* Return value of pylon methods *//* Set the upper limit of the camera's frame rate to 30 fps */errRes=PylonDeviceSetBooleanFeature(hdev,"AcquisitionFrameRateEnable",1);CHECK(errRes);errRes=PylonDeviceSetFloatFeature(hdev,"AcquisitionFrameRate",30.0);CHECK(errRes);
# Set the upper limit of the camera's frame rate to 30 fpscamera.AcquisitionFrameRateEnable.Value=Truecamera.AcquisitionFrameRate.Value=30.0