LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best method for writing Multicolumn List data to a text file?

I am trying to find the best method for writing the data from a multicolumn list to a text file. Say the list has 7 rows and 6 columns of data. I would like the final file to have the data resemble the Multicolumn List as closely as possible with or without column headers. A sample VI showing how to accomplish this would be greatly appreciated. I realize this is pretty basic stuff, but I can get the output to the file, but it comes out with duplicate data and I am on a time crunch hense my request for help.
 
Thank You,
Charlie
Everything is Free! Until you have to pay for it.
0 Kudos
Message 1 of 5
(2,659 Views)

You just have to use the ColHdrString and ItemNames properties. Use the build array on the two and you have a 2D string array that can be wired to the Write To Spreadsheet File. With 8.2, you have the options of writing string data. With earlier versions, there are directions on the block diagram on how to change it. If you change it, be sure to save in a new location and with a new name.

Message Edited by Dennis Knutson on 04-23-2007 12:53 PM

Message Edited by Dennis Knutson on 04-23-2007 12:54 PM

Message 2 of 5
(2,652 Views)
Hello,

I think that the answer to your question it's on the example that I've made right now.

See the attached files....
Software developer
www.mcm-electronics.com





PORTUGAL
Download All
Message 3 of 5
(2,645 Views)

I knew it would be something simple! Thank You for you quick response and assistance!

 

Thanks,

Charlie

Everything is Free! Until you have to pay for it.
0 Kudos
Message 4 of 5
(2,631 Views)

I knew it would be something simple! Thank You for you quick response and assistance!

Thanks,

Charlie

Everything is Free! Until you have to pay for it.
0 Kudos
Message 5 of 5
(2,629 Views)