Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

Group data elements of the same type.

What is an array?

An array consists of elements and dimensions. Elements are the data that make up the array. A dimension is the length, height, or depth of an array. An array can have one to 32 dimensions and as many as (2 31) - 1 elements per dimension, memory permitting. You can build arrays of numeric, Boolean, path, string, waveform, and cluster data types. Input arrays are classified as controls by default and allow users to input data into the control. Output arrays are classified as indicators by default and display data on the panel.

When should I use an array?

Consider using arrays when you work with a collection of similar data and when you perform repetitive computations. Arrays are ideal for storing data you collect from waveforms or data generated in loops, where each iteration of a loop produces one element of the array.

How do I find an array element?

To locate a particular element in an array, you must use indexes. Each dimension in the array has an index. In LabVIEW, indexes let you navigate through an array and retrieve elements, rows, columns, and pages from an array on the diagram.


Array indexes in LabVIEW are zero-based. The index of the first element in the array, regardless of its dimension, is zero.

How do I create a multidimensional array?

Use the Dimension and Size ribbon item to define the dimension or size of the array.

How do I manipulate array data?

On the diagram, use the array nodes to manipulate data. Some of the tasks you can complete with the array nodes include:
  • Extracting individual data elements from an array.
  • Inserting, deleting, or replacing data elements in an array.
  • Splitting arrays.

You can use the Build Array node or a loop to build an array programmatically.