Usage Guide for HALCON Samples

You are currently viewing the documentation for version 2.4.0. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Using the HALCON samples provided by Mech-Mind, you can complete the entire process from connecting to the laser profiler, triggering data acquisition to retrieving the acquired data.

Sample Introduction

Mech-Mind provides the following HALCON samples:

  • trigger_with_software_and_fixed_rate: Trigger one round of data acquisition with the software + fixed rate method and retrieve the profile data.

  • trigger_with_external_device_and_fixed_rate: Trigger one round of data acquisition with the external + fixed rate method and retrieve the profile data.

  • trigger_with_software_and_encoder: Trigger one round of data acquisition with the software + encoder method and retrieve the profile data.

  • trigger_with_external_device_and_encoder: Trigger one round of data acquisition with the external + encoder method and retrieve the profile data.

  • trigger_with_software_and_fixed_rate_continuous: Trigger multiple rounds of data acquisition with the software + fixed rate method and obtain the profile data.

  • trigger_with_external_device_and_fixed_rate_continuous: Trigger multiple rounds of data acquisition with the external + fixed rate method and obtain the profile data.

For different methods of triggering the laser profiler to acquire data, refer to Methods for Triggering Data Acquisition.

Obtain Samples

HALCON samples are included in the installation path of Mech-Eye SDK or can be obtained from GitHub by cloning. The samples in the installation path are the version at the time of Mech-Eye SDK release. The version on GitHub may contain the latest changes.

  • The samples in the installation path are located in xxx/Mech-Eye SDK-2.4.0/API/samples/halcon/profiler.

  • The samples cloned from GitHub are located in xxx/mecheye_halcon_samples/profiler.

Prerequisites

Before using the HALCON samples, please check if the following prerequisites are satisfied:

Sample Usage Guide

The following topics provide the guide for using each sample on Windows:


  • When using HALCON, if you encounter issues such as not being able to connect to the laser profiler, you can refer to Troubleshooting for corresponding solutions.

  • If you encounter an issue not covered by the above topic, please visit Mech-Mind Online Community to get help (account registration and sign-in required).

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.