Save all waves in experiment?

I would like to export all waves in an Igor experiment to a text format like tab-delmited or CSV. To do this I would write a routine that goes through each datafolder, saves all waves within it, and then searches for the next subfolder and repeats the process. A nicer option would be to save everything, including variables and strings, similar to the Unpacked Experiment format, but in text form. This would be for archiving purposes.

If anyone has a utility already written for either of purposes and wants to share it, I would very much appreciate it.

Pietro
Quote:
This would be for archiving purposes.


You might consider using HDF5.

Execute
DisplayHelpTopic "HDF5SaveGroup"

Look at the TestSaveGroup example. If you execute:
TestSaveGroup(root:)
it saves all data in the current experiment in a single HDF5 file.

For background information on HDF5 and for installation instructions, execute:
DisplayHelpTopic "HDF5XOP"


I can only second Howard's comment. HDF5 is a very nice format for storing arbitrary data. It has good support in igor, the format itself is standardized and you can later open it with nearly every other programming language. It can also compress the data so you save some disc space.
Sorry for my delayed reply. I was under the impression that I was getting daily digests of the posts in this forum through the Igor mailing list.

Thank you both for suggesting hdf5. I only recently learned about this format and so far I had been focused on reading files in hdf5. It had not occurred to me that Igor might be able to save in this format too. It's exactly what I wanted!

Pietro