Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 6 Arrays & Clusters. LabVIEW Arrays > Collection of Elements > Same Data Type > Variable-Sized > One or More Dimensions.

Similar presentations


Presentation on theme: "Chapter 6 Arrays & Clusters. LabVIEW Arrays > Collection of Elements > Same Data Type > Variable-Sized > One or More Dimensions."— Presentation transcript:

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

5

6

7 Create Arrays with For Loops > Auto-indexing

8

9

10 Array Functions > Array Size > Initialize Array > Build Array > Array Subset > Index Array

11 Array Size Function Returns the number of elements in the input array. Each output element describing a dimension size.

12

13

14 Initialize Array Creates an n-dimensional array with elements containing a specified value. All elements are the same value.

15

16

17 Build Array Assembles multiple arrays or adds scalar elements to an array.

18

19

20

21

22

23 Array Subset > Returns a portion of an array > Starts at Index > Contains “length” elements.

24

25

26

27 Index Array Gives access to an element or sub-array in an array.

28

29

30

31 Polymorphism > Arithmetic functions accept inputs of different dimensions > Outputs will be size of smaller array

32 LabVIEW Clusters > Collection Elements > Different Data Types > Fixed Size

33 Creating Clusters 1. Place Cluster Shell on FP 2. Place Mixed-Type Data Objects Inside Shell

34

35

36

37 Cluster Functions > Bundle Function > Unbundle Function

38

39


Download ppt "Chapter 6 Arrays & Clusters. LabVIEW Arrays > Collection of Elements > Same Data Type > Variable-Sized > One or More Dimensions."

Similar presentations


Ads by Google