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

Acquisition Frame Rate (dart E)#

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

이는 자유 실행(free run) 이미지 취득 시 카메라를 일정한 프레임 레이트로 작동하고자 할 때 유용합니다.

기능 사용#

작동 방식#

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

예를 들어, acquisition frame rate를 초당 20프레임(fps)으로 설정하면 다음과 같은 효과가 나타납니다.

  • 프레임 레이트를 제한하는 다른 요인에 의해 20 fps 초과의 프레임 레이트가 가능한 경우, 프레임 레이트는 20 fps로 일정하게 유지됩니다.
  • 프레임 레이트를 제한하는 다른 요인에 의해 20 fps 미만의 프레임 레이트만 가능한 경우, Acquisition Frame Rate 기능은 프레임 레이트에 영향을 미치지 않습니다.

Acquisition Frame Rate 설정#

  1. 파라미터를 원하는 AcquisitionFrameRateEnable 파라메터 true (사용 가능한 경우).
  2. 파라미터를 원하는 AcquisitionFrameRate 파라미터를 초당 프레임 단위의 카메라 프레임 레이트 원하는 상한선으로 설정합니다.

세부 정보#

Camera Model AcquisitionFrameRateEnable 파라미터 사용 가능
daA2500-60mc 아니요
daA2500-60mci 예
daA3840-30mc Acquisition Frame Rate 기능이 지원되지 않음
daA4200-30mci 예

샘플 코드#

// Set the upper limit of the camera's frame rate to 30 fps
camera.AcquisitionFrameRateEnable.SetValue(true);
camera.AcquisitionFrameRate.SetValue(30.0);
INodeMap& nodemap = camera.GetNodeMap();
// Set the upper limit of the camera's frame rate to 30 fps
CBooleanParameter(nodemap, "AcquisitionFrameRateEnable").SetValue(true);
CFloatParameter(nodemap, "AcquisitionFrameRate").SetValue(30.0);
// Set the upper limit of the camera's frame rate to 30 fps
camera.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_RESULT errRes = 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 fps
camera.AcquisitionFrameRateEnable.Value = True
camera.AcquisitionFrameRate.Value = 30.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 frame rate to 30 fps */
errRes = PylonDeviceSetBooleanFeature(hdev, "AcquisitionFrameRateEnable", 1);
CHECK(errRes);
errRes = PylonDeviceSetFloatFeature(hdev, "AcquisitionFrameRate", 30.0);
CHECK(errRes);

pylon Viewer를 사용하여 매개변수를 간편하게 설정할 수도 있습니다.