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
Содержание 844USB
Страница 7: ...Introduction 7 ...
Страница 12: ...Quick Start 12 ...
Страница 14: ...4 check if the device is blank click on 5 program device click on 6 additional verify of device click on 14 ...
Страница 15: ...Detailed description 15 ...
Страница 16: ...859 16 ...
Страница 28: ...866B 28 ...
Страница 41: ...844USB 41 ...
Страница 50: ...848A 50 ...
Страница 56: ...Setup 56 ...
Страница 60: ...Step 6 Check your setting and then click on Install button Step 7 Installation process will start 60 ...
Страница 65: ...Step 6 Click on Continue Anyway button For Windows Vista Click Install this driver software anyway 65 ...
Страница 67: ...Pg4uw 67 ...
Страница 116: ...About When you choose the Info command from the menu a window appears showing copyright and version information 116 ...
Страница 117: ...Pg4uwMC 117 ...
Страница 127: ...Common notes 127 ...
Страница 134: ...Troubleshooting and warranty 134 ...