Debug in HALCON
Read detailed error messages in the Output Console
Hdevelop에서 프로그램을 디버깅하는 것은 오류 메시지가 항상 이해하기 쉬운 것은 아니기 때문에 어려울 수 있습니다. 이 경우 Output Console 명령을 사용하면 더 자세한 정보를 얻을 수 있습니다.
예를 들어, Zivid Two M70 카메라의 경우 SamplingPixel blueSubsample4x4 로 설정하면 다음과 같은 오류 메시지가 표시됩니다.
Zivid 2 M70에서 blueSubsample4x4가 지원되지 않습니다. 그리고 Output Console 을 보면 보다 자세한 오류 메시지를 확인할 수 있습니다:
The Zivid camera is not listed in HALCON
Connecting a Zivid camera to HALCON requires two components, one from each vendor.
Vendor |
Component |
Installed by |
|---|---|---|
Zivid |
GenTL Producer |
Zivid SDK installer, GenICam GenTL Producers component |
HALCON |
GenTL Consumer |
HALCON installer, GenICamTL image acquisition package |
Both components are required. The camera does not show up in HALCON if either one is missing.
Only the File and DirectFile interfaces are detected
In the HALCON Image Acquisition Assistant, automatic interface detection returns only File and DirectFile.
The GenICamTL interface is absent, so you cannot select the Zivid camera.
This means the HALCON GenICamTL image acquisition package is not installed. The package is an optional component of the HALCON installation. Installing a newer HALCON version does not carry the package over from an older one.
To fix this, add the GenICamTL image acquisition interface from the MVTec Software Manager. A full HALCON reinstall is not required. Restart HDevelop and run the interface detection again.
참고
This symptom points to the HALCON side of the integration. If the same camera works in another HALCON version on the same machine with the same Zivid SDK version, then the Zivid GenTL Producer is installed correctly.