Application Backflush 1-0 to SAP Data Converter.pdf - 第33页

Application 2 Installation instructions for the Backflush 1.0 to SAP Data Converter application 04/2006 Edition 33 2.7 Description of the settings XML file 2.7.1 General Configuration of the co nverters us ing the SETT I…

100%1 / 58
2 Installation instructions for the Backflush 1.0 to SAP Data Converter application Application
04/2006 Edition
32
2.5 Languages
The application generates status and error messages in English only in the form of log files. 2
2.6 Software components
2.6.1 Overview
2
2
The application is limited to the time-driven (no. 3) conversion of the backflush XML files (no. 2)
to a SAP format XML file (no. 5). Once the files have been processed, these backflush files are
stored in an archive and errors are logged in a log file. The processing is limited solely to a whole
panel and to counting the number of components used. 2
2
Application 2 Installation instructions for the Backflush 1.0 to SAP Data Converter application
04/2006 Edition
33
2.7 Description of the settings XML file
2.7.1 General
Configuration of the converters using the SETTINGS.XML configuration file is described below.
This file must be located in the same directory as the Backflush program. The path is defined once
only during installation. 2
2.7.2 Sample file
2
<?xml version="1.0" encoding="utf-8"?>
<!-- Note: All paths have to be written in absolute way.
That is: FALSE ..\MyFolder\
RIGHT C:\MyFolder\ -->
<backflushSumRecordSettings xmlns="backflushReportSettings" version="1.0">
<!-- backflushSettings: occurrences: exactly 1 time
pollSpan: scan backflush dirs all x seconds (maximum: every 60 seconds)
processDataCount: processes at most x files and then changes to next backflush dir (0:
process all files in dir)
processDelSpan: del processed backflush files that are older than x days (0: don't delete
processed data) -->
<backflushSettings pollSpan="10" processDataCount="200" processedDelSpan="14" />
<!-- reportSettings: occurrences: exactly 1 time
mode: "auto" or "Semiauto"
autoModeReportPath: path for the report files in automatic mode
SemiautoModeReportPath: path for the report files in Semiauto mode -->
<reportSettings mode="auto" autoModeReportPath="C:\Program Files\Siemens
SIPLACE\BackflushToSAP\out\auto" SemiautoModeReportPath=" C:\Program Files\Sie-
mens SIPLACE\BackflushToSAP\out\Semiauto">
2 Installation instructions for the Backflush 1.0 to SAP Data Converter application Application
04/2006 Edition
34
2
2
2
2
2
2
<reportTime id="Time 1" time="0:00" />
<reportTime id="Time 2" time="8:00" />
<reportTime id="Time 3" time="16:00" />
</reportSettings>
<!-- logFileSettings: occurrences: exactly 1 time
detail: "verbose" (show all messages), "medium" (show important messages) or "error"
(show only severe messages)
path: path for the log files
fileName: name of the log files (Note: a %g in a file name will be replaced by a
consecutive number) -->
<logFileSettings detail="medium" path=" C:\Program Files\Siemens SIPLACE\Back-
flushToSAP\out\log" fileName="BF_log_%g.log" />
<!-- backflushPath: occurrences: 1 to 12 times
line: just a name of that line
backflush: the path to the backflush files of this line
processed: the path where the successfully processed backflush files shall be moved
faulty: the path where the faulty processed backflush files shall be moved -->
<backflushPath line="Line 1" backflush="D:\BoardBackflushFiles\Line1" pro-
cessed="D:\BoardBackflushFiles\Line1\processed" faulty="D:\BoardBackflush-
Files\Line1\faulty" />
<backflushPath line="Line 2" backflush="\\LinePCName\BoardBackflushFiles\Line2"
processed="\\LinePCName\BoardBackflushFiles\Line2\processed" faulty="\\LinePC-
Name\BoardBackflushFiles\Line2\faulty" />
<backflushPath line="Line 3" backflush="X:\BoardBackflushFiles\Line3" pro-
cessed="X:\BoardBackflushFiles\Line3\processed" faulty="X:\BoardBackflush-
Files\Line3\faulty" />
</backflushSumRecordSettings>