Agilent Technologies 8560E User Manual page 330

Agilent technologies 8560 e-series and ec-series spectrum analyzers
Table of Contents

Advertisement

Programming
Generating Plots and Prints Remotely
Line 100 returns the spectrum analyzer service requests to their initial
condition.
Line 110 prints on the computer screen that the plot is done.
Plotting Options
Perhaps you do not want the entire display contents transferred to the
plotter. You may want to plot only a trace, or only a trace and the screen
annotation. The spectrum analyzer PLOTSRC (plot source) command
specifies the display contents you want to plot. Choose to plot the entire
display, trace A, trace B, the annotation, or the graticule. Example 3
illustrates how to plot trace A and the annotation. E
10
OUTPUT 705;"OP;"
20
ENTER 705;P1x,P1y,P2x,P2y
30
OUTPUT 718;"PLOTSRC TRA;RQS 16;PLOT
";P1x;",";P1y;",";P2x;",";P2y;";RQS 0;"
40
GOSUB Wait_plot
50
OUTPUT 718;"PLOTSRC ANNT;RQS 16;PLOT
";P1x;",";P1y;",";P2x;",";P2y;";RQS 0;"
60
GOSUB Wait_plot
70
PRINT "COMMAND IS COMPLETE"
80
STOP
90
Wait_plot:
100
110
120
Idle:
GOTO Idle
130
Go_back:
140
150
END
Another available plot function, the PLOTORG (display origins)
command, specifies whether the plotter P1 and P2 coordinates are the
origins for the entire analyzer display or for its graticule. If you choose
the graticule as the origin and plot only the graticule, you can, in effect,
create graph paper especially for analyzer plots. Using paper with
preprinted graticule lines can save plotting time. When you use this
paper, be sure to set the PLOTORG command in reference to the
graticule ("PLOTORG GRT") and use the P1 and P2 coordinates that
you used to create the graticule lines.
Printer Requirements
Be sure your printer satisfies the following requirements to execute the
programming examples in this section successfully.
1. GPIB printers with graphics capability are supported (for example,
the HP 2225A ThinkJet and the HP 3630A PaintJet).
330
ON INTR 7 GOTO Go_back
ENABLE INTR 7;2
SEND 7;UNL LISTEN 5 TALK 18 DATA
S_poll=SPOLL(718)
RETURN
3
XAMPLE
Chapter 5

Advertisement

Table of Contents
loading

Table of Contents