![Dataman 40PRO User Manual Download Page 102](http://html.mh-extra.com/html/dataman/40pro/40pro_user-manual_512640102.webp)
102
TRUE means that device operation was finished OK. FALSE means, that device operation was
finished with error.
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>
Specifies current serial number.
E<serial number>
Specifies ending (or last) serial number. The parameter is only passed 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>
Contains current serial number value passed to generator by
command line parameter -N<serial number>.
T02:<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.
T03:<data format code>
Specifies the serialization data format. Following formats are
supported now:
T03:50 or T03:55 ASCII Space data format
T03:99 - Intel Hex data format
T04:
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.
Summary of Contents for 40PRO
Page 7: ...Introduction 7 Introduction ...
Page 12: ...12 Quick Start ...
Page 15: ...Detailed description 15 Detailed description ...
Page 16: ...16 DATAMAN 448PRO2 ...
Page 30: ...30 DATAMAN 48PRO2 DATAMAN 48PRO2C ...
Page 46: ...46 DATAMAN 40PRO ...
Page 55: ...Setup 55 Setup ...
Page 60: ...60 Step 8 Installation process will start Step 9 Click Finish button to finish setup ...
Page 66: ...66 PG4UW ...
Page 133: ...PG4UWMC 133 PG4UWMC ...
Page 146: ...146 Installation procedure customized ...
Page 151: ...Common notes 151 Common notes ...
Page 165: ...Troubleshooting and warranty 165 Troubleshooting and warranty ...