Measurement-computing Digital232 Manuale Utente Pagina 29

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 59
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 28
Section 3 Command Descriptions
3.7
FORMAT Fn
The
Format
command determines the method by which input and output data
will be described. Five data formats are available and are described in detail in the
following paragraphs.
F0
ASCII Hexadecimal (4 bits per character)
F1
ASCII Character (4 bits per character )
F2
ASCII Binary (1 bit per character)
F3
ASCII Decimal (8 bits per number)
F4
Binary (each byte represents 8 bits)
When data is requested from the
Digital232
(
R0
) it asserts
Inhibit
, reads the data
from all ports, unasserts
Inhibit
and outputs the number of characters determined by
the
Gn
and
Pn
commands. Leading zeros are not suppressed and the serial terminators
are appended to the output. After output the
Digital232
must be requested to perform
subsequent reads.
EDR
(
R1
) may also be used to capture data in these formats.
F0 Format- ASCII Hexadecimal
In the default
F0
format, the data is described in ASCII hexadecimal, with
each character having a value from 0 thru 9 or A thru F. Each ASCII character
describes 4 bits of data.
F0 Character Decimal
Equiv F0 Character Decimal Equiv
00 8 8
11 9 9
22 A 10
33 B 11
44 C 12
55 D 13
66 E 14
77 F 15
Vedere la pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 58 59

Commenti su questo manuale

Nessun commento