<< 点击显示目录 >> 主页
mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 库 > 核心库 > ViBase > 功能块 功能块 ViBaseSaveApplication |
功能块 ViBaseSaveApplication 可用于将摄像机模块中的活动视觉应用程序保存到控制器中。
输入/输出 |
名称 |
数据类型 |
说明 |
---|---|---|---|
输入 |
MpLink |
指向ViComponentType的指针 |
指向保存视觉应用程序的视觉组件的指针。 |
IN |
执行 |
BOOL |
在该输入的上升沿开始执行功能块。 |
输出 |
完成 |
BOOL |
执行成功。功能块执行完毕。 |
出 |
忙 |
BOOL |
功能块处于活动状态,必须继续调用。 |
出错 |
错误 |
BOOL |
执行过程中出错。 |
输出 |
状态 ID |
DINT |
状态信息 |
表功能块 ViBaseSaveApplication 的输入和输出
数据类型为 ViComponentType 的变量为内部变量。在创建视觉组件时,将自动创建一个相关的 "ViComponentType "变量。可以通过视觉组件的名称来引用该变量。
•功能说明
•状态编号
Function block ViBaseSaveApplication can be used to save the active vision application from the camera module to the controller.
I/O |
Name |
Data type |
Description |
---|---|---|---|
IN |
MpLink |
Pointer to ViComponentType |
Pointer to the vision component from which the vision application is saved. |
IN |
Execute |
BOOL |
Execution of the function block begins on a rising edge of this input. |
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 ViBaseSaveApplication
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.