DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write datas in interleaved mode with TDMS C DLL 2.0?

Solved!
Go to solution

Hello,

 

How to write datas in interleaved mode with TDMS C DLL 2.0?

 

I want to use the DAQmx functions in Visual Studio C++ without Measurment Studio.

This functions returns the datas in interleaved mode.

How can I configure the TDMS C DLL functions to store this datas in the tdms files?

I see it's possible with the tdms version 2.0 not with 1.0.

 

Thanks,

0 Kudos
Message 1 of 5
(4,722 Views)

TDM C Dll does not offer to write interleaved data directly.

It is only possible to append data to single channels.

Internal setup of the tdms file is handled by the dll itself.

 

The only thing that might be usable is the Tdm Header Writer which can be used to write a TDM XML header on top of an existing binary file with known structure.

Be aware that it will only create *.TDM headers.

 

0 Kudos
Message 2 of 5
(4,716 Views)

Okay, so we can not write data directly coming from the DAQmx functions. It must first be de-interleaved data before writing them to disk. Is this correct?

0 Kudos
Message 3 of 5
(4,703 Views)
Solution
Accepted by topic author Norbert_553

- TDM C Dll is not capable to do it

- TDM header writer might be usable for this but is not capable to be used for tdms files.

Message 4 of 5
(4,701 Views)

Thanks a lot

0 Kudos
Message 5 of 5
(4,694 Views)