Measurement-computing Micro 488/EX rev.2.1 Instrukcja Użytkownika Strona 40

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 218
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 39
Section 3 IEEE Operating Modes
3.6
If we are addressed to listen then we
ENTER
a line from the controller and print it
out.
400 'Listen state
410 PRINT#1,"ENTER"
420 LINE INPUT#1,A$
430 PRINT A$
440 GOTO 200
If we are addressed to talk then we
INPUT
a line from the keyboard and
OUTPUT
it to the controller.
500 'Talk state
510 LINE INPUT A$
520 PRINT#1,"OUTPUT;";A$
530 GOTO 200
It is also possible to detect these conditions with the
ARM
or
ON
<
event
>
DOMACRO
commands and handle them in an exception as described in Section 5. The
various arm conditions and their meanings are as follows:
SRQ
The internal Service Request state is set. See the
SPOLL
command in Section 5.
PERIPHERAL
the Micro488/EX is in the Peripheral (*CA) operating
mode.
CONTROLLER
the Micro488/EX is the Active Controller (CA).
TRIGGER
the Micro488/EX, as a Peripheral, has received a Trigger
bus command.
CLEAR
the Micro488/EX, as a Peripheral, has received a Clear bus
command.
TALK
the Micro488/EX is in the Talk state and can
OUTPUT
to the
bus.
LISTEN
the Micro488/EX is in the Listen state and can
ENTER
from
the bus.
IDLE
the Micro488/EX is in neither the Talk nor Listen state.
Przeglądanie stron 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 217 218

Komentarze do niniejszej Instrukcji

Brak uwag