labview arrays tutorial

10

Upload: maximious

Post on 26-Nov-2014

142 views

Category:

Documents


3 download

DESCRIPTION

A tutorial on the use of and types of arrays in LabVIEW

TRANSCRIPT

Page 1: LabVIEW Arrays Tutorial
Page 2: LabVIEW Arrays Tutorial

This block, Array Size, tell the user the size of an input array, in the number of columns and rows within the array.

Page 3: LabVIEW Arrays Tutorial

This block, Index Array, Tell the user the value of an element, or variable, in an array at a specific place, designated by the user’s coordinates.

Page 4: LabVIEW Arrays Tutorial

This block, Replace Array Subset, allows the user to insert a new number or element at a specified location inside of an already existing array.

Page 5: LabVIEW Arrays Tutorial

This block, Initialize Array, creates an array of one number or variable and allows the user to specify the size of this array.

This block, Insert Into Array, allows the user to insert a new array into another, already existing array, at a location specified by the user.

Page 6: LabVIEW Arrays Tutorial

This block, Delete From Array, allows the user to delete one element, or an array of elements, from an already existing array at a specified point. It then gives the user both the previous array without the deleted area and the deleted array or element.

Page 7: LabVIEW Arrays Tutorial

This block, Array Subset, shows the user a portion of an already existing array within a specified area of that array.

Page 8: LabVIEW Arrays Tutorial

This block, Array Max & Min, shows the user the maximum and minimum values within an array as well as the location of these values within the array.

Page 9: LabVIEW Arrays Tutorial

This block, Reshape Array, allows the user to change the dimensions of an already existing array. The values that are deleted because of this dimension change, as well as any new cells within the array are automatically set to 0.

Page 10: LabVIEW Arrays Tutorial

This block, Transpose 2D Array, takes an already existing array and swaps the (x,y) coordinates of each cell within the array.