ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3 D Array

Hello all,
could someone help me out with this ....it is a three D array constant connected to array size function .The function returns a three element array.I dont understand  this result.
I have [1,3,4] I know 3 is for the row and 4 for the column but the 1 where is it from???? Below is the vi in LV 8.

Thanks all.
ohiofudu.
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 1 of 4
(3,081 Views)
Hello ohiofudu,

without seeing your vi ( I and most others here only have LV7.1 [or even less]) I would comment this:
you spoke of a 3D-array. This means an array with 3 dimensions thus the array size function gives you 3 values - one for each dimension.
So [1,3,4] is size in x,y,z dimension, whatever this means in your implementation (possibly page, row, column).

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,074 Views)

I just can double GerdWs post.

But maybe helpful would be the following sentence from LV-help system:

If array is multidimensional, the returned value is a 1D array in which each element is a 32-bit integer representing the number of elements in the corresponding dimension of array.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 3 of 4
(3,066 Views)
Thanks Gerdws and becktho,
I got it... just forgot my Array fundermentals because of how I wanted to implement my Array........Too munch to think about thesedays....Hmmm!!!!!
Thanks once again!!!!Smiley Indifferent


Ohiofudu.
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 4 of 4
(3,059 Views)