Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Array Functions

LabVIEW 2013 FPGA Module Help

Edition Date: June 2013

Part Number: 371599J-01

»View Product Info

Owning Palette: FPGA Module VIs and Functions

Requires: FPGA Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Array functions to create and manipulate arrays. The LabVIEW FPGA Module supports only one-dimensional arrays that resolve to a single size at compile time.

Note  This palette is specific to FPGA targets and contains a subset of the VIs and functions that are on this palette when you edit a host VI.

Refer to the Array Palette Details topic for information about Timed Loop compatibility, usage, timing, and resource considerations related to the objects on this palette.

Palette ObjectDescription
Array ConstantUse this constant to supply a constant array value to the block diagram.
Array SizeReturns the number of elements in each dimension of array.
Array SubsetReturns a portion of array starting at index and containing length elements.
Array To ClusterConverts a 1D array to a cluster of elements of the same type as the array elements. Right-click the function and select Cluster Size from the shortcut menu to set the number of elements in the cluster.
Build ArrayConcatenates multiple arrays or appends elements to an n-dimensional array.
Cluster To ArrayConverts a cluster of elements of the same data type to a 1D array of elements of the same data type.
Decimate 1D ArrayDivides the elements of array into the output arrays, placing elements into the outputs successively. This function drops any elements that cause the output arrays to have different lengths.
Delete From ArrayDeletes an element or subarray from n-dim array of length elements starting at index. Returns the edited array in array w/ subset deleted and the deleted element or subarray in deleted portion.
Index ArrayReturns the element or subarray of n-dimension array at index.
Initialize ArrayCreates an n-dimensional array in which every element is initialized to the value of element.
Insert Into ArrayInserts an element or subarray into n-dim array at the point you specify in index.
Interleave 1D ArraysInterleaves corresponding elements from the input arrays into a single output array.
Replace Array SubsetReplaces an element or subarray in an array at the point you specify in index.
Reshape ArrayChanges the dimensions of an array according to the values of dimension size 0..m-1.
Reverse 1D ArrayReverses the order of the elements in array, where array is of any type.
Rotate 1D ArrayRotates the elements of array the number of places and in the direction indicated by n.
Split 1D ArrayDivides array at index and returns the two portions with the element of index at the beginning of second subarray.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit