6-158
Chapter 6: Programming
Model 801GC, 801GF & 801GX¥Rev. A
RECT
draw a RECTangle
Classification:
Custom image primitive
Command Syntax:
RECT <color> <width> <height> <x> <y> <fill pattern>
Limits:
<color> = available colors
<width> = total number of horizontal pixels
<height> = total number of lines
<x> = positive integer number
<y> = positive integer number
<fill pattern> = available fill paterns
Query Syntax:
None
Description:
Draws a rectangle whose sides are parallel to the vertical and
horizontal axes of displayed video. It uses six (6) parameters.
The first is the color of the line. The next two parameters are
the pixel width and height of the rectangle. The fourth and
fifth parameters are the X and Y coordinates for the top left-
hand corner of the rectangle. The last parameter is the fill.
Other Required Cmds:
The FMTU command instructs the generator to use the new
setting. The ALLU command updates hardware to the new setting
and redraws the test image.
Example:
R E C T g r a y 5 0 1 5 2 0 5 0 4 0 G r a y P a t 5 0
/ / D r a w a 5 0 % g r a y r e c t a n g l e 1 5
/ / p i x e l s w i d e a n d 2 0 p i x e l s h i g h
/ / w i t h t o p l e f t c o r n e r a t X = 5 0 ,
/ / Y = 4 0 F i l l w i t h 5 0 % a c t i v e p i x e l s
A L L U / / U p d a t e h a r d w a r e t o c u r r e n t
/ / b u f f e r c o n t e n t s
SCAL
Self CALibrate
Classification:
Direct processor control
Command Syntax:
SCAL
Query Syntax:
None
Description:
The SCAL command causes generator equipped with self-
calibration circuitry to go through its self-calibration cycle.
Other Required Cmds:
None
Example:
S C A L / / H a v e g e n e r a t o r g o t h r o u g h s e l f
/ / c a l
Summary of Contents for 801GC, 801GF, 801GX
Page 1: ...Owner s and Programmer s Manual Model 801GC 801GF 801GX Portable Video Signal Generators ...
Page 16: ...xiv Table of Contents Models 801GC 801GF 801GX Rev A Notes ...
Page 17: ...1 1 Features Product Overview Chapter 1 Introduction ...
Page 21: ...2 1 Operating Modes Displays Indicators Knobs Switches Buttons Chapter 2 Basic Operation ...
Page 31: ...3 1 Introduction Format charts Chapter 3 Built In Formats ...
Page 39: ...4 1 Description of the test images and how to use them Chapter 4 Built In Images ...
Page 126: ...5 14 Chapter 5 Making Connections Model 801GC 801GF 801GX Rev A Notes ...
Page 304: ...6 178 Chapter 6 Programming Model 801GC 801GF 801GX Rev A Notes ...
Page 305: ...7 1 Power on Computer Interfacing If all else fails Chapter 7 Troubleshooting ...
Page 346: ...A 6 Appendix A Specifications Model 801GC 801GF 801GX Rev A Notes ...
Page 355: ...Notes ...