The Storage VIs work based on a caching component, similar to an XML engine. They always read the file into memory, work with it in memory and save it back to disk, thereby replacing the original file.
Whether or not data from the original file is overwritten or preserved depends on the settings in the "Open Storage" VI (create or replace / open or create / open / etc.).
Several ways of appending to an existing TDM file are supported:
- Append values to existing data channels
- Replace values of existing data channels
- Add channels to existing channel groups
- Create new channel groups with new channels
If you intend to always create a new file, reading data from all your TDM files requires a recursive loop over your directories. DevZone provid
es some VIs that can help you with that.