Agilent Technologies 54503A User's Guide Page 330

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 329
330 Chapter5
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
XAMPLE 3
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: ON INTR 7 GOTO Go_back
100 ENABLE INTR 7;2
110 SEND 7;UNL LISTEN 5 TALK 18 DATA
120 Idle: GOTO Idle
130 Go_back: S_poll=SPOLL(718)
140 RETURN
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).
Page view 329
1 ... 329 330 331 ... 716

Comments to this Manuals

No comments