Dataman 448PRO2AP User Manual page 79

Hide thumbs Also See for 448PRO2AP:
Table of Contents

Advertisement

-N<serial number>
specifies current serial number in the same way, as for normal calling of serialization
generator.
Custom generator program
Custom generator program or serialization generator is program that will generate the unique
sequence of serial numbers and write the serial data to serialization .dat file. This program is
made by user. The path and name of the serialization program must be specified in the
Serialization options dialog in Custom generator mode options.
The program will be called from PG4UW every time the new serial data have to be generated.
This is usually made before each device programming operation. PG4UW control program
passes command line parameters to serialization program and serialization program generates
serialization .dat file which is read by PG4UW control program. Following command line
parameters are used:
-N<serial number>
-E<serial number>
when value of Last serial number specified in dialog Serialization in PG4UW software is no
zero. The serialization program should return error record T06 in the serialization .dat file, if the
current serial number is greater than ending serial number. For details look at section
Serialization .dat file format.
Serialization .dat file format
Serialization .dat file generated by serialization generator must meet following text format.
Serialization .dat file consists of records and serial data section.
Record is line, which begin with one of Txx prefixes as described bellow. Value of "xx"
represents the record type code. Records are used to inform PG4UW software about
serialization status (current and last serial numbers, serialization data and data format, errors,
etc.). Required records are records T01, T02, T03 and T04. Other records are optional.
T01:<serial number>
T02:<serial number>
T03:<data format code> Specifies the serialization data format. Following formats are
T04:
Specifies current serial number.
Specifies ending (or last) serial number. The parameter is only passed
Contains current serial number value passed to generator by
command line parameter -N<serial number>.
Contains next serial number value, that PG4UW will use in next
serialization cycle. This value is generated by serialization generator
and informs PG4UW, which serial number will follow after current
serial number.
supported now:
T03:50 or T03:55 ASCII Space data format
T03:99
- Intel Hex data format
indicates the serialization data will follow from next line to the end of
file. Serialization data are stored in one of standard ASCII data file
formats, for example Intel Hex, ASCII Space and so on. The format
used for data must be specified by record T03.
79
PG4UW

Advertisement

Table of Contents
loading

This manual is also suitable for:

48pro2ap

Table of Contents