Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Array Subset

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Returns a portion of array starting at index and containing length elements. When you wire an array to this function, the function resizes automatically to display index inputs for each dimension in the array you wire to array. The connector pane displays the default data types for this polymorphic function.

array can be an n-dimensional array of any type.
index specifies the first element, row, column, or page to include in the portion of array that you want to return. If index is less than 0, the function treats it as 0. If index is greater than or equal to the array size, the function returns an empty array.
length specifies how many elements, rows, columns, or pages to include in the portion of array that you want to return. If index plus length is larger than the size of the array, the function returns only as much data as is available. The default is the length from index to the end of array.
index specifies the first element, row, column, or page to include in the portion of array that you want to return. If index is less than 0, the function treats it as 0. If index is greater than or equal to the array size, the function returns an empty array.
length specifies how many elements, rows, columns, or pages to include in the portion of array that you want to return. If index plus length is larger than the size of the array, the function returns only as much data as is available. The default is the length from index to the end of array.
subarray is of the same type as array.

Resources


 

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