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

2 Installation instructions for the Backflush 1.0 to SAP Data Converte r application Application 04/2006 Edition 34 2 2 2 2 2 2 <reportTime id="Time 1" time="0:00 " /> <reportTime id="Ti…

100%1 / 58
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>
Application 2 Installation instructions for the Backflush 1.0 to SAP Data Converter application
04/2006 Edition
35
2.7.3 backflushsettings
This XML tag must appear once only in the XML file, and forms the brackets around the entire
configuration file. 2
2.7.3.1 pollSpan
Backflush directories are scanned every “pollSpan” seconds. 2
Limits: 0 <= pollSpan <= 60 2
Default value: 10 2
If the set time (pollSpan) is overshot when working through existing XML files, for example, there
is another scan for new files immediately after the processing ends. 2
2.7.3.2 processDataCount
Once files are found in a directory, a maximum of "processDataCount“ XML files from this directory
are processed before moving on to process the files in the next directory. The smaller this value,
the more often the next directory is scanned. 2
Limits: processDataCount >= 0 2
Special value: 0: process all the files from a directory 2
Default value: 1000 2
2.7.3.3 processDelSpan
Subfolders from the processed directories that are more than "processDelSpan“ days old are au-
tomatically deleted. 2
Please note: If a certain subfolder should not be deleted, a "_“ may be appended to it, for example.
In this case, the age of the folder cannot be determined from its name, so the folder will never be
deleted. 2
Limits: processDelSpan >= 0 2
Special value: 0: automatic deletion of directories is disabled 2
Default value: 14 2
2
2
2
2
2