Application Backflush 1-0 to SAP Data Converter.pdf - 第36页
2 Installation instructions for the Backflush 1.0 to SAP Data Converte r application Application 04/2006 Edition 36 2.7.3.4 reportSettings This XML tag mu st appear exactly once in the XML file a nd describes the method …
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
2 Installation instructions for the Backflush 1.0 to SAP Data Converter application Application
04/2006 Edition
36
2.7.3.4 reportSettings
This XML tag must appear exactly once in the XML file and describes the method of storage, the
storage location and the time of the XML result file. 2
mode 2
The "Mode“ switch determines whether the program stores the report files in the folder for auto-
matic or semiautomatic reports. The difference lies in the rest of the processing sequence (see
diagram under 5.4) 2
Possible values: "Auto" or "Semiauto" 2
autoModeReportPath 2
This value describes the path under which the report files are stored for automatic further process-
ing with the SAP tool. The path is only active, however, if the "mode“ switch is also set to auto,
thus activating automatic mode. 2
Please note: Absolute path settings are required 2
Example: F:\BackflushToSAP\Settings.XML 2
SemiautoModeReportPath 2
This is used to set the path under which the report files will be stored in Semiauto mode. This re-
quires "semiauto“ to be set using the "mode“ switch (see above). This setting is intended to allow
the XML files to be checked before they are sent to SAP. If the SAP files are to be processed by
the SAP converter, then the files must be copied manually to the Auto directory. 2
Please note: Absolute path settings are required 2
Example: F:\BackflushToSAP\Settings.XML 2
reportTime 2
This XML tag may occur from 1 to 1440 times and describes the time at which the report XML file,
consisting of PCBs and the time, is renamed from .txt to .XML. The time in the file name represents
the first time the file was saved. It cannot be modified. 2
–id
Just one name for this time, e.g. "End of shift 1“. 2
The value is used to describe the time, but is not used again. 2
–time
The time in HH:MM format. It says when a report file should be created or renamed from the tem-
porary name to the definitive name. 2
Application 2 Installation instructions for the Backflush 1.0 to SAP Data Converter application
04/2006 Edition
37
2.7.3.5 logFileSettings
This XML tag must appear exactly once in the XML file. The logging method, path, file name and
the number of log files are specified at this point. 2
detail 2
Sets the level of detail in the log file. 2
Possible values: "verbose“ – writes all the messages that occur while the program is running, "me-
dium“ – writes only relevant messages, or "error“ – writes only error messages to the log file. The
number of log files is suggested (120, 60 or 30 according to the logging method). 2
Default value: "medium“ 2
path 2
Specifies the path or the location at which the log files will be stored. (In addition to these log files,
the log files that were created up until the settings file was read are also stored). If the subdirectory
does not exist when the first log file is created, then it will be created. 2
If problems occur when the setting file is read, a log subdirectory is created under Backflush.exe.
This subdirectory is used to store the log files created in the event of start-up problems. 2
Please note: Absolute path must be entered 2
Example: C:\BackflushReports\log 2
fileName 2
Name of the log files. A number is added at the end of the log file name. If this number is to be
integrated into the log file name instead, this can be done with the spaceholder "%g“. (e.g. MyLog-
File%g.log). 2
Default value: "BF_log_%g.log“ 2
logCount 2
The number of log files. This setting is used to determine the number of log files. 2
If this XML tag is not present, then the detail settings are set to verbose = 120, medium = 60 and
error = 30 log files. Once this limit is exceeded, the oldest file is deleted and all the other files are
incremented by one. The log file with the number 0 is thus always the current file. 2
The size of the log file is permanently set to 880 KB. 2
2
2