06-07-2013 10:15 AM
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?
06-10-2013 09:23 PM
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
06-13-2013 05:26 AM
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