Section 7. Installation
304
7.7.18.1 Introduction
Serial denotes transmission of bits (1s and 0s) sequentially, or "serially." A byte
is a packet of sequential bits. RS-232 and TTL standards use bytes containing
eight bits each. Consider an instrument that transmits the byte "11001010" to the
CR3000. The instrument does this by translating "11001010" into a series of
higher and lower voltages, which it transmits to the CR3000. The CR3000
receives and reconstructs these voltage levels as "11001010." Because an RS-
232 or TTL standard is adhered to by both the instrument and the CR3000, the
byte successfully passes between them.
If the byte is displayed on a terminal as it was received, it will appear as an ASCII
/ ANSI character or control code. Table ASCII / ANSI Equivalents
(p. 304)
shows a
sample of ASCII / ANSI character and code equivalents.
ASCII / ANSI Equivalents
Byte
Received
ASCII
Character
Displayed
Decimal
ASCII
Code
Hex
ASCII
Code
00110010
2
50
32
1100010
b
98
62
00101011
+
43
2b
00001101
cr
13
d
00000001
☺
1
1
Read More See ASCII / ANSI Table
for a complete list of ASCII / ANSI
codes and their binary and hex equivalents.
The face value of the byte, however, is not what is usually of interest. The
manufacturer of the instrument must specify what information in the byte is of
interest. For instance, two bytes may be received, one for character 2, the other for
character b. The pair of characters together, "2b", is the hexadecimal code for "+",
"+" being the information of interest. Or, perhaps, the leading bit, the MSB (Most
Significant Bit), on each of two bytes is dropped, the remaining bits combined,
and the resulting "super byte" translated from the remaining bits into a decimal
value. The variety of protocols is limited only by the number of instruments on
the market. For one in-depth example of how bits may be translated into usable
information, see FP2 Data Format
(p. 599).
Note ASCII / ANSI control character ff-form feed (binary 00001100)
causes a terminal screen to clear. This can be frustrating for a developer
who prefers to see information on a screen, rather than a blank screen.
Some third party terminal emulator programs, such as Procomm, are
useful tools in serial I/O development since they handle this and other
idiosyncrasies of serial communication.
Summary of Contents for CR3000 Micrologger
Page 2: ......
Page 3: ......
Page 4: ......
Page 6: ......
Page 30: ......
Page 34: ......
Page 36: ......
Page 96: ......
Page 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Page 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Page 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Page 496: ......
Page 502: ......
Page 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Page 566: ......
Page 594: ......
Page 598: ......
Page 600: ......
Page 602: ......
Page 624: ......
Page 642: ......
Page 643: ......