LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 850
Downloads : 2 times
PDF Size : 572.7 KiB

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 2Extensions to LabVIEWLabVIEW LEGO MINDSTORMS NXT Module2-56ni.comNXTDrawRectParameters:This system call method draws a rectangle outline with one corner at the coordinates specified by Location. The Size cluster specifies relative coordinates of the corner opposite from Location.Set the least significant bit of Options to 1 to clear the entire screen before drawing. If you do not set this bit, the method overlays the rectangle on top of any pixels already drawn by the program. The rectangle outline is transparent; the method never modifies pixels inside the rectangle.The first drawing system call method to execute in a program automatically clears the screen regardless of the value of Options.The return value is always zero.ParameterData TypeI/O DirectionDescriptionStatus CodeI8outputUnusedLocationclusterI16 (X)I16 (Y)input-outputCoordinates from lower left of screenSizeclusterI16 (Width)I16 (Height)input-outputDimensions of rectangle, in pixelsOptionsU32inputBitfield of draw options