ExaSMOC Online

C2.2 Definition File Format

2017-02-26  本文已影响19人  橡果

帮助

帮助对话框显示了数据归档工具和显示数据信息。

图C 2.9帮助对话框 Fig. C 2.9 Help Dialog

状态消息区

在数据收集期间,消息“Collecting data ….”将显示在消息区域中。
状态消息区域位于窗口底部的左侧。 此外,消息区域将显示在执行数据采集过程时采集的样本状态。(采集数据... .1收集样本)。

C2.2定义文件格式

AIDA定义文件是包含注册位号信息和选项对话框信息的ASCII文件。文件以.TAG扩展名存储。配置文件由两部分组成,ServerInfo和TagsInfo

ServerInfo部分

已注册位号的Exaopc DA服务器的计算机名称和服务器名称存储在此处。章节名称包含在方括号中,即ServerInfo部分包含在如下的方括号中。
[SectionInfo]
Section条目以Section Item Name= Section Item Value存储在文件中
例如:计算机名= EXAOPCSTN
其中计算机名是Section Item Name,EXAOPCSTN是实际的Section Item Value,同样的也适用于Server Name Section Item。所以现在SeverInfo Section按如下方式存储在文件中。
[ServerInfo]
Computer Name=
Server Name=
Computer Name HDA=
Server Name HDA=

TagsInfo

TagInfo部分存储了单元名称,单元条件,测试条件,采样时间和样本数以及注册的位号列表。section名用方括号括起来。例如,TagsInfo section包含在如下的方括号中。
[TagsInfo]
Section条目以Section Item Name= Section Item Value的形式存储在文件中,
例如,Unit Name=Xylene
其中Unit Name是Section Item Name,Xylene是实际的Section Item Value,它保持了与单位条件,测试条件,采样时间和样本数量部分条目相同。
对于注册位号,格式如下。
Registered Tags=TAG1,TAG2,TAG3,
注册位号以逗号分隔存储,最后一个位号应以逗号结尾。TagsInfo部分以如下形式存储在文件中。
[TagsInfo]
Unit Name=
Unit Conditions=
Test Conditions=
Sample Time=
No. of Samples=
Registered Tags=
以下是定义文件的示例。

Fig. C 2.10 Sample Configuration of the definition file 图C 2.10示例定义文件的配置

C2.3数据文件格式

AIDA数据文件是包含特定时间范围内一个或多个过程位号数据的ASCII文件。文件以.DAT扩展名存储。AIDA数据文件是由AIDA数据文件生成器生成的。
数据文件由两部分组成,header(抬头)和data fields(数据字段)。
抬头部分
!UNIT NAME, optional(可选)
!DATE COLLECTED,
!UNIT CONDITIONS, optional(可选)
!TEST CONDITIONS, optional(可选)
!SAMPLE TIME,
!PTID, optional(可选)
!UNITS, optional(可选)
!DESCRIPTION optional(可选)
!No.of Samples No of Variables No. of Analogs No. of Digitals
! PTID UNIT DESCRIPTION
'!'显示注释行。 ':'是一个分隔符。


原文:

Help

Help dialog show the information of Data Archiving tool and the displayed data.
Status Message area
During data collection, the message “Collecting data ….” is presented in the message area.
The status message area is left hand side of the bottom of the window. Also the message area will show the status of samples collected when data collection process in action. Also the message area will show the status of samples collected when data collection process in action. (Collecting data….1 Samples collected).

C2.2 Definition File Format

AIDA Definition file is an ASCII file containing the registered Tags Information and the Option Dialog information. The File is stored with .TAG extension. Configuration file consists of two section, ServerInfo and TagsInfo

ServerInfo Section

The computer Name and the Server Name of the Exaopc DA Server for the registered tags are stored here. The section name is enclosed in a square bracket i.e., ServerInfo Section is enclosed in square bracket as below.
[SectionInfo]
The Section items are stored in the file as Section Item Name= Section Item Value
i.e., Computer Name=EXAOPCSTN
where Computer Name is the Section Item Name and the EXAOPCSTN is the actual Section Item Value, which it holds and the same thing holds for Server Name Section Item also. So now the SeverInfo Section is stored in the file as below.

[ServerInfo]

Computer Name=
Server Name=
Computer Name HDA=
Server Name HDA=

TagsInfo

The TagInfo section stores the Unit Name, Unit Conditions, Test Conditions, Sample Time and No of Samples along with the Registered Tags List. The section name is enclosed in a square bracket i.e.; TagsInfo Section is enclosed in square bracket as below.
[TagsInfo]
The Section items are stored in the file as Section Item Name= Section Item Value
ie., Unit Name=Xylene
Where Unit Name is the Section Item Name and the Xylene is the actual Section Item Value which it holds the same thing holds for Unit Conditions, Test Conditions, Sample Time and No. of Samples Section Items also.
For the Registered Tags, the format is as below.
Registered Tags=TAG1,TAG2,TAG3,
The Registered Tags are stored with comma separation and the last tag should end with a comma. The TagsInfo Section is stored in the file as below.
[TagsInfo]、
Unit Name=
Unit Conditions=
Test Conditions=
Sample Time=
No. of Samples=
Registered Tags=
Following is an example of Definition file.
Header Section
!UNIT NAME, optional
!DATE COLLECTED,
!UNIT CONDITIONS, optional
!TEST CONDITIONS, optional
!SAMPLE TIME,
!PTID, optional
!UNITS, optional
!DESCRIPTION optional
!No.of Samples No of Variables No. of Analogs No. of Digitals
! PTID UNIT DESCRIPTION
‘!’ shows the comment line. ‘:’ is a delimiter.

C2.3 Data file format

AIDA data file is an ASCII file containing process data for one or more process tags over a specific time range. The File is stored with .DAT extension. AIDA data file files are produced by AIDA data file generator.
Data file consists of two parts, header and data fields.


2017.2.26

上一篇下一篇

猜你喜欢

热点阅读