<< 点击显示目录 >> 主页
mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 库 > 核心库 > ViBase > 功能块 功能块 ViBaseLoadApplication |
功能块 ViBaseLoadApplication 可用于将视觉应用程序从控制器加载到相机模块。
输入/输出 |
名称 |
数据类型 |
说明 |
---|---|---|---|
输入 |
MpLink |
指向ViComponentType的指针 |
指向加载视觉应用程序的视觉组件的指针。 |
IN |
执行 |
BOOL |
在此输入的上升沿开始执行功能块。 |
输入 |
名称 |
指向 STRING[50] 的指针 |
指向应加载的视觉应用程序名称的指针。 |
输出 |
完成 |
BOOL |
执行成功。功能块执行完毕。 |
出 |
忙 |
BOOL |
功能块处于活动状态,必须继续调用。 |
出错 |
错误 |
BOOL |
执行过程中出错。 |
输出 |
状态 ID |
DINT |
状态信息 |
表功能块 ViBaseLoadApplication 的输入和输出
数据类型为 ViComponentType 的变量为内部变量。在创建视觉组件时,将自动创建一个相关的 "ViComponentType "变量。可以通过视觉组件的名称来引用该变量。
•功能说明
•状态编号
Function block ViBaseLoadApplication can be used to load a vision application from the controller to a camera module.
I/O |
Name |
Data type |
Description |
---|---|---|---|
IN |
MpLink |
Pointer to ViComponentType |
Pointer to the vision component to which the vision application is loaded. |
IN |
Execute |
BOOL |
Execution of the function block begins on a rising edge of this input. |
IN |
Name |
Pointer to STRING[50] |
Pointer to the name of the vision application that should be loaded. |
OUT |
Done |
BOOL |
Execution successful. The function block is finished. |
OUT |
Busy |
BOOL |
The function block is active and must continue to be called. |
OUT |
Error |
BOOL |
Error during execution. |
OUT |
StatusID |
DINT |
Status information |
Table: Inputs and outputs of function block ViBaseLoadApplication
Variables of data type ViComponentType are internal variables. During the creation of a vision component, an associated "ViComponentType" variable will be automatically created. This can be referenced by the name of the vision component.