From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

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

Simpler "Array Size"

Status: New
The venerable Array Size function should just resize itself for the number of dimensions on the input array and have each dimension's size emitted with a separate scalar output.
14 Comments
Hooovahh
Proven Zealot

Old idea I know, but I thought I'd mention this has been done in the form of an XNode which returns a scalar I32 for each dimension.  Of course I almost always am working with 1D or 2D arrays and in those cases the Matrix size, and Array size, work just fine.  

Yamaeda
Proven Zealot

Oh, i've never thought about Matrix Size! That's instantly my new favorite, thanks Hooovah!

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
crossrulz
Knight of NI

For a little more information on Matrix Size...


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
gnzork
Member

Thank you altenbach for redirecting this idea to the appropriate place!  I guess this isn't a new idea, but here's my vision for an "array size" redesign.  It would keep the current output, but then add each dimension size when the function is expanded.  If the function is updated then it could be make to work with an array of any dimension size. 

 Array Size (future).PNG