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: 

array manipulations...

Hi
I would like some help with array manipulation
I have multiple  files (1000 text files) with 5 columns each and 20,000 rows. The first row of each file has a header that labels the columns.
 
I would like to be able to read each of these files, pull out colum 3 from each file and then build these into a new 2D array. It would be nice if they also had their corresponding header labels. So then I would end up with the new 2D array containing 1,000 columns (corresponding to column 3 of each of my 1000 files) with 20,000 rows plus a first row with the header labels.
 
I would also like the option to in future select column 2 for example, or column 5; plus I would also like the functionality to allow me to perhasp pull out more than one colum, e.g. colum 2 and 3, before we build the new array.
 
I hope I made some sense and that someone can help. Thanks you
0 Kudos
Message 1 of 4
(3,154 Views)
0 Kudos
Message 2 of 4
(3,134 Views)
Dave:
 
You made a loop with the links for the cross postsvery-happy smiley
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 4
(3,110 Views)

Oh nuts!  Smiley Mad

While I was trying link those posts to give a heads up to the forum I had a sinking feeling that I was going to get it all wrong.

I need to be more mindful of my feelings .... Smiley Tongue

cheers

David

0 Kudos
Message 4 of 4
(3,075 Views)