HALCON でのデバッグ
Read detailed error messages in the Output Console
Hdevelop でプログラムをデバッグするのは、エラーメッセージが必ずしも分かりやすいとは限らないため、難しい場合があります。そのような場合は、 Output Console でより詳細な情報が得られる可能性があります。
例えば、 Zivid Two M70 カメラで SamplingPixel を blueSubsample4x4 に設定すると、次のエラーメッセージが表示されます。
blueSubsample4x4 が Zivid 2 M70 でサポートされていないことは、必ずしもすぐには分かりません。ただし、 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.