LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically change column index in 2d array

Hi,

 

I have a 2d array on my front panel. I'd like to be able to programmatically move the columns to the left or right (see picture). I cannot figure out how to do that using the IndexVal property of the 2d array. Sorry, it must be simple, but could someone point me in the right direction?

 

Thanks

Jim Haas
Download All
0 Kudos
Message 1 of 2
(2,933 Views)

Look into "Index Values" on the array's property node. Read out current value, increment the right array index (2nd location because based on column), and write it back.

Certified-LabVIEW-Architect_rgb.jpgCertified_TestStand_Architect_rgb.jpg


"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books

Message 2 of 2
(2,921 Views)