콘텐츠로 바로 가기
STAGING SERVER
DEVELOPMENT SERVER

Acquisition Line Rate#

Acquisition Line Rate 카메라 기능을 사용하면 카메라의 라인 레이트 상한을 설정할 수 있습니다.

이는 프리런 이미지 취득 시 카메라를 일정한 라인 레이트로 작동시키고자 할 때 유용합니다.

기능 사용#

작동 방식#

Acquisition Line Rate 기능이 활성화되면 카메라의 최대 라인 레이트는 사용자가 입력한 Acquisition Line Rate 파라미터 값으로 제한됩니다.

예를 들어, Acquisition Line Rate를 80 kHz로 설정하면 다음과 같은 효과가 있습니다.

  • 라인 레이트를 제한하는 다른 요인들에 의해 80 kHz 초과의 라인 레이트가 가능한 경우, 라인 레이트는 80 kHz로 일정하게 유지됩니다.
  • 라인 레이트를 제한하는 다른 요인들에 의해 라인 레이트가 80 kHz 미만으로만 가능한 경우, 라인 레이트는 Acquisition Line Rate 기능의 영향을 받지 않습니다.

정보

실제 라인 레이트를 확인하려면 Resulting Acquisition Line Rate 기능을 사용하십시오.

Acquisition Line Rate 설정#

  1. 파라미터를 원하는 AcquisitionLineRateEnable 파라메터 true.
  2. 파라미터를 원하는 AcquisitionLineRate 파라미터를 카메라 라인 레이트의 원하는 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를 사용하여 파라미터를 손쉽게 설정할 수도 있습니다.