LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

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

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 2Extensions to LabVIEW© National Instruments Corporation2-53LabVIEW LEGO MINDSTORMS NXT ModuleNXTDrawPointParameters:This system call method draws a single, black pixel at the coordinates that Location specifies.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 point 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.ParameterData CodeI/O DirectionDescriptionStatus CodeI8outputUnusedLocationclusterI16 (X)I16 (Y)inputCoordinates from lower left of screenOptionsU32inputBitfield of draw options