This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Map Input Size

Solved!
Go to solution

Hi, I am wondering how I can reduce the Map input shown below. I can successfully increase the size of it but I cannot find the way of reducing its size (number of Rows and Columns) . Thanks in advance.

Download All
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 7
(3,743 Views)

Hi Roberto,

 

how I can reduce the Map input shown below.

Reduce in which way?

To show less elements on the frontpanel you can grab the array border and make the array indicator smaller. This only reduces the visible area of the array…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 2 of 7
(3,735 Views)

if i assume correctly you have a 2D-array-control, use a property node and set "NumCols" and "NumRows", that changes the displayed 2d-array

change-size.png


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 7
(3,731 Views)

hi, yes I tried that way but I want to reduce the actual area of the array. For example if the original array is 50x50 I would like it to be 40x40. If I do what you just said I will be able to see a smaller array but it is still 50x50.

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 4 of 7
(3,728 Views)

see the last frame of my snippet, the function's name is "Reshape Array"


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 5 of 7
(3,725 Views)

Hi,

 

I would use ArraySubset to get a subset of the current array data…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 6 of 7
(3,705 Views)

gerdw is right, if you want to have like the "middle portion", the "reshape array" will not give you that


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 7 of 7
(3,702 Views)