There are several example programs in the HALCON/C++ distribution
(%HALCONEXAMPLES%\cpp\source\console\).
To experiment with these examples, we recommend creating a private copy in your working
directory.
- error_handling.cpp
- Demonstrates the C++ exception handling (see
section “Error Handling”)
- ia_callback.cpp
- Shows the usage of the HALCON image acquisition callback functionality
- matching.cpp
- Locates a chip on a board and measures the pins
- serialized_item.cpp
- Shows how to use the serialization of HALCON objects and tuples in the C++
interface
Additional examples for using HALCON/C++ can be found in the subdirectories
mfc, motif, and
qt of %HALCONEXAMPLES%.