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

  • 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 40
Section 3 Command Descriptions
3.2
Stop Bits An
The Stop Bits
command programs the number of stop bits contained in each
character transmitted and received by the selected serial port. The Port Select
command (
Pn
) is used to select the serial port regardless of addressing mode in use.
The factory default setting as set by the Save Configuration command (
S0
) is
A0
, 1
stop bit.
A0
One stop bit selected.
A1
Two stop bits selected.
A?
Return current stop bit setting.
Example 1: Set stop bits 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;A0X"
select 1 stop bit
PRINT#1,"OUTPUT08;P3A1X"
select 2 stop bits for port 3
Example 2: Set stop bits for ports 1 and 3 using secondary addressing mode
PRINT#1,"CLEAR0800"
reset the Serial488/4
PRINT#1,"OUTPUT0800;P1X"
select port 1 as the current port
PRINT#1,"OUTPUT0800;A0X"
select 1 stop bit
PRINT#1,"OUTPUT0800;P3A1X"
select 2 stop bits for port 3
Vue de la page 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 90 91

Commentaires sur ces manuels

Pas de commentaire