LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Join files in sequence

I have around 12 TDMS files for each set of experiments. Each files builds on the previous in terms of wear. So i need to join all these 12 files in proper sequence so that when I need to run a script I dont run it on 12 individual files and then join them later.

 

Is there a way this can be done?

0 Kudos
Message 1 of 13
(3,203 Views)

Hi hmurya,

 

read those 12 files one after the other and save them all into a 13th file…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 13
(3,151 Views)

I did that. But it still saves as 12 different channels within a file so when I run a script in Diadem it runs on a single channel. I want it all to be one whole file. Unless I am doing something wrong 😕

0 Kudos
Message 3 of 13
(3,090 Views)

Hi hmurya,

 

But it still saves as 12 different channels within a file … Unless I am doing something wrong

That's probably the problem: you are doing something wrong - by not attaching your VI…

You might attach your VI so we could troubleshoot it!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 13
(3,087 Views)

I was given no VI. just a big bunch of tdms files

0 Kudos
Message 5 of 13
(3,084 Views)

Hi hmurya,

 

you wrote:

I did that. But it still saves as 12 different channels within a file

So I guess you created some kind of VI to actually do "I did this"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 13
(3,075 Views)

Read all  the TDMS Files and write them in different TDMS File, post the code which you have tried.

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 7 of 13
(3,074 Views)

Ok so I am a bit lost. I have attached two tdms files as examples. How would i go about joining them and not having the other smaller valued channels?

Download All
0 Kudos
Message 8 of 13
(3,052 Views)

Hi hmurya,

 

the TDMS File monitor shows this:

check.png

You need to load just the first signal (first group, first and only signal in group) of each file and save it to a new TDMS file:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 13
(3,044 Views)

how did you load that into LabView?

0 Kudos
Message 10 of 13
(3,026 Views)