LabVIEW Arrays Tutorial

Post on 26-Nov-2014

138 Views

Category:

Documents

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

Transcript

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

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.

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.

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.

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.

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

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.

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.

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

top related