添加 mapp 视觉软件组件

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 开始 >

添加 mapp 视觉软件组件

本节将介绍如何添加和链接用户应用程序与机器视觉所需的软件组件。所需设置将在以下章节中介绍。

mapp 视觉软件组件

首先,在 mapp Vision 文件夹中添加视觉设置文件(.vicfg)、视觉组件(.visioncomponent)和视觉应用程序(.visionapplication)。

addingcomponents_01_visioncomponent

图添加 mapp Vision 组件

信息:

建议给视觉组件和视觉应用程序取一个易于识别的名称。引用的是元素,而不是文件。新元件名称在保存之前不会应用。视觉应用程序不能在可视化编辑器中重命名,只能在表格编辑器中重命名。

addingcomponents_03_openvaintableeditor

图在配置视图中,可通过快捷菜单在表格编辑器中打开视觉应用程序。

addingcomponents_03_renamingva

图:在表格编辑器中重命名了视觉应用程序。

现在必须在摄像机配置中引用视觉组件。

为此,请在物理视图中选择摄像机模块,然后右键单击并选择 <配置> 打开配置。

addingcomponents_05_openscconfig

图打开摄像机配置

在摄像机配置中,<参考>/<视觉组件参考> 下添加了对刚刚创建的视觉组件的参考。

addingcomponents_06_cameraconfigs

图:在摄像机配置中设置视觉组件引用在摄像机配置中设置视觉组件引用

在视觉组件中分配视觉应用程序本身。

addingcomponents_04_reference_viapp

图在视觉组件中设置视觉应用程序引用

应用程序的实际功能在视觉应用程序中配置;请参阅 配置视觉应用程序


This section describes how to add and link the software components required for a user application with machine vision. The required settings are described in the following sections.

mapp Vision software components

First, the vision settings file (.vicfg), a vision component (.visioncomponent) and a vision application (.visionapplication) are added to the mapp Vision folder.

addingcomponents_01_visioncomponent

Fig.: Adding mapp Vision components

Information:

It is advisable to give easily recognizable names to both the vision component and the vision application. The element is referenced, not the file. The new element name is not applied until it has been saved. Vision applications cannot be renamed in the visual editor, only in the table editor.

addingcomponents_03_openvaintableeditor

Fig.: In the Configuration View, a vision application is opened in the table editor via shortcut menu.

addingcomponents_03_renamingva

Fig.: The vision application is renamed in the table editor.

The vision component must now be referenced in the camera configuration.

To do this, select the camera module in the Physical View and open the configuration by right-clicking and selecting <Configuration>.

addingcomponents_05_openscconfig

Fig.: Opening the camera configuration

In the camera configuration, a reference to the vision component that was just created is added under <Reference> / <Vision component reference>.

addingcomponents_06_cameraconfigs

Fig.: Setting a vision component reference in the camera configuration

The vision application itself is assigned in the vision component.

addingcomponents_04_reference_viapp

Fig.: Setting a vision application reference in the vision component

The actual functionality of the application is configured in the vision application; see Configuring a vision application.