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,948評論 18 139
  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的閱讀 13,550評論 5 6
  • 知識改變命運是我們很久以前就聽過的一句話。那么是不是所有的知識都能改變我們的命運呢?有用的。也就是那些能夠知道我們...
    水平生閱讀 133評論 0 0
  • 人們常說:“父母是孩子的第一任老師。”父母即使并無說教訓責,一言一行也潛移默化著孩子。然而這番“教導”,在這急功近...
    dashwooden閱讀 210評論 0 2
  • 分割和放肆,風與黑夜存活 黎明囈語的冗長,偷安旦夕 仲裁的余熱,曠野在晨露下漂流 翅膀揉碎玫瑰,迷霧起身扣下雨水 ...
    鐘無艷X閱讀 259評論 0 1