From the course: Learning LabVIEW

Unlock the full course today

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

Clusters

Clusters - LabVIEW Tutorial

From the course: Learning LabVIEW

Start my 1-month free trial

Clusters

- [Instructor] Clusters are another type of LabVIEW data structure that can be used to group multiple elements. However, unlike arrays, which require all of the elements to be the same data type, clusters can hold a mixture of different types of items. Going back to our car analogy, the row of parked cars is like an array because every spot holds the same type of thing, a car. A cluster is like the glove box in one of those cars. It might contain a flashlight, and a tire pressure gauge, the owner's manual and well, maybe even a pair of gloves. These are all very different types of things but they're all related to each other. They're tools for operating and maintaining the automobile so we cluster them together in the glove box. While the elements in a LabVIEW cluster are technically ordered, their order relative to each other is typically not the focus like it is with array data. For example, when an array is…

Contents