Measurement-computing Micro488/p Manuel d'utilisateur Page 35

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 44
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 34
Command Descriptions
09-27-02
3-17
SP SERIAL POLL
The SERIAL POLL command performs a Serial Poll of the bus device specified and
responds with a number from 0 to 255 representing the decimal equivalent of the eight-bit
device response. If rsv (DIO7, decimal value 64) is set, then that device is signaling that it
requires service. Serial Polls are normally performed in response to assertion of the Service
Request (SRQ) bus signal by some bus device.
SYNTAX SP; addr
RESPONSE 0 to 255
BUS STATES ATN, UNL, TAG, SPE, *ATN, data, ATN, SPD, UNT
EXAMPLES PRINT#1,"SP 16" Serial Poll device 16.
INPUT#1,SPSTAT Receive the Spoll status.
TC SERIAL TERMINATOR
The SERIAL TERMINATOR command sets the end-of-line terminators for input from the
serial host. All input from the serial host must be terminated by the selected terminator.
During INPUT, the Micro488/p takes the data it receives from the bus device until it detects
the LF of other optionally specified input terminating condition. It strips all CR and LF from
the input data and appends the serial output terminator CR before sending it to the serial
host. The available terminators are:
1 - LF
2 - CR
3 - LF-CR
4 - CR-LF
SYNTAX TC;n
n is one of the available terminator types.
RESPONSE None
BUS STATES None
EXAMPLES PRINT#1,"TC;2" Select CR as the serial output
terminator.
Vue de la page 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 43 44

Commentaires sur ces manuels

Pas de commentaire