Connexions

You are here: Home » Content » Summary, Tips, and Tricks on Arrays
Content Actions
Lenses

What is a lens?

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...
Affiliated with (?)
This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • This module is included in aLens by: National InstrumentsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "A full introductory course on programming with LabVIEW."

    Click the "National Instruments" link to see all content affiliated with them.

    National Instruments
Also in these lenses
  • This module is included inLens: Connexions Books Available for Print on Demand
    By: ConnexionsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "This book is available through the Connexions beta version of print-on-demand from online materials."

    Click the "Printable Books" link to see all content selected in this lens.

    Printable Books
Tags

(?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Summary, Tips, and Tricks on Arrays

Module by: National Instruments

  • Arrays group data elements of the same type. You can build arrays of numeric, Boolean, path, string, waveform, and cluster data types.
  • The array index is zero-based, which means it is in the range 00 to n-1 n 1 , where nn is the number of elements in the array.
  • You must insert an object in the array shell before you use the array on the block diagram. Otherwise, the array terminal appears black with an empty bracket.
  • To create an array control or indicator, select an array on the Controls>>Array & Cluster palette, place it on the front panel, and drag a control or indicator into the array shell.
  • If you wire an array to a For Loop or While Loop input tunnel, you can read and process every element in that array by enabling auto-indexing.
  • Use the Array functions located on the Functions>>All Functions>>Array palette to create and manipulate arrays.
  • By default, LabVIEW enables auto-indexing in For Loops and disables auto-indexing in While Loops.
  • Polymorphism is the ability of a function to adjust to input data of different data structures.

Comments, questions, feedback, criticisms?

Discussion forum

Send feedback