From the course: Learning LabVIEW

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Arrays

Arrays - LabVIEW Tutorial

From the course: Learning LabVIEW

Start my 1-month free trial

Arrays

- [Instructor] In addition to the basic data types like numerics and Booleans, LavVIEW also has several types of containers for working with multiple data elements together. An arrays is a data container that holds a group of elements that all have the same data type. The array can contain either controls or indicators, but not a mixture of both. The elements in the array are stored in order, and every element has a unique index value which can be used to access it. To understand the concept of an array, I like to use the analogy that an array is like a row of parked cars, because all of the parking spots hold the same type of thing: a car. The spots are indexed with sequential numbers, so you can locate your car along the row. And notice that the number for the first spot here is zero. LabVIEW like many other programming languages uses zero indexed arrays, meaning the first element is at index number zero, then the…

Contents