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

cancel
Showing results for 
Search instead for 
Did you mean: 

Array Size, As It Should Be

The built-in Array Size function is fine, if you have a 1D array.  But for arrays of more than one dimension, things get clunky.

Drop the attached .xnode on your block diagram.  Wire an array to it, and play with the array's number of dimensions.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 2
(1,706 Views)

The Matrix Size will accept a 2D array and have the breakout between row and column sizes.  I have rarely needed more than 2 dimensions in my arrays.  But I do like where you are trying to take this.


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
0 Kudos
Message 2 of 2
(1,687 Views)