I recently got the TDM C dll downloaded from NI and tested the sample readfile.c. I tried it with a TDM file and it seemed to work fine. The documentation said that the DLL works for TDM and TDMS format, but when I tried the readfile.c for a TDMS file, it did not work. It gave me the following error.
File name property: P step at supply 6k to 26k @300lpm_04182007_1743-(0)
Channelgroup #1 name property: Virtual Inputs
Error: An invalid argument was passed to the library.
End of program, press Enter key to quit
Can anybody point me in the right direction to read the TDMS files.