LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling the displayed element of an array control programatically

I have three array controls on my front panel. I am only displaying one element on each of the controls. Is there a property node for the index of the controls so I can change all three displayed elements with another numeric control?
0 Kudos
Message 1 of 5
(4,128 Views)
Look for property "IndexVals".
Message 2 of 5
(4,127 Views)

I didn't think to try that property node because it is expecting an array input, not a single numeric input. I tied my single numeric input to a build array and then to the Index Vals and it worked.

Thanks for the help!

Message 3 of 5
(4,120 Views)
It expects an array to support multi-dimensional arrays (multiple indexes).
Message 4 of 5
(4,118 Views)


etd wrote:
I tied my single numeric input to a build array and then to the Index Vals and it worked.
Yes, that's the way to do it. 😄
 

 
Message 5 of 5
(4,116 Views)