DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I load only 1 common group with 4 channels from 1200 individual tdms files

I have 1200 tdms files each having 1 hour of data logging with 15 groups and 4 channels per group. I need to select just 1 group and display data for all four channels covering the entire time span (1200 files). I am new to DIAdem and not sure how to accomplish this task. Is it possible to create a new tdms file with a single group data from all 1200 channels?

 

 

0 Kudos
Message 1 of 3
(5,382 Views)

Hey ajh,

 

If you are looking to merge the files into a single TDMS file, the best way is through a command line. I would suggest making a copy of the data before trying this:

 

copy /b "C:\temp\merge tdms\test 0.tdms" + "C:\temp\merge tdms\test 1.tdms" + "C:\temp\merge tdms\test 2.tdms" /b "C:\temp\trash\blah.tdms"

 

After that, you can use Record to figure out how to programmatically extract the data so you can display it in DIAdem. This is a good resource that goes over this very useful tool:

 

http://www.ni.com/white-paper/13974/en/

 

Best Regards,

 

-KP

 

Kurt P
Automated Test Software R&D
0 Kudos
Message 2 of 3
(5,350 Views)

Hi ajh,

 

If you do as Kurt suggests, you can then selectively load just the one Group that you want from the huge TDMS sandwich file that has the compiled data from all 1200 original TDMS files.

 

Alternatively, you can load those 1200 Groups from the original TDMS files into the Data Portal and concatenate the channels.  If you have DIAdem 2012, you can use the new example "Evaluation Wizard for the Search Results of the DataFinder" to add a context menu to the NAVIGATOR File Browser and Search Results called "Load Concat Files" which will load and concatenate the selected elements.  It would be easiest to assemble and select 1200 Groups with a DataFinder query.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 3 of 3
(5,322 Views)