Acquisition Frame Rate (dart E)#
이는 자유 실행(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 설정#
- 파라미터를 원하는
AcquisitionFrameRateEnable파라메터true(사용 가능한 경우). - 파라미터를 원하는
AcquisitionFrameRate파라미터를 초당 프레임 단위의 카메라 프레임 레이트 원하는 상한선으로 설정합니다.
세부 정보#
| Camera Model | AcquisitionFrameRateEnable 파라미터 사용 가능 |
|---|---|
| daA2500-60mc | 아니요 |
| daA2500-60mci | 예 |
| daA3840-30mc | Acquisition Frame Rate 기능이 지원되지 않음 |
| daA4200-30mci | 예 |
샘플 코드#
/* 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);
/* 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를 사용하여 매개변수를 간편하게 설정할 수도 있습니다.