Measurement-computing Serial488/4 Manuel d'utilisateur Page 60

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 91
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 59
Section 3 Command Descriptions
3.21
Serial Terminator Tn
The Serial Terminator command is used in conjunction with the Data EOI (
Ln
)
command to specify which character to assert EOI on for the selected serial port. The
Port Select command (
Pn
) is used to select the serial port regardless of addressing
mode in use. The terminator value may range from 0 to 255 allowing any 7 bit ASCII
character or 8 bit data value to be used. The factory default setting as set by the Save
Configuration command (
S0
) is
T010
, the line feed character.
Tn
Select serial terminator where n is a value in the range 0 thru 255
T?
Return the currently selected serial terminator.
Example 1: Set terminators for ports 1 and 3 using dual primary addressing mode.
PRINT#1,"CLEAR08"
reset the Serial488/4
PRINT#1,"OUTPUT08;P1X"
select port 1 as the current port
PRINT#1,"OUTPUT08;T13X"
select CR terminator
PRINT#1,"OUTPUT08;P3X"
select port 3 as the current port
PRINT#1,"OUTPUT08;T0X"
select NUL character terminator
Example 2: Set terminators for ports 1 and 3 using secondary addressing mode.
PRINT#1,"OUTPUT0800;P1X"
select port 1 as the current port
PRINT#1,"OUTPUT0800;T13X"
select CR terminator
PRINT#1,"OUTPUT0800;P3X"
select port 3 as the current port
PRINT#1,"OUTPUT0800;T0X"
select NUL terminator
Vue de la page 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 90 91

Commentaires sur ces manuels

Pas de commentaire