Measurement-computing Serial488/4 Manual de usuario Pagina 44

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 91
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 43
Section 3 Command Descriptions
3.5
Data Bits Dn
The Data Bits
command programs the number of data bits contained in each
character transmitted and received by the selected serial port. T he 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
D1
,
eight data bits.
D0
Seven data bits selected.
D1
Eight data bits selected.
D?
Return current data bits setting
Example1: Set data 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;D0X"
select 7 data bits
PRINT#1,"OUTPUT08;P3D1X"
select 8 data bits for port 3
Example 2: Set data 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;d0X"
select 7 data bits
PRINT#1,"OUTPUT0800;P3d1X"
select 8 data bits for port 3
Vista de pagina 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 90 91

Comentarios a estos manuales

Sin comentarios