Acquisition Frame Rate (dart E)#
이는 자유 실행(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 설정#
- 다음 값 중 하나로
AcquisitionFrameRateEnable매개변수:true(사용 가능한 경우). - 다음 값 중 하나로
AcquisitionFrameRate파라미터를 초당 프레임 단위의 카메라 프레임 레이트 상한선으로 설정하십시오.
세부 정보#
| 카메라 모델 | AcquisitionFrameRateEnable Parameter Available |
|---|---|
| daA2500-60mc | No |
| daA2500-60mci | Yes |
| daA3840-30mc | Acquisition Frame Rate feature가 지원되지 않습니다. |
| daA4200-30mci | Yes |
샘플 코드#
/* 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);
You can also use the pylon Viewer to easily set the parameters.