Chapter 6 Arrays & Clusters
LabVIEW Arrays > Collection of Elements > Same Data Type > Variable-Sized > One or More Dimensions
Creating Arrays 1. Place Array Shell on FP 2. Place Data Object Inside Shell
Create Arrays with For Loops > Auto-indexing
Array Functions > Array Size > Initialize Array > Build Array > Array Subset > Index Array
Array Size Function Returns the number of elements in the input array. Each output element describing a dimension size.
Initialize Array Creates an n-dimensional array with elements containing a specified value. All elements are the same value.
Build Array Assembles multiple arrays or adds scalar elements to an array.
Array Subset > Returns a portion of an array > Starts at Index > Contains “length” elements.
Index Array Gives access to an element or sub-array in an array.
Polymorphism > Arithmetic functions accept inputs of different dimensions > Outputs will be size of smaller array
LabVIEW Clusters > Collection Elements > Different Data Types > Fixed Size
Creating Clusters 1. Place Cluster Shell on FP 2. Place Mixed-Type Data Objects Inside Shell
Cluster Functions > Bundle Function > Unbundle Function