LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual
Pages 97
Views 762
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-9LabVIEW LEGO MINDSTORMS NXT ModuleScaledU16Read-writeOptionalLegal value range depends on SensorMode, as listed in the following table:This property specifies a sensor reading, scaled according to the current sensor type and mode on this port.You should read the Scaled property in conjunction with the InvalidData property. The Scaled value is only valid if InvalidData is FALSE.Because some combinations of sensor types and modes might lead to accumulation of count values in the Scaled value field, you can reset this count by writing zero to the Scaled property at any time. Note that you can write any value to this property at any time, but doing so is not generally very useful because outside of counter modes, the value is usually overwritten very quickly.ModeValue RangeRAWMODE[0, 1023]BOOLEANMODE[0, 1]TRANSITIONCNTMODE[0, 65535]PERIODCOUNTERMODE[0, 65535]PCTFULLSCALEMODE[0, 100]CELSIUSMODE[–200, 700] (readings in 10th of a degree Celsius)FAHRENHEITMODE[–400, 1580] (readings in 10th of a degree Fahrenheit)ANGLESTEPMODE[0, 65535]