Performing data collection 執(zhí)行數(shù)據(jù)采集

數(shù)據(jù)采集簡介
采集數(shù)據(jù)需要任一文本編輯器創(chuàng)建一個有效的輸入文件。然后,你通過MS-DOS提示符鍵入一行命令并提供輸入文件名開始采集過程。
采集的數(shù)據(jù)存儲在一個二進(jìn)制文件中(使用輸入文件名稱的前八個字符并以.bin為擴(kuò)展名命名)。在采集過程中或過程完成后,你可以從該文件中提取數(shù)據(jù)。
如果采集已經(jīng)開始而你要向其中添加一個新位號,你可以編輯輸入文件添加位號,然后重啟數(shù)據(jù)采集。先前采集的數(shù)據(jù)保持不變。
采集過程繼續(xù)直到你決定停止進(jìn)程(手動或通過設(shè)置一個結(jié)束選項)。

也可以看看
輸入文件簡介
輸入文件示例


附原文:
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


輸入文件簡介
先進(jìn)控制采集的輸入文件有效性是數(shù)據(jù)采集以及數(shù)據(jù)提取的關(guān)鍵。因此,熟悉輸入文件格式是非常重要的。當(dāng)你創(chuàng)建了一個輸入文件時,在開始采集過程之前你需要使用先進(jìn)控制采集檢查它的有效性。
使用任一文本編輯器創(chuàng)建輸入文件。你可以給它任一主機(jī)操作系統(tǒng)允許的有效文件名。但是,創(chuàng)建的輸入文件名稱不應(yīng)該有擴(kuò)展名,因為通過先進(jìn)控制采集產(chǎn)生的后續(xù)文件名會向輸入文件名中附加擴(kuò)展名。你可能會希望將文件名限制在八個字符,因為當(dāng)擴(kuò)展名加入后多余的會被截斷。
輸入文件必須包含至少六行的數(shù)據(jù)采集信息。這些信息包括四個強(qiáng)制參數(shù)、至少一個或多個位號(每行一個位號)以及參數(shù)與位號間的分隔符線。
你還可以添加更多的行,如用戶評論、空行、輸入文件可選參數(shù)等。要添加注釋行,放置一個感嘆號(!)作為該行的第一個非空白字符。
輸入文件的格式被分為兩部分:抬頭部分和位號部分。抬頭部分包含采集參數(shù)及它們的值,而位號部分包含采集的位號;抬頭部分必須是第一部分。為了分開抬頭部分與位號部分及其對應(yīng)的采集位號列表,你必須在抬頭部分后增加至少包含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


輸入文件:抬頭部分
輸入文件的標(biāo)題部分包含了采集的參數(shù)。在抬頭部分每行列出一個參數(shù)及其對應(yīng)值(格式:參數(shù)=值)。對于每一采集過程有四個參數(shù)的值是強(qiáng)制的,其它所有參數(shù)都是可選的。

強(qiáng)制性參數(shù)

參數(shù) 描述
VERSIONNUM 先進(jìn)控制采集版本
IDLINE 用于標(biāo)識目的的文件描述
SAMPLEPER 數(shù)據(jù)采集的采樣時間(以hours/minutes /secinds計)
MAXSAMP 二進(jìn)制文件中每個位號名的最大采樣數(shù)(此參數(shù)可以與可選參數(shù)EOFCHOICE一起使用,詳見下文)。

可選參數(shù)

參數(shù) 描述
CIMIOINFO Cim-IO基本信息:設(shè)備、單元編號和格式;此參數(shù)是必須的。
CIMIOLIST Cim-IO列表:位號最大數(shù)目、最大描述長度、最大工程單位長度;此參數(shù)是必須的。
OFFSET 采集第一個樣本分鐘頂部后的秒數(shù)。
EOFCHOICE MAXSAMP到達(dá)指標(biāo)
NOMSGS 打開或關(guān)閉消息。
WATCHDOGTAG 包含watchdog信息的位號,每個樣本實時更新。
NUMSAMPTAG 包含樣本數(shù)的位號。
STATUSTAG 包含采集過程狀態(tài)報告的位號。

也可以看看
輸入文件樣例


附原文:
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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • Spring Cloud為開發(fā)人員提供了快速構(gòu)建分布式系統(tǒng)中一些常見模式的工具(例如配置管理,服務(wù)發(fā)現(xiàn),斷路器,智...
    卡卡羅2017閱讀 136,545評論 19 139
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,655評論 5 6
  • 知識改變命運(yùn)是我們很久以前就聽過的一句話。那么是不是所有的知識都能改變我們的命運(yùn)呢?有用的。也就是那些能夠知道我們...
    水平生閱讀 154評論 0 0
  • 人們常說:“父母是孩子的第一任老師?!备改讣词共o說教訓(xùn)責(zé),一言一行也潛移默化著孩子。然而這番“教導(dǎo)”,在這急功近...
    dashwooden閱讀 243評論 0 2
  • 分割和放肆,風(fēng)與黑夜存活 黎明囈語的冗長,偷安旦夕 仲裁的余熱,曠野在晨露下漂流 翅膀揉碎玫瑰,迷霧起身扣下雨水 ...
    鐘無艷X閱讀 298評論 0 1

友情鏈接更多精彩內(nèi)容