Agilent Technologies 54503A User's Guide Page 326

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 325
326 Chapter5
Programming
Creating Screen Titles
Line 30 sends the TITLE command to the analyzer: the #A to specify
that the title is in A-block format; the string length; and the contents of
the string, which is the actual title. The # sign in the USING statement
suppresses any end-of-line characters. The USING statement specifies
that some of the data will be sent as characters (K) and some as a 16-bit
word (W). The character data is the spectrum analyzer command
(TITLE #A) and the title (in A$). The length of the trace (LEN(A$)) is
sent as one 16-bit word that is made up of two 8-bit bytes.
Making a Title in I-Block Format
I-block format, like A-block format, also allows you to use string data as
a title. With I-block, however, you can send a string of indefinite length.
The spectrum analyzer will continue to accept data (up to 32
characters) until an end-or-identify (EOI) signal is sent to the spectrum
analyzer. See Example 4.
E
XAMPLE 4
10 DIM A$[15]
20 A$="THIS IS A TITLE"
30 OUTPUT 718 USING "#,K";"TITLE#I",A$,END
40 END
This example is much like the previous one. For I-block format, you
must place the title in a string. However, you do not send the title
length. Line 30 sends all character data; thus, the USING statement
specifies K format only. Again, the # sign in the USING statement
suppresses any end-of-line characters. TITLE #I activates the analyzer
TITLE function and specifies that the title is in I-block format. A$
sends the title, and the END statement, which is sent with the last byte
of title data, activates the end-or-identify control line.
Page view 325
1 ... 325 326 327 ... 716

Comments to this Manuals

No comments