Agilent Technologies 4294A Service Manual Page 152

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 151
152 Chapter 11
Using HP Instrument BASIC
Displaying Graphics
Displaying Graphics
You can draw graphics on the screen of the 4294A by use of HP Instrument BASIC.
the 4294A has two screens, that is, the instrument screen and the graphics screen. These
screens are both always displayed on the LCD, and you cannot choose either of them to
display. The instrument screen is made up of the area for displaying traces and the area for
displaying softkey labels. The Instrument BASIC editor is also displayed in the area for
displaying traces. The graphics screen covers the whole instrument screen as shown in
Figure 11-1. The graphics screen allows what are displayed on the instrument screen to
pass through as a transparent sheet, so you can draw graphics independently anywhere in
the area for displaying traces and the area for displaying softkeys.
Figure 11-1 The screen makeup of the Agilent 4294A
A point on the graphic screen can be specified by the coordinates shown in Figure 11-1.
The lower left corner of the screen corresponds to the origin (0, 0) and the upper right
corner of the screen corresponds to the point (590, 421). You give these coordinates to the
parameters in the MOVE and DRAW statements.
Graphics commands of Instrument BASIC
The 4294A HP Instrument BASIC offers three graphics-related commands; MOVE,
DRAW, and GCLEAR.
MOVE Moves the pen from the current pen position to the point specified by
the coordinates given as a parameter.
DRAW Draws a straight line from the current pen position to the point
specified by the given coordinates.
GCLEAR Clears the graphics screen, and moves the pen to the origin.
NOTE After initializing the graphics screen by use of GCLEAR, you can execute the MOVE
command and the DRAW command up to 1998 times. Even if you execute the MOVE
command and the DRAW command after that, nothing will be drawn.
Page view 151
1 2 ... 147 148 149 150 151 152 153 154 155 156 157 ... 517 518

Comments to this Manuals

No comments