LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

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

Summary of Contents

LabVIEW LEGO MINDSTORMS NXT Module Programming Guide Manual

  • Chapter 1Introduction© National Instruments Corporation1-5LabVIEW LEGO MINDSTORMS NXT ModuleThe same principle is true for custom controls, type definitions, and block diagram constants. As long as the NXT firmware supports the data type of the wire connected to a particular block diagram terminal, you can use any style or type definition.Sequence Flow Boolean ControlsThe module provides a special kind of Boolean control, Sequence Flow. Use the following tips when working with the Sequence Flow control:•The module identifies Sequence Flow controls by name. If the name of your Boolean control or indicator begins with Sequence Flow, the module compiler classifies that control or indicator as a Sequence Flow control. •The module classifies wires connected to Sequence Flow controls as Sequence Flow wires. These wires are directly analogous to the white LEGO TECHNIC beams on NXT-G diagrams.•No Sequence Flow controls, indicators, or wires generate corresponding data space items in the compiled NXT program.NXT Refnum ControlsThe module provides some special classes of generic refnum controls in order to expose NXT-specific features.Refer to Chapter 2, 18,Extensions to LabVIEW, for specific information on how to use each new class of refnum. Use the following tips when working with the NXT refnums:•The module identifies NXT refnum controls by name. If the name of your generic refnum control or indicator begins with Generic Refnum Name, the module compiler classifies that control or indicator as an NXT refnum.•NXT refnum controls, indicators, or wires do not generate corresponding data space items in the compiled NXT program. NXT refnum controls enable you to access the new properties and methods that the module provides.•Only wire these controls directly to the reference inputs of Property and Invoke Nodes. Do not assign NXT refnum controls to subVI connector pane terminals.