Chapter 17: Programming 309
17PROGRM.DOC TI-89/TI-92 Plus: Programming (English) Susan Gullord Revised: 02/23/01 1:14 PM Printed: 02/23/01 2:18 PM Page 309 of 40
Use the Program Editor’s
…
I/O
toolbar menu to enter the commands
in this section.
1. Press
…
and select
8:Link
.
2. Select a command.
When two
TI
-
89 / TI
-
92 Plus
calculators are linked, one acts as a
receiving unit and the other as a sending unit.
Command Description
GetCalc
Executed on the receiving unit. Sets up the unit to
receive a variable via the I/O port.
¦
After the receiving unit executes
GetCalc
, the
sending unit must execute
SendCalc
.
¦
After the sending unit executes
SendCalc
, the
sent variable is stored on the receiving unit (in
the variable name specified by
GetCalc
).
SendCalc
Executed on the sending unit. Sends a variable to
the receiving unit via the I/O port.
¦
Before the sending unit executes
SendCalc
, the
receiving unit must execute
GetCalc
.
SendChat
Executed on the sending unit as a general
alternative to
SendCalc
. Useful if the receiving unit
is a
TI
-
92
(or for a generic "chat" program that
allows either a
TI
-
92
or
TI
-
92 Plus
to be used).
For additional information, refer to the manual that comes with the
CBL 2/CBL
or CBR
unit.
Command Description
Get
Gets a variable from an attached CBL 2/CBL
or CBR
and stores it in the
TI
-
89 / TI
-
92 Plus
.
Send
Sends a list variable from the
TI
-
89 / TI
-
92 Plus
to the
CBL 2/CBL
or CBR
.
Accessing Another TI-89/TI-92 Plus, a CBL 2/CBL, or a CBR
If you link two TI
-
89 / TI
-
92 Plus calculators (described in
Chapter 22), programs on both units can transmit variables
between them. If you link a TI
-
89 / TI
-
92 Plus to a Calculator-
Based Laboratory
é
(CBL 2
é
/CBL™) or a Calculator-Based
Ranger™ (CBR
é
), a program on the TI
-
89 / TI
-
92 Plus can
access the CBL 2/CBL or CBR.
…
I/O Toolbar Menu
Accessing Another
TI
.
89 / TI
.
92 Plus
Note: For a sample progra
m
that synchronizes the
receiving and sending units
so that
GetCalc
and
SendCalc
are executed in
the proper sequence, refer
to “Transmitting Variables
under Program Control” in
Chapter 22.
Accessing a
CBL 2/CBL or CBR