Download presentation
Presentation is loading. Please wait.
Published byNorah Bryan Modified over 8 years ago
1
Chapter 6 Arrays & Clusters
2
LabVIEW Arrays > Collection of Elements > Same Data Type > Variable-Sized > One or More Dimensions
3
Creating Arrays 1. Place Array Shell on FP 2. Place Data Object Inside Shell
4
Adding an Array to the Front Panel From the Controls >> All Controls >> Array and Cluster subpalette, select the Array Shell Drop it on the screen.
6
Adding an Array (cont.) Place data object into shell (i.e. Numeric Control)
10
Create Arrays with For Loops > Auto-indexing
15
Array Functions > Array Size > Initialize Array > Build Array > Array Subset > Index Array > Replace Array Subset
16
Array Size Function Returns the number of elements in the input array. Each output element describing a dimension size.
19
Initialize Array Creates an n-dimensional array with elements containing a specified value. All elements are the same value.
24
Build Array Assembles multiple arrays or adds scalar elements to an array.
25
Array Functions – Build Array
34
Array Subset > Returns a portion of an array > Starts at Index > Contains “length” elements.
42
Index Array Gives access to an element or sub-array in an array.
47
Replace Array Subset Replaces an element or subarray in an array at the point you specify in the index.
51
Polymorphism > Arithmetic functions accept inputs of different dimensions > Outputs will be size of smaller array
52
LabVIEW Clusters > Collection Elements > Different Data Types > Fixed Size > All Controls or all Indicators
53
Creating Clusters 1. Place Cluster Shell on FP 2. Place Mixed-Type Data Objects Inside Shell
54
Creating a Cluster Select a Cluster shell Controls >> All Controls >> Array & Cluster Place objects inside the shell
58
Cluster Functions > Bundle Function > Unbundle Function
59
Bundle Function (Terminal labels reflect data type)
65
Unbundle Function
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.