LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 833
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-54ni.comNXTDrawLineParameters:This system call method draws a black line one pixel wide, from StartLocation to EndLocation.All draw coordinates are relative to the lower left corner of the screen on the NXT brick.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 line on top of any pixels already drawn by the program.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.ParameterDate CodeI/O DirectionDescriptionStatus I8outputUnusedStartLocationclusterI16 (X)I16 (Y)input-outputCoordinates from lower left of screenEndLocationclusterI16 (X)I16 (Y)input-outputCoordinates from lower left of screenOptionsU32inputBitfield of draw options