I use the following function to create a TDMS file. I got the error information. What is the problem? I did add the tdms extension name.
TDMS_CreateFileEx ("filePath", TDMS_Streaming2_0, TDMS_ByteOrderLittleEndian, 0, "DAQ Test",
"My TDMS Test execise_1", "Test Result", "", &tdmsFileHandle);