text.skipToContent text.skipToNavigation

HALCON 脚本

使用 uniVision Script 许可证包,可将 MVTec 软件 HDevelop 中创建的 HALCON 脚本轻松地加载于 uniVision 3 软件的 HALCON 脚本模块中并直接运行,这得益于预装的 HDevEngine。请与我们一起在设有集成接口和基于网络的可视化系统的 uniVision 生态系统中探索参数设置和编程设置的大世界!

在 wenglor uniVision 3 中进行参数设置和编程设置

机器视觉软件 uniVision 3 中的 HALCON 模块图形界面。

通过预制模块进行轻松的参数设置

使用 uniVision 软件可对各种机器视觉设备进行直观快速的参数设置。用户可以加载模板,只需几项调整即可快速地解决简单的标准应用问题,如代码读取、存在性检查或图案匹配等。
此外,可以在工作中多次使用丰富的 uniVision 工具箱模块,并可灵活地组合。有用于许多传统图像处理任务的模块,例如测量、区域、滤波器以及 Blob 和阈值分析模块。
机器视觉软件 uniVision 3 中的 HALCON 模块图形界面。

使用 HALCON 脚本在 HDevelop 中编程

除了设置参数之外,wenglor uniVision 3 软件还可加载 MVTec HDevelop 软件中创建的 HALCON 脚本。因此,wenglor uniVision 3 软件将两个领域中的优点结合起来 – 参数设置和编程设置。用户既不会局限于 uniVision 工具箱的功能,在复杂的应用中,还可使用已建立的 HALCON 图像处理库的广泛功能。由于图像处理项目的动态要求,这种开放式的 uniVision 生态系统带来了所需的灵活性。

HALCON 脚本的优点

与 uniVision 生态系统无缝集成

HALCON 脚本模块无缝集成到 uniVision 工具箱中。因此,可以在所有 uniVision 参数设置模块与 HALCON 脚本模块之间灵活地交换数据。所有相关的 HALCON 数据类型都可以交换:
  • 标志性变量(图片、区域、XLD)
  • 控制变量(整数、实数、字符串)
通过数字 IO、PROFINET 或 EtherNet/IP 等内置接口,可以直接、灵活地输出结果。
在基于网络的可视化界面中,所有相关结果都可以一目了然地单独灵活显示,甚至可以直接作为图像中的叠加层显示。

直接可用的硬件,预装有 HDevEngine

uniVision 设备预装有 HDevEngine,带有 uniVision Script 许可证包的装置可以提供 HALCON-Runtime 许可证。因此,硬件可以直接用于加载 HALCON 脚本,可将重点放在使用软件解决应用问题上。当前的 HALCON Steady 22.11 版本为 uniVision 设备提供丰富的功能。

Flexibility Through HALCON Scripting

HALCON data such as contour models can be stored flexibly and permanently in the HALCON dictionary. This enables quick and easy exchange of uniVision jobs between different uniVision devices and platforms.
The know-how in HALCON scripts can be password-protected against unwanted access and script running can even be linked to specific uniVision devices to prevent unwanted duplication by an individual licensing solution.
Numerous HALCON examples show how easy it is to integrate HALCON scripts into the uniVision ecosystem.
 

Workflow for Creating a HALCON Script

Compatible Hardware

The uniVision 3 machine vision software runs on the following wenglor image processing products.

Smart Cameras B60

B60 smart camera with auto-focus and C mount

Overview of Important Downloads

HALCON Sample Scripts 1.0.1
HALCON Sample Scripts 1.0.1 (414 KB)
The zip file contains numerous HALCON sample scripts showing the integration into the wenglor uniVision|3 software.
Product Comparison