HP 2641A Reference Manual page 159

Display station
Table of Contents

Advertisement

Applications
If the data comm had been asynchronous, the procedure
would be identical except that the sync characters are not
required to be sent to the terminal (although doing so is
harmless) and no sync headers would be sent by the ter-
minal (unless strap J05 were open). So except for
hardware considerations, the process flows in much the
same fashion in both communication methods.
This example uses one tape cartridge to hold codes to be
assigned to the soft keys. A second tape cartridge is used to
hold the completed form. This example assumes that the
Line Drawing character set is in position "C".
PROGRAMMING THE SOFT KEYS
Incidentally, the programmer would not normally need to
perform such tasks as turning the communication lines
from send to receive and vice versa, placing the STX, ETX
framing characters on the messages, calculating BCC or
sending select and poll sequences. At the higher level, the
program simply makes output and input statements.
However, this example indicates the complete process that
occurs for such a two-way communication as a status re-
quest. Transactions like cursor sensing would follow
exactly the same lines; only escape sequences specific to
the operation differ.
Figures A-I through A-3 show the escape sequences re-
quired to program the soft keys for each of the phases of
form building. To record the escape sequences on the first
tape cartridge, proceed as follows:
1.
Press
8
@ill
(or Esc j).
2.
Program each key as shown in figure A-I. Mark a key
overlay.
3.
Place a tape cartridge in the right tape slot.
FORMS BUILDING
Special purpose forms can be built using the terminals
alternate character sets and data fields. The following
technique builds forms in three phases using the soft keys
and tape cartridges.
8.
Program the keys for phase 3 using figure A-3.
4.
Press
~
(Esc
&
pF). This stores phase 1 key
assignments in file 1 on the tape.
MARK
Press
~
' FUr
lO
,:
T
E
,
Q.:J .
F-AOM R TAPE
Program the keys for phase 2 as shown in figure A-2.
MARK
Press c:=J (Esc & pF). Press Li~ FUTTIO
t:
T
E
IT].
RECORD
'
,
FROM'R
TAPE
This stores phase 2 key assignments in file 2.
7.
6.
5.
Phase 1 -
Outline the form and define protected/
unprotected fields.
Phase 2
Detail the form.
9.
Press ~ (Esc & pF).
Phase 3
Assign field checking parameters and re-
cord the form.
10. Press
Li~ FUrO~RTNO
Q.:J
(Esc
&
p2uOC). After
,
,
FROM R ,TAPE
the tape is rewound, remove the tape.
A-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

2645a2645s2645n

Table of Contents