Worth Data RF Terminal 7000 User Manual

Page 57

Advertising
background image

Function:

This instructs the

ActiveTerminal

to display the prompt at line and position and wait for

data to be received through the terminal serial port. Waiting for serial input can be
bypassed by pressing the enter key on the terminal which will send an empty data string
to the host (fires the

OnTermData

event handler).

OutputSerial

Parameters: data
Function:

This instructs the

ActiveTerminal

to send data to the terminal’s serial port. Data must be less

than 231 characters in length for each call to

OutputSerial

.

SendDisplay

Parameters: line, position, prompt

SendDisplayColor (15-line terminal only)

Parameters: line, position, prompt,FG,BG

Function:

This instructs the

ActiveTerminal

to display the prompt at line and position. Must be

followed by an "

Input

" method call to take effect.

ClearScreen

Function:

This instructs the

ActiveTerminal

to clear its display. Must be followed by an "

Input

"

method call to take effect.

ClearLine

Parameters: line
Function:

This instructs the

ActiveTerminal

to clear the specified line on its display. Line number is

indicated by 1-9 and A-F Must be followed by an "

Input

" method call to take effect.

DefineFormat (15-line terminal only)

Parameters: font, linecount
Function:

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.

If only one line is defined (that is DefineFormat is called only once), 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

If you try to send prompt or display text longer than this, it will be truncated and an
error code is generated (see CheckError).
Must be followed by a

SendFormat

and then an Input call to take effect.

Advertising