PG4UW
101
numbers desired. Serial numbers can be incremented as a linear sequence or completely non-
linear sequence. The user made serial number generator program details are described later
in the following section
Custom generator program
.
Examples:
There are also example .exe and C/C++ source files available. The files are placed in the
PG4UW installation directory in Examples\ subdirectory as following:
<PG4UW_inst_dir>\Examples\Serialization\customgenerator_example\
The typical path can look like this:
C:\Program Files\DATAMAN_sw\Programmer\Examples\Serialization\customgenerator_example\
There are following options for
Custom generator serialization
in PG4UW control software:
In dialog Serialization select in
Mode
panel option Custom generator mode. The following
options will be displayed:
Serialization data file
Specifies the path and name for the data file that will contain the current serial number. When
device is to be programmed, the PG4UW software calls user made serial number generator
that updates the data file. The recommended extension of data file is .dat.
Because many of our customers use also BP Microsystems programmers, they ask us for
possibility to be used the same serialization software. Therefore the Serialization data file is
compatible with .dat files of "Complex serialization" system, available in BP Micro software.
Note:
The data file is completely and periodically overwritten during device programming with
serialization. Be sure to enter the correct name of wished .dat file. Example:
“c:\serial_files\serial.dat”.
Serialization generator
Specifies the path and name for the executable file which will generate serialization data file.
First serial number
This option is required to specify the initial serial number that will be passed to custom
generator serialization program. The number is entered and displayed in hexadecimal format.
Last serial number
This option specifies the maximum value of serial number allowed. If the value is non-zero, it
will be passed to serialization generator program. The generator is responsible for testing the
value of last serial number and generate serial .dat file with appropriate error information in the
serialization .dat file in case of current serial number greater then last serial number. If the
value of Last serial number is zero, the value will not be passed to generator program.
Check box
Call generator with -RESULT parameter after device operation completed
This new option has special purpose. If there is requirement to call custom generator with
special parameter -RESULT, the check box should be checked. Otherwise it has to be
unchecked (the default state is unchecked). If checked, custom generator is called by PG4UW
control program after each device operation is completed; no matter the result of device
operation is OK or Error. Parameters for generator are created by PG4UW serialization
engine. Two parameters are used:
RESULT[
n
] =TRUE / FALSE
where
n
is optional Programmer Site order number, if multiprogramming is used.
Содержание 40PRO
Страница 7: ...Introduction 7 Introduction ...
Страница 12: ...12 Quick Start ...
Страница 15: ...Detailed description 15 Detailed description ...
Страница 16: ...16 DATAMAN 448PRO2 ...
Страница 30: ...30 DATAMAN 48PRO2 DATAMAN 48PRO2C ...
Страница 46: ...46 DATAMAN 40PRO ...
Страница 55: ...Setup 55 Setup ...
Страница 60: ...60 Step 8 Installation process will start Step 9 Click Finish button to finish setup ...
Страница 64: ...64 Click on Continue Anyway button For Windows Vista Click Install this driver software anyway ...
Страница 66: ...66 PG4UW ...
Страница 133: ...PG4UWMC 133 PG4UWMC ...
Страница 146: ...146 Installation procedure customized ...
Страница 151: ...Common notes 151 Common notes ...
Страница 165: ...Troubleshooting and warranty 165 Troubleshooting and warranty ...