ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DT_DATE Datatype from TDM C DLL

Hello,

 

for reading a TDMS File I use the TDM C DLL Interface provided by National.

The example code works pretty good. I just have a problem with a time channel that is stored in the format DT_DATE.

 

Does someone know which data typ I have to use in C/C++ that I'm also able to read the data from a time channel.

 

extract from the sample code:

 

double   *data = 0, avgDataValue;
...
ddcChk (DDC_GetDataValues (channels[i], 0, (double)numDataValues, data));

 

thanks for the help

0 Kudos
Message 1 of 2
(5,963 Views)

PLease check the

DDC_GetDataValuesTimestampComponents

 in the help file.

0 Kudos
Message 2 of 2
(5,956 Views)