Agilent Technologies 8566B Operating And Programming Manual page 321

Spectrum analyzer 100 hz - 2.5 ghz/2 - 22 ghz
Table of Contents

Advertisement

LB
Label
Item
CHARACTER
REAL
TERMINATOR
ETX
The LB command writes text (label) on the CRT display with alphanumeric characters specified in the program.
The text characters are each specified by 8 bits in a 12-bit data word which immediately follows the LB command.
(The 4 most significant bits in the data word are set to 0.) The decimal equivalent of the binary number formed by
the 12-bit data word corresponds to a particular one of the available alphanumeric characters. Decimal numbers PI
through 255 and their corresponding characters are shown in the Character Set Table at the end of this command
description.
Characters generated for the LB command are aligned on the CRT in the same manner as typeset characters on a
printed page (that is, in rows and columns). This alignment is important when you are labeling graph lines or
points.
The display size specified by the display size command (Dl, D2, D3), or the "big expand (hex)" instruction,
determines the position of the text on the CRT, the number of rows and columns, and the size of the characters.
A typical use of the LB command is shown in the sample program below.
OTJTPUT 718;"Ip;"
10
20
OUTPUT 718;"A4;KSo;D3;"
30
OUTPUT 718;"DT@;"
OUTPUT 718;"PU PA 75,650 LB LABEL@;"
40
E N D
Line 20:
Blanks display and selects display size.
Line 30:
Establishes a character (@I) to terminate label text.
Positions start of label text, writes text, and terminates label mode.
Line 40:
Description/Default
Represents text displayed on screen.
Represents text displayed on screen.
Terminates text. Character defined in DT
command.
End of text.
Range Restriction
ASCII codes 32- 126
ASCII codes g- 255
ASCII code 3

Advertisement

Table of Contents
loading

Table of Contents