Measurement-computing Serial488/4 Manuale Utente Pagina 43

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 91
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 42
Section 3 Command Descriptions
3.4
Parity Cn
The Parity
command specifies the parity, if any, to be transmitted and received
with each character of the selected serial port. The Port Select command (
Pn
) is used
to select the serial port regardless of addressing mode in use. If even or odd parity is
enabled the Serial488/4 will append a bit of the correct parity to each character
transmitted. However, the Serial 488/4 does not check parity on characters received.
The factory default setting as set by the Save Configuration command (
S0
) is
C0
,
parity disabled.
C0
Parity disabled.
C1
Odd parity enabled.
C2
Even parity enabled.
C?
Return current parity setting.
Example 1: Set parity for port 2 using dual primary addressing mode.
PRINT#1,"CLEAR08"
reset the Serial488/4
PRINT#1,"OUTPUT08;P2C1X"
select odd parity for port 2
Example 2: Set parity for port 4 using secondary addressing mode.
PRINT#1,"CLEAR0800"
reset the Serial488/4
PRINT#1,"OUTPUT0800;P4C2X"
select even parity for port 4
Vedere la pagina 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 90 91

Commenti su questo manuale

Nessun commento