LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JB

Index Last Element of Array

Status: New

A new function that indexes the last element of an array would spare some place on the diagram or avoid to use a subVI !

Or the Index Array function might be enhanced (First, specified Index and Last).

 

21748i0E884F1728A1398B

13 Comments
crossrulz
Knight of NI

As long as the "array w/ subset deleted" is left unwired, the Delete From Array will not make a copy of the 2D array.  I can't say for sure about the Transpose 2D Array.  My immediate thought is it won't copy the array, but make a "subarray" which is basically a pointer and increment value.  This is what the Reverse 1D Array does.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
zou
Trusted Enthusiast
Trusted Enthusiast
crossrulz
Knight of NI

@Zou: That does not mean the entire array is copied.  If it is turned into a subarray, only pointers are created (MUCH smaller than the array).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5