Dataman 448PRO2AP User Manual page 78

Hide thumbs Also See for 448PRO2AP:
Table of Contents

Advertisement

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.
TRUE means that device operation was finished OK. FALSE means, that device operation was
finished with error.
78

Advertisement

Table of Contents
loading

This manual is also suitable for:

48pro2ap

Table of Contents