Chapter 2Extensions to LabVIEWLabVIEW LEGO MINDSTORMS NXT Module2-18ni.comUse the following tips when working with the Port and PortList properties:•Every NXTOutput or NXTOutputMulti Property Node must include one and only one Port of the PortList property, respectively.•For a given Property Node, the value(s) on the wire connected to Port/PortList specify the physical output port to which all other properties apply.NoteGiven the special nature of Port/PortList, National Instruments recommends always specifying Port/PortList as the top property in each NXTOutput/NXTOutputMulti node. This coding convention enhances code clarity.With the exception of Port/PortList, each property corresponds to a write or read of the associated field in the output module of the NXT firmware. All write operations are guaranteed to execute before all read operations, and all operations execute in the order they occur on the Property Node, from top to bottom. Furthermore, the module compiler combines all write operations in each Property Node into a single bytecode instruction, such that all write operations in a Property Node occur simultaneously.Some property write operations also require an additional step to commit a new value to the internal configuration data of the NXT firmware. You must also set the appropriate bit on the UpdateFlags property. The flags are defined in the description of the UpdateFlags property and the descriptions of properties that require flags to be set specify which flags are applicable.