LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Making a table of XML information stored in .tdm files

Since .TDM files are created on each save instead of appending the data to an existing file, each experiment saved creates new or replaces .tdm and .tdx files. Is it possible to make a table compiling all the text information in the .tdm files within a folder and subfolders?
0 Kudos
Message 1 of 2
(2,319 Views)
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.
0 Kudos
Message 2 of 2
(2,319 Views)