Performing data collection 执行数据采集

数据采集简介
采集数据需要任一文本编辑器创建一个有效的输入文件。然后,你通过MS-DOS提示符键入一行命令并提供输入文件名开始采集过程。
采集的数据存储在一个二进制文件中(使用输入文件名称的前八个字符并以.bin为扩展名命名)。在采集过程中或过程完成后,你可以从该文件中提取数据。
如果采集已经开始而你要向其中添加一个新位号,你可以编辑输入文件添加位号,然后重启数据采集。先前采集的数据保持不变。
采集过程继续直到你决定停止进程(手动或通过设置一个结束选项)。

也可以看看
输入文件简介
输入文件示例


附原文:
About data collection
Collecting data requires creating a valid Input file using any text editor. Then, you begin the collection process by typing a one-line command at an MS-DOS prompt and providing the name of the Input file.
Collected data is stored in a binary file (named using the first eight characters of the Input file name with the extension .bin added). You can extract data from this file during the collection process, or when the process has stopped.
If collection has begun and you want to add another tag to the collection, you can edit the Input file, add the tag, and then restart the data collection. The previously collected data remains intact.
The collection process continues until you decide to stop the process (manually or by setting an ending option).

See Also
Introduction to the Input file
Sample Input files


输入文件简介
先进控制采集的输入文件有效性是数据采集以及数据提取的关键。因此,熟悉输入文件格式是非常重要的。当你创建了一个输入文件时,在开始采集过程之前你需要使用先进控制采集检查它的有效性。
使用任一文本编辑器创建输入文件。你可以给它任一主机操作系统允许的有效文件名。但是,创建的输入文件名称不应该有扩展名,因为通过先进控制采集产生的后续文件名会向输入文件名中附加扩展名。你可能会希望将文件名限制在八个字符,因为当扩展名加入后多余的会被截断。
输入文件必须包含至少六行的数据采集信息。这些信息包括四个强制参数、至少一个或多个位号(每行一个位号)以及参数与位号间的分隔符线。
你还可以添加更多的行,如用户评论、空行、输入文件可选参数等。要添加注释行,放置一个感叹号(!)作为该行的第一个非空白字符。
输入文件的格式被分为两部分:抬头部分和位号部分。抬头部分包含采集参数及它们的值,而位号部分包含采集的位号;抬头部分必须是第一部分。为了分开抬头部分与位号部分及其对应的采集位号列表,你必须在抬头部分后增加至少包含5个等号(=====)的一行。

也可以看看
输入文件的抬头部分
输入文件的位号部分
输入文件示例


附原文:
Introduction to the Input file
The validity of the Input file for Advanced Control Collect is crucial for data collection, and consequently, data extraction. Thus, it is important that you familiarize yourself with the Input file format. Once you have created an Input file, you can check its validity, using Advanced Control Collect, before you start the collection process.
Use any text editor to create the Input file. You can give it any valid filename allowed on the host operating system. However, the Input file name you create should not have an extension since the subsequent file names created by Advanced Control Collect are created by appending an extension to the Input file name. You may want to limit the file name to eight characters, since it will be truncated to that number when an extension is added.
The Input file must contain at least six lines of information for data collection. These six lines include four mandatory parameters, at least one or more tags (with one tag per line) and a delimiter line between the parameters and the tags.
You can also add additional lines, such as user comments, blank lines, and optional parameters to the Input file. To add a comment line, place an exclamation mark (!) as the first non-white space character on that line.
The format of the Input file is divided into two parts: the Header section and the Tag section. The Header section contains the parameters for collection and their values while the Tag section contains the tags for collection; the Header section must be the first section. To separate the header section from the Tag section and its list of collection tags, you must add a line of at least 5 equal signs (=====) after the Header section.

See Also
Header section of the Input file
Tag section of the Input file
Sample Input file


输入文件:抬头部分
输入文件的标题部分包含了采集的参数。在抬头部分每行列出一个参数及其对应值(格式:参数=值)。对于每一采集过程有四个参数的值是强制的,其它所有参数都是可选的。

强制性参数

参数 描述
VERSIONNUM 先进控制采集版本
IDLINE 用于标识目的的文件描述
SAMPLEPER 数据采集的采样时间(以hours/minutes /secinds计)
MAXSAMP 二进制文件中每个位号名的最大采样数(此参数可以与可选参数EOFCHOICE一起使用,详见下文)。

可选参数

参数 描述
CIMIOINFO Cim-IO基本信息:设备、单元编号和格式;此参数是必须的。
CIMIOLIST Cim-IO列表:位号最大数目、最大描述长度、最大工程单位长度;此参数是必须的。
OFFSET 采集第一个样本分钟顶部后的秒数。
EOFCHOICE MAXSAMP到达指标
NOMSGS 打开或关闭消息。
WATCHDOGTAG 包含watchdog信息的位号,每个样本实时更新。
NUMSAMPTAG 包含样本数的位号。
STATUSTAG 包含采集过程状态报告的位号。

也可以看看
输入文件样例


附原文:
Input file: Header section

The header section of the Input file contains the parameters for collection. A parameter and its value (format: parameter = value) are listed one per line in the header section. Four parameters with values are mandatory for each collection; all other parameters are optional.

Mandatory parameters

parameter description
VERSIONNUM Version of Advanced Control Collect
IDLINE File description for identification purposes
SAMPLEPER Sample period for data collection (in hours, minutes, or seconds)
MAXSAMP Maximum number of samples per tag name in the binary file (this parameter can be used in conjunction with the optional parameter EOFCHOICE; see below for details)

Optional parameters

parameter description
CIMIOINFO Cim-IO general information: device, unit number, and format; this parameter is required.
CIMIOLIST Cim-IO list: maximum number of tags, maximum description length, and the maximum engineering units length; this parameter is required.
OFFSET Number of seconds after the top of the minute to collect the first sample.
EOFCHOICE Indicator once MAXSAMP is reached.
NOMSGS Turn messaging on or off.
WATCHDOGTAG Tag to contain watchdog information, updated every sample.
NUMSAMPTAG Tag to contain the number of samples.
STATUSTAG Tag to contain a status report of the collection process

See Also
Sample Input file


2015.11.16

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,923评论 18 139
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,541评论 5 6
  • 知识改变命运是我们很久以前就听过的一句话。那么是不是所有的知识都能改变我们的命运呢?有用的。也就是那些能够知道我们...
    水平生阅读 128评论 0 0
  • 人们常说:“父母是孩子的第一任老师。”父母即使并无说教训责,一言一行也潜移默化着孩子。然而这番“教导”,在这急功近...
    dashwooden阅读 210评论 0 2
  • 分割和放肆,风与黑夜存活 黎明呓语的冗长,偷安旦夕 仲裁的余热,旷野在晨露下漂流 翅膀揉碎玫瑰,迷雾起身扣下雨水 ...
    钟无艳X阅读 259评论 0 1