Manual Installation of Halcon Interface and Procedures

Starting with Halcon 11.0.3 the Ensenso interface ships with the Halcon installation and you can start using it right away after installing the EnsensoSDK. Some of the HDevelop examples included in the EnsensoSDK make use of the Halcon procedures provided with the SDK. If you want to run the examples you need to copy the procedure files manually. See section HDevelop Procedures below.

Halcon Interface for versions prior to Halcon 11.0.3

If you are using an earlier Halcon 11 release you need to manually copy the Halcon interface DLLs shipped with the EnsensoSDK into your Halcon installation directory. If you installed both applications in their default locations the files to copy are as follows:

Windows 64bit Operating Systems

Copy

C:\\Program Files\\Ensenso\\development\\halcon\\bin\\x64-win64\\hAcqEnsenso-NxLib.dll

to

C:\\Program Files\\MVTec\\Halcon 11\\bin\\x64-win64\\

Linux 64bit Operating Systems

Copy

/opt/ensenso/development/halcon/lib/x64-linux2.4-gcc40/hAcqEnsenso-NxLib.so

to

$HALCONROOT/lib/x64-linux2.4-gcc40/

HDevelop Procedures

Along with the interface DLLs a set of procedures for HDevelop is provided to simplify some common access patterns when using NxLib. On Windows the procedure files are located in the directory

On Linux these files are by default located in

/opt/ensenso/development/halcon/procedures

You can either add this directory to your HDevelop procedure search path, or copy the procedure files over into Halcon’s default procedure path (or any subfolder) located at

C:\\Program Files\\MVTec\\Halcon 11\\procedures

or, on Linux

$HALCONROOT/procedures