LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

split tdms file created using DAQmXConfigureLogging

I am searching for a solution for the problem described below. If anyone can throw some light and I would be very grateful.
 
I have an application which acquire the analog data from USB-6009 DAQ device and it logs to tdms file using DAQmXConfigureLogging using LogAnd Read Flag. The file created is perfect and I could open the tdms file using the TDMS Excel Plug-in as well as our designed application. However, we want to split the large tdms file into two files.
 
We are using the TDMS functions to read the data values from the file. We understand that TDMS Logging using DAQmX library  stores the data in raw binary format along with the scaling information. While retrieving the data using TDMS_GetDataValuesEx function, it will convert those binary data to double values, which is expected.
 
So, Creating a new TDMS file with TDMS_CreateFile function and Appending the values culled from original tdms files increasing the file size of this new file by four times which seems that TDMS_AppendDataValues function store the data in double data instead of raw binary data.
 
We want you to throw some light on how to create a new tdms file using sub set of data from another tdms file using those binary storage capability of DAQmX data streaming.
 
Regards,
Nageswara Rao.
India
0 Kudos
Message 1 of 1
(4,296 Views)