User manual

Tasks and Kits
3-22 ProMaster 2500 User Manual
Serializing Devices
You may want to program a serial number into the devices and/or print
the number on the label. TaskLink’s
Serialization...
option offers an
opportunity to do this in software. A sample serialization program called
serializ.exe
is provided with TaskLink. For detailed information on the
serialization program, refer to the External Serialization Program section
on page 3-25 and to the online help topic “Writing a Serialization
Program” under TaskLink’s General Help Index. To implement
serialization features not provided by
serializ.exe
, you will need to write
a short external serialization program (ESP) to generate your serial
number and save it in an ASCII file for TaskLink to use.
To print a serial number on a label, enter a percent sign (%) in the label
text field (ProMaster 2500 dialog box) for each character to be printed on
the label (refer to the command line length parameter “-l”).
Note: You must have U15 version 1.06 or greater to print a serial number.
Figure 3-16 shows the process steps in creating a file to be used for
serializing devices.
The
Program
line in TaskLink’s
Serialization Parameters
screen (see
Figure 3-15) allows you to enter the executable name for your external
program (ESP). You can also include the path and command line
arguments that define the characteristics of the serial number to pass to
the ESP. The ESP is called from the command line using a command
similar to the following:
drive:\path\file_name
where
drive
is the drive where the ESP resides,
path
is a valid DOS path
to the subdirectory where the ESP is written, and
file_name
is the ESP
executable file name and extension.