There are no direct functions to output a table to a file. You would need to retrieve the table data and save it to a file with the file I/O functions. There are functions for saving the state of an entire panel. If you wanted, you could use the SavePanelState and RecallPanelState functions to save an entire panel's data and attributes to a file.
Also, if this is for report generation, there is a function for inserting a table control directly into a Microsoft Word document in the Word Report instrument driver under cvi\samples\activex\word\wordrpt.fp.
Best Regards,
Chris Matthews
National Instruments