30
ESL User Manual
6. Middleware Applications
The ESL server application uses middleware applications to process the information from the back
office into file formats that the ESL server application uses to update ESL
ʼ
s. The main tasks of the
middleware are divided into 2 applications: the
CSV Parser
and the
Image Generator
. These will be
described in the following sections.
6.1 CSV Parser
The tasks of the CSV parser are:
•
Parse product database files (modifications or complete databases) into a combined CSV
database containing all product info.
•
Generate a reduced article database (CSV format) for the barcode terminal.
The typical record format of a product modification database is:
<Modification code>;<Unique ID>;<Barcode>;<Description>;<Field 4>;<Field
5>;etc.
The typical record format of a complete product database is:
;<Unique ID>;<Barcode>;<Description>;<Field 4>;<Field 5>;etc.
Except for the first field (modification code), the order and quantity of the remaining fields can be
varied. See section 5.5.7 for more information on the CSV format.
The record format of the truncated database file (
scan.csv
) that is generated for the optional
barcode terminal will have the following format:
<Barcode>;<Unique ID>;<Description>
If no barcodes are used in your application, or if the
Unique ID
is the barcode, then the
<Barcode>
field will be the same as the
Unique ID
.
The ESL server manager will call up the
CSV parser
with the following parameters, as specified in
the
Setup
window of the ESL server application:
<CSV parser>.exe –O <Output folder> -i<Id field> -b<Barcode field> -
d<Description field> <Database file>.csv
So the default call out by the ESL server application would be:
CsvParser.exe –O "Output" -i1 -b2 -d3 "Input\ProductData_1.csv"