
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\B+K
Precision_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.
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
95
Summary of Contents for 844USB
Page 7: ...Introduction 7 ...
Page 12: ...Quick Start 12 ...
Page 15: ...Detailed description 15 ...
Page 16: ...859 16 ...
Page 28: ...866B 28 ...
Page 41: ...844USB 41 ...
Page 50: ...848A 50 ...
Page 56: ...Setup 56 ...
Page 67: ...Pg4uw 67 ...
Page 117: ...Pg4uwMC 117 ...
Page 127: ...Common notes 127 ...
Page 134: ...Troubleshooting and warranty 134 ...