Commands Listed in Alphabetical Order
The message str
ing itself is not altered. The entire message can be returned as a
query response regardless of what is displayed in the message box.
The message is
left-justified, and is displayed on a single line starting with the
topmostlineinthewindow.Anewlinecharactercanbeembeddedinthestring
to position the message on multiple lines. You can a lso use white space and tab
characters to position the message within a line. Text which does not fitwithin
the message box is truncated. Defining a message box text string erases any
previously displayed text within the message box.
You can send a tab by transmitting a tab character (\t or \x09) followed characters
representing the most significant eight bits followed by significant eight bits of a
16-bit nu
mber. The number specifies the position relative to the left margin of
the message area. For example, to tab send TAB (\t or \x09), NUL (decimal 0),
and CR (decimal 13).
For example, using hexadecimal escape sequences, MESSAGE:SHOW
'\x09\x01\x17Hello' when sent as a command would cause the 'Hello' to be
displayed starting at pixel position 279 relative to the left margin set by the
MESSAGE:BOX command. If you want to display characters s tarting at position
279, then 279 = 0x0117; split the hexadecimal number into two characters 0x01
and 0x
17 and send \x09\x01\x17.
Special characters which control decoration are two character sequences where the
first
character is an escape (0x1b) and the second character is as desc ribed below.
Bit 7 0
Bit
6
If set, inverse video is toggled from current state and the following text
is displayed in the new inverse state until the state is toggled again.
Rem
aining bits are ignored
Bit 5
If
set, the color index in the four LSB’s (bits 0 through 3) is applied to
the foreground or background color depending on the fg/bg bit (bit 4).
Bi
t4
If set, color change is applied to the background, otherwise applies to
the foreground.
Bit0–3
Specifies the color index (0 through 15) to change color as specified
b
elow:
Index 0
Black (background)
Index 1
Yellow (Ch 1)
Index 2
Cyan (Ch 2)
Index 3
Magenta (Ch 3)
Index 4
Green (Ch 4)
Index 5
Red (math)
Index 6
White (reference)
Index 7
Orange
Index 8
Gray (Graticule)
Index 9
White (text)
MSO2000B, DPO2000B, MSO2000 and DPO2000 Series Oscilloscopes Programmer Manual 2-217