输入和输出说明

<< 点击显示目录 >>

主页  mappVision帮助助手 > 机器视觉帮助 > mapp Vision  > 编程 > > 核心库 > ViBase  > 功能块
> 功能块 ViBaseSaveDiagData  >

输入和输出说明

可选参数

输入/输出

名称

数据类型

说明

输入

MpLink

指向ViComponentType的指针

用于存储诊断数据的视觉组件指针。

IN

执行

BOOL

在该输入的上升沿开始执行功能块。

输入

设备名称

指向 STRING[50] 的指针

设备名称指针。指向 AS 或功能块 DevLink 中创建的现有文件设备(如 "HD0")的名称。

输入

文件名

指向 STRING[255] 的指针

文件名指针。文件名由路径和文件名组成(如 "dir1/package1.tar.gz")。路径指定指的是指定的文件设备。

如果没有指定文件名,则使用 <Nettime>.tar.gz。

输出

完成

BOOL

执行成功。功能块执行完毕。

BOOL

功能块处于活动状态,必须继续调用。

出错

错误

BOOL

执行过程中出错。

输出

状态 ID

DINT

状态信息

表功能块 ViBaseSaveDiagData 的输入和输出


Optional parameters

I/O

Name

Data type

Description

IN

MpLink

Pointer to ViComponentType

Pointer to the vision component from which diagnostic data should be stored.

IN

Execute

BOOL

Execution of the function block begins on a rising edge of this input.

IN

DeviceName

Pointer to STRING[50]

Pointer to the device name. Points to the name of an existing file device (e.g. "HD0") that was created in AS or with function block DevLink.

IN

FileName

Pointer to STRING[255]

Pointer to the filename. The filename consists of the path and filename (e.g. "dir1\package1.tar.gz"). The path specification refers to the specified file device.

If no name is specified, <Nettime>.tar.gz is used.

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 ViBaseSaveDiagData