I'm having a lot of trouble with the TDMS C DLL. It often misreports channels and channel properties of type DT_DATE as DT_DOUBLE. I am then unable to read them using DDC_GetChannelPropertyTimestampComponents().
It seems any files I have written to using DiAdem 2014 will show channel data type as DDC_Double even though it's reported correctly in the TDMS File Viewer (LV2014SP1). Additionally, the DDC_CHANNEL_MINIMUM/DDC_CHANNEL_MAXIMUM properties are data type of DDC_Double even on channels that do correctly show a type of DDC_Timestamp.
Attempting to read a channel or channel property that is incorrectly reporting its datatype results in a -6227 error code (type mismatch).
What can I do to fix this issue?
Thanks!