ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get two 1d array from a 2d array?

Solved!
Go to solution

Hi, I am new on labview, I am reading data from an arduino thru the serial port. The arduino prints the data in 2 colums, one is the sensor lectures and the second one is the time.

 

So, I have stored the two colums in a 2d array, where I need to extract them into two 1d arrays each one, because I want to use teh sensor and the time data separately.

 

Thank you!

0 Kudos
Message 1 of 3
(7,998 Views)
Solution
Accepted by SercoSteveB

Use index array with one of the indices disconnected. Resize for two outputs.

 

(depending on which index is disconnected, you either get a row or a column, so just try it)

 

FirstTwo.png

Message 2 of 3
(7,983 Views)

Thank you so much!

0 Kudos
Message 3 of 3
(7,892 Views)