2500_Users_Manual-.pdf - 第101页
First_task_name Second_task_name First_kit_name First_task_name Second_task_name First_kit_name Not_current_file::Seco nd_kit_name ↵ Tasks and Kits The requirements for user-created messages are described below: • Messag…

Tasks
and
Kits
Serialization
Parameters
TaskLink
supplies
a
sample
ESP
called
t4
serializ.exe
M
to
use
as
a
template
for
developing
your
program.
The
source
code
(named
<serializ.c^^)
for
this
program
is
included
with
TaskLink.
Figure
3-15
shows
the
Serialization
Parameters
dialog
box.
To
use
serializ.exe
to
place
a
serial
number
in
programmer
RAM,
set
the
parameters
as
follows:
Parameter
Setting
Serialization
Method
File
RAM
Serialization
On
Program
serializ.exe*
Edit
Starting
Number
No
Keep
Next
Number
Yes
Next
Serial
Number
starting_serial_number
*
Include
any
command
line
parameters
you
want,
as
described
in
the
next
section.
Note:
For
compatibility
with
external
serialization
programs
you
may
have
written
for
HandlerLink,
select
Memory
Buffer
for
the
Serialization
Method.
External
Serialization
Program
(ESP)
Serializ.exe
is
used
to
illustrate
passing
parameters
to
the
ESP.
This
is
a
simple
program
that
can
be
used
to
generate
a
serial
number
for
each
device
that
programs
successfully.
It
directs
the
labeler
to
print
a
label
with
that
serial
number.
Some
of
the
parameter
options
that
you
can
pass
to
the
external
software
program
on
the
Program
command
line
include:
•
Serial
number's
address
in
the
device
•
Serial
number's
format
(decimal,
hex,
binary)
•
Length
(number
of
bytes)
•
Byte
order
of
high
and
low
bytes
•
Value
used
to
increment
each
serial
number
•
Format
of
the
serial
number
printed
on
the
label
(binary,
ASCII
decimal,
or
ASCII
hexadecimal)
ProMaster
2500
User
Manual
3-25

First_task_name
Second_task_name
First_kit_name
First_task_name
Second_task_name
First_kit_name
Not_current_file::Second_kit_name
↵
Tasks
and
Kits
The
requirements
for
user-created
messages
are
described
below:
•
Message
file
must
be
an
ASCII
text
file.
Save
the
file
as
an
unformatted
text
file.
•
Message
file
must
be
called
tl.msg.
TaskLink
looks
for
a
file
with
this
name.
The
maximum
line
length
in
this
file
is
66
characters.
•
Each
message
number
must
begin
with
a
tilde
(~),
followed
by
four
digits
as
in
the
following
example:
0023.
The
tilde
and
four-digit
number
must
be
on
a
line
by
themselves.
The
message
that
will
be
displayed
includes
all
the
text
after
the
tilde
and
message
number,
and
before
the
next
tilde
in
the
file.
•
Spacing
and
formatting
is
maintained
(WYSIWYG)
unless
you
use
\b
(for
bold).
The
\b
does
not
appear
on
the
screen
and
all
characters
move
to
the
left
two
spaces
for
every
\b
in
the
line.
Creating
Task/Kit
Batch
Files
You
can
create
an
ASCII
batch
file
that
allows
you
to
run
any
combination
of
Tasks
and
Kits
in
the
order
defined
in
the
file.
TaskLink
reads
the
batch
file,
searches
the
current
Task
Database
file
(last
file
used)
for
the
Task/
Kit,
and
runs
it
using
the
normal
screens.
Each
line
in
the
batch
file
(unformatted
ASCII
text
file)
is
only
required
to
have
the
name
of
an
existing
Task
or
Kit.
A
sample
file
would
look
like
this:
If
an
optional
Task
Database
file
name
is
entered
before
the
Task/Kit
name
and
is
terminated
by
a
double
colon
TaskLink
looks
for
the
Task
in
the
specified
Database
file.
The
fourth
line
in
the
same
sample
file
below
directs
TaskLink
to
look
in
a
Database
file
called
Not_current_file
to
find
a
Kit
called
Second
kit
name.
Note:
Do
not
use
two
consecutive
colons
in
Task
or
Kit
names
if
you
plan
to
use
those
Tasks/Kits
in
batch
files.
To
run
a
batch
file
in
administrator
mode,
select
Tasks
from
the
Main
menu.
Choose
a
batch
file
from
the
list
displayed,
and
press
.
3-38
ProMaster
2500
User
Manual

Tasks
and
Kits
<
Fl=Help
2500
iMport
Task/Kit.
.
.
s
<
FZ=Uie“
>
TaskLink
ProMaster
Tawkw/Kitw
defined
in
ASCII
file
Edit
Task/Kit.
..
Duplicate
Task/Kit.
..
ReMove
Task/Kit.
.
.
Help
Copyright
1394
Data
I/O
Corp.
Tasks
Utilities
Options
Exit!
Run
Task/Kit.
.
.
人
T
Run
Task/Kit
Batch
File.
..
Add
Task.
..
Add
Kit.
.
.
TaskLink
Setup
Data
Program
7
7
Ilie
Some
Task
Data
Source
SuMcheck
Device
Process
Notes
To
run
a
batch
file
in
operator
mode,
enter:
tl
-bBatchfile_naine
where
-b
starts
the
batch
file
mode
and
batchfile_name
is
any
valid
DOS
file
name.
TaskLink
does
not
require
any
specific
file
extension
for
batch
files.
Figure
3-28
Selecting
the
Batch
File
Command
ProMaster
2500
User
Manual
3-39