LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

List files from directory, make into excel spreadsheet?

Hi all,

I need to list all of the filenames from a directory and save the list in spreadsheet format so I can import it into access. I have tried using the LIST method but I can't figure out how to manipulate the list so I can save it the spreadsheet format. Any ideas?

Thanks,

Azazal
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 1 of 3
(2,662 Views)
The trick is to change the 1D array returned by the List vi into a 2D array, and to transpose the array before saving it.
See the attached vi.

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 3
(2,654 Views)
Thanks....worked like a charm
Azazel

Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
0 Kudos
Message 3 of 3
(2,648 Views)