LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 818
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-26ni.comRunStateU8NXTOutput: read-writeNXTOutputMulti: write-onlyOptionalLegal Values:This property specifies an auxiliary state to use with Mode, RegMode, and Power on the specified port(s). Set only one of the legal values at a given time.RUN_STATE_RUNNING is the most common setting. Use RUN_STATE_RUNNING to enable power to any output device connected to the specified port(s).RUN_STATE_RAMPUP enables automatic ramping to a new Power set-point that is greater than the current Power set-point. When you use RUN_STATE_RAMPUP in conjunction with appropriate TachoLimit and Power values, the NXT firmware attempts to increase the actual power smoothly to the new Power set-point over the number of degrees specified by TachoLimit.RUN_STATE_RAMPDOWN enables automatic ramping to a new Power set-point that is less than the current Power set-point. When you use RUN_STATE_RAMPDOWN in conjunction with appropriate TachoLimit and Power values, the NXT firmware attempts to smoothly decrease the actual power to the new Power set-point over the number of degrees specified by TachoLimit.ValueEnumDescription0x00RUN_STATE_IDLEDisables power to specified port(s)0x10RUN_STATE_RAMPUPEnables automatic ramp-up to the Power set-point (interactive motors only)0x20RUN_STATE_RUNNINGEnables power to specified port(s) at the Power set-point0x40RUN_STATE_RAMPDOWNEnables automatic ramp-down to the Power set-point (interactive motors only)