Acquisition Frame Rate (dart E)#
이는 프리런 이미지 Acquisition에서 카메라를 일정한 프레임 속도로 작동시키려는 경우에 유용합니다.
Using the Feature#
작동 방식#
Acquisition Frame Rate 기능이 활성화된 경우, 카메라의 최대 프레임 속도는 사용자가 Acquisition Frame Rate 파라미터에 입력한 값으로 제한됩니다.
예를 들어, Acquisition Frame Rate를 초당 20프레임(fps)으로 설정하면 다음과 같은 효과가 있습니다.
- 프레임 속도를 제한하는 다른 요인에 의해 20 fps 초과의 프레임 속도가 허용되는 경우, 프레임 속도는 20 fps의 일정한 속도로 유지됩니다.
- 프레임 속도를 제한하는 다른 요인에 의해 20 fps 미만의 프레임 속도만 허용되는 경우, 프레임 속도는 Acquisition Frame Rate 기능의 영향을 받지 않습니다.
Acquisition Frame Rate 설정#
- 다음 파라미터를
AcquisitionFrameRateEnable파라미터(Parameter)true(사용 가능한 경우). - 다음 파라미터를
AcquisitionFrameRate파라미터를 설정하여 카메라의 프레임 속도 상한을 초당 프레임 수로 원하는 값으로 지정합니다.
세부 정보#
| Camera Model | AcquisitionFrameRateEnable 파라미터 사용 가능 |
|---|---|
| daA2500-60mc | 아니요 |
| daA2500-60mci | 예 |
| daA3840-30mc | Acquisition Frame Rate 기능이 지원되지 않음 |
| daA4200-30mci | 예 |
Sample Code#
/* 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를 사용하여 파라미터를 손쉽게 설정할 수도 있습니다.