LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 805
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-32ni.comRotationCountI32NXTOutput: read-onlyNXTOutputMulti: unsupportedOptionalInteractive motors onlyLegal value range: [–2147483648, 2147483647]This read-only property reports the program-relative position counter value for the specified port. Refer to the 38,UpdateFlags section for more information about using program-relative position counts.Set the UPDATE_RESET_ROTATION_COUNT flag in UpdateFlags to request that the NXT firmware resets the RotationCount property.The sign of RotationCount specifies rotation direction. Positive values correspond to forward rotation while negative values correspond to backward rotation. Forward and backward are relative to a standard orientation for a particular type of motor.