LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

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

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 1IntroductionLabVIEW LEGO MINDSTORMS NXT Module1-4ni.comLabVIEW BasicsData TypesThe module only supports a limited subset of the data types that LabVIEW supports. Supported Data TypesThe module supports the following data types:•8-bit signed and unsigned integer numerics •16-bit signed and unsigned integer numerics •32-bit signed and unsigned integer numerics •Booleans•Strings•Arrays containing integers, Booleans, strings, or clusters–Only one-dimensional (1D) arrays are supported•Clusters containing integers, Booleans, strings, 1D arrays, or other clusters•Single-precision floating point numbersUnsupported Data TypesThe module does not support any data types not listed above. The following list includes some examples of unsupported data types: •Enumerations•Arrays of two or more dimensions (including tables)•Reference numbers (refnums) of any type other than those the module provides•Paths•Waveform, digital waveform, or digital data tables•Variant or ActiveX dataControls, Indicators, and ConstantsWhen you compile and download VIs to an NXT brick, the layout and appearance of their front panels do not directly influence the compiled code. Thus, you can use any front panel control or indicator style as long as the NXT firmware supports the data type. For example, you can use numeric ring, slide, knob, chart, and graph controls and indicators as long as they do not rely on multi-dimensional arrays.