DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Appending tdms files problem

Yes, you can. The only reason I used cmd is that it handles large files without me writing additional code for that.

 

Herbert

0 Kudos
Message 11 of 22
(3,041 Views)

Wow, that's awesome! 

I wonder, though: do channels get appended? One better make sure no samples are discarded while switching over to a new file then.

0 Kudos
Message 12 of 22
(3,017 Views)

Channels get appended. For properties that exist in more than one of the files you are merging, the last value in the merged file is going to trump all previous values.

Herbert

0 Kudos
Message 13 of 22
(2,992 Views)
So if you have waveforms in the files, you better read the first t0 and overwrite it in the file after merging. Makes the hack rather less useful.
0 Kudos
Message 14 of 22
(2,967 Views)

Herbert,

            I tried to append my 2 large TDMS files using copy /b command and i was successful to append them (total file size 4 GB) but when i open the file in Data view i can only see data from 1st file.Maybe the channels are not appended.Any suggestions on the issue?

0 Kudos
Message 15 of 22
(2,557 Views)

harsh08,

 

After append (or merge) the 2 TDMS files into 1 TDMS file, before using the file, you need to append (or merge) the 2 .tdms_index file together as well, or just delete the old .tdms_index file.

0 Kudos
Message 16 of 22
(2,555 Views)

I also appended the .TDMS_index files but it is giving me same results

0 Kudos
Message 17 of 22
(2,552 Views)

What about to delete the .tdms_index file? It would create a new .tdms_index file automatically.

0 Kudos
Message 18 of 22
(2,550 Views)

Deleting the new.tdms_index file is also giving the same results.

0 Kudos
Message 19 of 22
(2,524 Views)

OK, maybe the next thing you can try is to defragment the merged new file. If it still doesn't work, I'm wondering whether it's possible to post your old 2 files here or send it to me? I can do more investigation.

 

Thank you.

0 Kudos
Message 20 of 22
(2,514 Views)