EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>8563E

Agilent Technologies 8563E User Manual

Agilent Technologies 8563E
716 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #314 background imageLoading...
Page #314 background image
314 Chapter5
Programming
Data Transfer to Computer
Example 10 uses the I-block format to separate the # and I characters
from the trace data.
EXAMPLE 10
10 INTEGER Tra_binary(1:601)
20 DIM Header$[2]
30 OUTPUT 718;"IP;CF 300MHZ;SP 20MHZ;SNGLS;TS;"
40 CALL Get_settings(Fa,Fb,Rl,Rb,Vb,St,Lg,Aunits$)
50 OUTPUT 718;"TDF I;TRA?;"
60 ENTER 718 USING "#,2A,601(W)";Header$,Tra_binary(*)
70 END
Like the examples for the A-block format, you store format information
in a string (Header$) and store the desired trace data in an integer
array (Tra_binary).
Returning the trace data to the analyzer requires an important
instruction. The "I" in the term I-block refers to the ability of the
spectrum analyzer to accept data of "indefinite" length when using
I-block format. Even though the analyzer uses only 601 points of trace
data, the I-block format lets you send any number of data points. The
spectrum analyzer will continue to accept data until an
end-of-instruction (EOI) signal is sent to it. HP 9000 Series 200/300
BASIC allows you to send an EOI with the last data byte using the
END command. Refer to Example 11.
E
XAMPLE 11
10 INTEGER Tra_binary(1:601)
20 DIM Header$[2]
30 OUTPUT 718;"IP;CF 300MHZ;SP 20MHZ;SNGLS;TS;"
40 CALL Get_settings(Fa,Fb,Rl,Rb,Vb,St,Lg,Aunits$)
50 OUTPUT 718;"TDF I;TRA?;"
60 ENTER 718 USING "#,2A,601(W)";Header$,Tra_binary(*)
70 PRINT "PRESS CONTINUE TO RETURN DATA TO THE ANALYZER"
80 PAUSE
90 OUTPUT 718;"IP;TS;VIEW TRA;"
100 CALL Setup_analyzer(Fa,Fb,Rl,Rb,Vb,St,Lg,Aunits$)
110 OUTPUT 718;"TDF I;"
120 OUTPUT 718 USING "#,K,601(W)";"TRA#I",Tra_binary(*) END
130 END
By now most of this program should look familiar. Line 120 requires
some explanation, however. The END statement appearing after the
array Tra_binary sends (to the spectrum analyzer) the last data byte
stored in the array, with the GPIB EOI line set "true," as required by
I-block format.
See Table 5-2 on page 315 for an example of how data is sent to the
computer using the TDF I format.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 8563E and is the answer not in the manual?

Agilent Technologies 8563E Specifications

General IconGeneral
BrandAgilent Technologies
Model8563E
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals