コンテンツにスキップ

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. Set the AcquisitionLineRateEnable parameter to true.
  2. Set the 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を使用して、パラメーターを簡単に設定することもできます。