Group data elements of the same type.
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.
To locate a particular element in an array, you must use indexes. Each dimension in the array has an index. Indexes let you navigate through an array and retrieve elements, rows, columns, and pages from an array on the diagram.
Specify Dimensions on the Item tab to define the dimension or size of the array.
You can use the Build Array node or a loop to build an array programmatically.
An example of a simple array is a 1D text array that lists the eight planets of our solar system in order.
Array elements are ordered. An array uses an index so you can readily access any particular element. The index is zero-based, which means it is in the range 0 to n - 1, where n is the number of elements in the array. For example, n = 8 for the eight planets, so the index ranges from 0 to 7. Earth is the third planet, so it has an index of 2.