Exposure Time (dart E)#
노출 시간을 자동으로 설정하려면 Exposure Auto 기능을 사용하십시오.
기능 사용#
Exposure Time 설정#
Exposure Time을 설정하려면:
- 파라미터를 원하는
ExposureAuto파라메터Off. - 파라미터를 원하는
ExposureTime파라미터를 원하는 Exposure Time(마이크로초 단위)으로 설정합니다.
최소 Exposure Time, 최대 Exposure Time 및 파라미터 변경 단위는 camera model에 따라 다릅니다.
Exposure Time 결정#
마이크로초 단위의 현재 Exposure Time을 확인하려면 다음의 값을 가져옵니다. ExposureTime 파라미터에 HTML 로그 파일(*.html)의 경로와 이름을 지정할 수 있습니다.
예를 들어 Exposure Auto 자동 기능이 활성화되어 있고 자동으로 조정된 Exposure Time을 가져오려는 경우에 유용할 수 있습니다.
세부 정보#
| Camera Model | Minimum Exposure Time [µs] | Maximum Exposure Time [µs] | 증분 [µs] | ExposureTimeMode Parameter Available |
|---|---|---|---|---|
| daA2500-60mc | 14 | 33000 | 1 | 아니요 |
| daA2500-60mci | 68 | 2300000 | 1 | 아니요 |
| daA3840-30mc | 56 | 33000 | 1 | 아니요 |
| daA4200-30mci | 68 | 2300000 | 1 | 아니요 |
샘플 코드#
/* 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 */
double d = 0;
/* Determine the current exposure time */
errRes = PylonDeviceGetFloatFeature(hdev, "ExposureTime", &d);
CHECK(errRes);
/* Set the exposure time to 3500 microseconds */
errRes = PylonDeviceSetFloatFeature(hdev, "ExposureTime", 3500.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 */
double d = 0;
/* Determine the current exposure time */
errRes = PylonDeviceGetFloatFeature(hdev, "ExposureTime", &d);
CHECK(errRes);
/* Set the exposure time to 3500 microseconds */
errRes = PylonDeviceSetFloatFeature(hdev, "ExposureTime", 3500.0);
CHECK(errRes);
pylon Viewer를 사용하여 매개변수를 간편하게 설정할 수도 있습니다.