Download Chapter 1 EasyBuilder Pro Installation and Startup Guide

Transcript
EasyPrinter
26.4 Convert Batch File
EasyPrinter provides a mechanism for converting the uploaded Data-Sampling and
Event-Log history files stored in binary mode to CSV files automatically. Users requesting
this function have to prepare a Convert Batch File to provide EasyPrinter with the
information of how to convert the history files.
As shown in the illustration above, the conversion is actually carried out by EasyConverter.
EasyPrinter simply follows the criteria in Convert Batch File and activates EasyConverter
with proper arguments to achieve the conversion.
18. EasyConverter is another Win32 application converting history data into CSV
or MS Excel (*.xls) files. Users can find it in the EasyBuilder Pro installation
directory.
19. Users requesting this function must ensure EasyPrinter and EasyConverter
are placed in the same directory.
26.4.1 The Default Convert Batch File
The following is the default Convert Batch File included in the EasyBuilder Pro software
package:
The default Convert Batch File (convert2csv.def)
1:
2:
"dtl", "EasyConverter /c $(PathName)"
"evt", "EasyConverter /c $(PathName)"
There are two lines of text in the file. Each line has two arguments separated by a comma
and forms a criterion of how to deal with a specific type of files, e.g. Data-Sampling and
Event-Log history files. The first argument specifies the extension name for the type of the
files to be processed and the second one specifies the exact command to execute in
console mode. Please note “$(PathName)” is a key word to tell EasyPrinter to replace it
with the real name of the backup file in conversion. For example, if a Data-Sampling
630