LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get data from 2D array?

Solved!
Go to solution

Hello,

i have a 2D array that looks like:

1, 11, 111

2, 22, 222

3, 33, 333

4, 4, 444

 

Using IndexArray[0] gives me 1,11,111

 

What do i have to use to get 1, 2, 3, 4? So always the first/second/X element of each row?

 

Thanks

0 Kudos
Message 1 of 2
(1,943 Views)
Solution
Accepted by topic author OnlyOne

Hi One,

 

read the help for IndexArray function, then wire just the input to select the first column…

 

LabVIEW even tells you the meaning of each input:

 

With more than 1000 posts in this forum you should have known the answer, but anyway: the self-paced online courses are still available for free!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(1,938 Views)