Agilent Technologies 8566B Operating And Programming Manual page 232

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

Advertisement

Item
INTEGER
The GR command, in the trace modes of operation only, plots HP-IB inputs as graphs on the analyzer CRT It is
also used with auxiliary function codes to modify the appearance on the CRT of stored trace data (highlighting a
portion of the trace, for example). Following the GR command, HP-IB inputs in y (amplitude) display units are
entered on the CRT, starting at the far left side of the display For each y display unit added to the trace, the x
(horizontal) coordinate is automatically advanced one display unit to the right.
Execution of the GR command tells the analyzer to start plotting a graph at the amplitude point indicated by the
next y (amplitude) coordinate received from the HP-IB input. This first amplitude point, yl, appears at the left of
the display; successive points are then plotted, and the lines connecting them are drawn from left to right within the
display area limits. (The display area size is established with display size command Dl, D2, or D3, or the bex
programming instruction .)
A sample program using the GR command is shown below.
10
ASSIGN @Sa TO 718;FORMAT ON
20
OUTPUT @SA;"IP;LF;FA200KZ;FB5MZ;S2;GR"
30
40
OUTPUT @Sa;400- (3.5/4)*N
50
N E X T N
60
FOR N = 401 TO 1000
70
OUTPUT @%a;300
80
N E X T N
90
OUTPUT @Sa;"KSi;TS;KSk;B3$2;TS;"
100 OUTPUT @Sa;"HD;EM;KSo;DT@;"
110 FORN=ltollSTEP2
120 OUTPUT @Sa;"DB;PU;PA 50";(90*N)- 2O;"LB";(lO*N)- lo;"@"
130 N E X T N
140 OUTPUT @Sa;"B4"
150 OUTPUT @Sa USING "K,B,B,K ";"DB;PU;PA 0,600 LBdB"; 10,13;OUT OF SPEC@"
160 OUTPUT @Sa;"D3;PA 100,500 LB RADIATED INTERFERENCE, 2OOkHz- SMHz@"
170 E N D
Initiates the graph mode. The IP insures that the graphing starts at the beginning of trace
Line 20:
C.
Writes test limit values into the trace C memory.
Lines 30 to 80:
Sends graph data to trace B memory and enables A- B- >A.
Line 90:
Line 200:
Clears the active function readout (HD), prepares trace C for input (EM), clears the dis-
play annotation (KSo) , and sets the label terminator to @.
Labels the graticule.
Lines 110 to 160:
Description/Default
Represents display memory Y-axis values.
Range Restriction
P r o g r a m m i n g 1 2 3
Graph

Advertisement

Table of Contents
loading

Table of Contents