跳转到内容

Acquisition Line Rate#

The Acquisition Line Rate camera feature allows you to set an upper limit for the camera's line rate.

This is useful if you want to operate the camera at a constant line rate in free run image acquisition.

该功能的使用#

运作原理#

If the Acquisition Line Rate feature is enabled, the camera's maximum line rate is limited by the value you enter for the acquisition line rate parameter.

For example, setting an acquisition line rate of 80 kHz has the following effects:

  • If the other factors limiting the line rate allow a line rate of more than 80 kHz, the line rate will be kept at a constant line rate of 80 kHz.
  • If the other factors limiting the line rate only allow a line rate of less than 80 kHz, the line rate won't be affected by the Acquisition Line Rate feature.

信息

To determine the actual line rate, use the Resulting Acquisition Line Rate feature.

Setting the Acquisition Line Rate#

  1. 设置 AcquisitionLineRateEnable parameter to true.
  2. 设置 AcquisitionLineRate parameter to the desired upper limit for the camera's line rate in kHz.

示例代码#

// Set the upper limit of the camera's line rate to 80 kHz
camera.AcquisitionLineRateEnable.SetValue(true);
camera.AcquisitionLineRate.SetValue(80.0);
INodeMap& nodemap = camera.GetNodeMap();
// Set the upper limit of the camera's line rate to 80 kHz
CBooleanParameter(nodemap, "AcquisitionLineRateEnable").SetValue(true);
CFloatParameter(nodemap, "AcquisitionLineRate").SetValue(80.0);
// Set the upper limit of the camera's line rate to 80 kHz
camera.Parameters[PLCamera.AcquisitionLineRateEnable].SetValue(true);
camera.Parameters[PLCamera.AcquisitionLineRate].SetValue(80.0);
/* 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 */
/* Set the upper limit of the camera's line rate to 80 kHz */
errRes = PylonDeviceSetBooleanFeature(hdev, "AcquisitionLineRateEnable", 1);
CHECK(errRes);
errRes = PylonDeviceSetFloatFeature(hdev, "AcquisitionLineRate", 80.0);
CHECK(errRes);

您也可以使用 pylon Viewer 轻松设置参数。