Dataman 40Pro User Manual
Page 107
PG4UW
107
Directory
This option is available in playlist From-file serialization mode and selected option "Move
used file to specified directory". User can specify target directory, into which used serialization
data files will be moved.
Following error indicators are used in Playlist From-file serialization:
s/n error #3 serialization data file does not exist
s/n error #34 used serialization data file can not be deleted (maybe serialization files
are placed on write-protected disk)
s/n error #35 used serialization data file can not be moved to target directory of used
serialization files (maybe serialization files are placed on write-protected
disk, or target directory does not exist)
Device / Device options / Serialization / Custom generator mode
Custom generator serialization mode provide maximum flexible serialization mode, because
the user have serialization system fully in his hands.
When Custom generator mode of serialization is selected, serial numbers are generated by
user made program “on-the-fly” before each device is programmed in PG4UW or PG4UWMC.
Custom generator mode serialization allows user to generate unique sequence of serial
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:
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.