LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I dynamicall modify the displayed array size?

Hi everyone,
 
I am wondering how I can dynamically modify the displayed size of an array with a numeric (or anything else, for that matter) in it.  Please note that using NumRows and NumCols does not work because all that does is modify the number of rows and cols in the array, not what is displayed on the screen.  I actually want to change the number of rows and columns displayed on the front panel which has nothing to do with the actual dimensions of the array.
 
Thanks,
 
Jason
0 Kudos
Message 1 of 4
(2,328 Views)
Not sure what you mean here Jason. The displayed array is controlled by the NumRows and NumCols properties. See the attached example. Is this not what you're asking??
0 Kudos
Message 2 of 4
(2,322 Views)

Yes, thanks.  It appears that the NumRows and NumCols property won't automatically add a dimension.

Thanks much,

Jason

0 Kudos
Message 3 of 4
(2,319 Views)
Yup that is right. Those properties are strictly for the display aspects. They don't change the data itself of the control.

Actually, you can't programatically change the dimensions of an array without reshaping or building the array. No property can do that anyway.

Regards
Message 4 of 4
(2,315 Views)