
Methods
Methods are commands that you issue to the
WDterm
control. All of the "
Inputxxx
" commands cause the terminal
to wait for operator input.
Note that your development environment may show more available methods for the WDterm control than are listed
here. This is normal. You may ignore methods you see that are not listed here.
Important
: When your application starts up, the serial port is "closed". You must call
OpenDevice
before other
method calls will work.
Except for the
ReInitAll
method, all methods use the
ActiveTerminal
property
to identify the terminal to use.
OpenDevice
(All Terminal Versions)
Function:
Opens the communications (serial) port. This must be called
before any of the methods described below. Make sure to set all
Properties
as desired before calling this method (except
ActiveTerminal
or
Quiet
).
CloseDevice
(All Terminal Versions)
Function:
Closes the communications (serial) port. This must be called
before changing any of the
Property
settings (except
ActiveTerminal
or
Quiet
). When your application starts up, the serial port is "closed". You
must call
OpenDevice
before other method calls will work.
DefineFormat
(15-Line Terminal Only)
Parameters: font, linecount
Function:
This adds a line formatting definition. This command is called
multiple times to build a display formatting definition for multiple lines
which is then sent to the
ActiveTerminal
by the
SendFormat
command.
Font is an integer code: 0="small", 1="medium", 2="large"
Linecount is a number 1-15 indicating the number of lines to apply the font selection to.
If only one line is defined (that is
DefineFormat
is called only once with a linecount of "1"), then after
SendFormat
is called, only one line will be available for display on the
ActiveTerminal
.
There are a limited number of lines available depending on the font size(s) chosen. Each font has a defined
height:
•
small: 16
•
medium: 24
•
large: 32
The total height of the defined lines cannot exceed 240. If it does, an error code is generated (see
CheckError
)
and the
SendFormat
command is ignored.
There is limited display width available for text. Depending on the font you select for a line:
•
small: 26 characters
•
medium: 20 characters
•
large: 13 characters
Color Codes for 7001 (15-line)
Terminal
0 -
aqua
1 - black
2 -
blue
3 -
fuchsia
4 -
gray
5 -
green
6 -
lime
7 -
maroon
8 -
navy
9 -
olive
10 -
purple
11 -
red
12 -
silver
13 -
teal
14 - white
15 -
yellow
Содержание RF Terminal 7000
Страница 1: ......
Страница 2: ...Table of Contents How The System Works Before You Begin Properties Methods Events ...