This document describes 12 array blocks that provide different functions for working with arrays. The blocks allow users to determine array size, access element values, replace subsets, initialize new arrays, insert into arrays, delete from arrays, view subsets, find max/min values, reshape arrays, and transpose 2D arrays. Each block performs a specific operation to manipulate or view data within arrays.
Download as PPT, PDF, TXT or read online on Scribd
100%(1)100% found this document useful (1 vote)
2K views
LabVIEW Arrays Tutorial
This document describes 12 array blocks that provide different functions for working with arrays. The blocks allow users to determine array size, access element values, replace subsets, initialize new arrays, insert into arrays, delete from arrays, view subsets, find max/min values, reshape arrays, and transpose 2D arrays. Each block performs a specific operation to manipulate or view data within arrays.
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10
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, This block, Insert Into Array, creates an array of one allows the user to insert a number or variable and allows new array into another, the user to specify the size of already existing array, at a this array. 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.