콘텐츠로 건너뛰기
STAGING SERVER
DEVELOPMENT SERVER

Acquisition Frame Rate (dart E)#

Acquisition Frame Rate camera feature를 사용하여 카메라의 프레임 레이트에 상한선을 설정할 수 있습니다.

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

기능 사용법#

작동 원리#

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

예를 들어, Acquisition Frame Rate를 초당 20프레임(fps)으로 설정하면 다음과 같은 효과가 있습니다.

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

Acquisition Frame Rate 설정#

  1. 다음 값 중 하나로 AcquisitionFrameRateEnable 매개변수: true (사용 가능한 경우).
  2. 다음 값 중 하나로 AcquisitionFrameRate 파라미터를 초당 프레임 단위의 카메라 프레임 레이트 상한선으로 설정하십시오.

세부 정보#

카메라 모델 AcquisitionFrameRateEnable Parameter Available
daA2500-60mc No
daA2500-60mci Yes
daA3840-30mc Acquisition Frame Rate feature가 지원되지 않습니다.
daA4200-30mci Yes

샘플 코드#

// 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);

You can also use the pylon Viewer to easily set the parameters.